I've added all the code properly, but redirect popup does not appear. Why?

In some cases it may happen due to custom structure of your theme, or some conflicts with 3rd party apps. But the most common issue, is that Redirect JS code was added ABOVE the jQuery inclusion. 

So if your popup does not work, the first thing you should check, is go to your theme.liquid, search for "jquery", and you'll get strings like:

{{ 'jquery-1.11.1.min.js' | asset_url | script_tag }}


<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

And make sure your app JS inclusion line is located BELOW the jquery inclusion:

{{ 'redirect.js' | asset_url | script_tag }}

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk