How do I add a post-purchase pop up containing my referral program to my non-Shopify Thank You page?

Modified on Wed, 28 Jun, 2023 at 5:45 AM

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 help@shopcircle.co.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article