If you don't want to rely on Upsell Wizard's triggers or want to add additional triggers and funnels to a page, you can open any funnel you'd like using JavaScript in your theme's code.

Getting the UUID

In order to open a funnel, you'll need its unique identifier. To find this, open the funnel in Upsell Wizard and find the long string of numbers, letters and dashes in the URL. It will look something like this:

Creating the Trigger

Once you have the UUID, you can use the function launchUWFunnel() from within your theme like this:

<a href='javascript:void(0);' onClick="launchUWFunnel('197d9091-2e89-4285-bd1d-417bc8096e92');">Launch Funnel</a>

That would create a link to launch the funnel.

Launch on page load

You can also use this code in your theme to launch the widget when a page loads (say the cart page)

<script>
window.addEventListener('load', function() {
setTimeout(function(){ launchUWFunnel('Your-Widget-ID-Here'); },500);
});
</script>

These options may require the help of a theme developer to implement.

Related Articles:

Please let us know if you have any questions. We're happy to help!

The Upsell Wizard Team

Did this answer your question?