How do I add a post-purchase pop up containing my referral program to my non-Shopify Thank You page?
When you create a post-purchase pop-up campaign in Conjured Referrals, the referral pop-up will only show up on Shopify's checkout.
To add a post-purchase pop up to your non-Shopify "Thank You" page (for example, if you're using ReCharge), you'll need to add the following code to your non-Shopify "Thank You" page:
<script type="text/javascript">// <![CDATA[ (function(){ var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.async=1; script.src='https://conjured.co/shopify/referral/thanks.js?shop=XXXX.myshopify.com'; head.appendChild(script); })(); // ]]></script>
Be sure to replace the "XXXX" with your Shopify URL. As always, if you have any trouble with implementation, shoot us an email at support@shopcircle.co.