Using passbacks when widget is empty

How to add a Passback URL

Include the Passback URL as a setting to the widget configuration.

<script>
window.strossle=window.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)};
strossle('1a35c997-91b6-4bf9-8458-e28ab26c0f4f', '.strossle-widget', {
passbackUrl: 'https://domain-to-passback.com/passback.js'
});
</script>
<script async src="https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"></script>
<div class="strossle-widget"></div>

How does it work

A Passback URL is a URL to a Javascript that will be loaded when the widget has no recommendations to display.

The widget will create a <script> tag just below itself with the passbackUrl as the src property.

How did we do?

Customizing your widgets using Additional CSS

Disable device storage (localstorage, cookies)

Contact