Using passbacks when widget is empty

Joakim Updated by Joakim

How to add a Passback URL

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

strossle('1a35c997-91b6-4bf9-8458-e28ab26c0f4f', '.strossle-widget', {
passbackUrl: ''
<script async src=""></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)