Help Center

Javascript Integration with Post Purchase Popup

Last Updated: Sep 24, 2018

Before Starting:

This article is for the post purchase popup that works with Javascript Integration. If you are using Email Integration check out the Post Purchase Popup Widget.

Javascript Integration with Post Purchase Popup

  1. Follow the same steps as Javascript Integration*.
  2. Check the box that says "Show Post Purchase Popup" under Javascript Integration on your ReferralCandy Integration page.
  3. That's it!

* If you only want to enrol customers who have consented to marketing in the referral program, you need to let us know whether they have consented. You can do this by populating the 'data-accepts-marketing' field when the script is loaded. If 'data-accepts-marketing' is set to false, the customer will still be shown the post-purchase popup, but they will be unsubscribed by default. Only if they click 'Share Invite Link' will they be subscribed to receive emails from your referral program. If 'data-accepts-marketing' is set to true, the customer will be shown the post-purchase popup and subscribed by default. Only if the customer clicks 'No Thanks' will they be unsubscribed from your referral program emails.

The Post purchase popup should look like this:

Post-purchase popup for ReferralCandy

Still have questions? Contact us.

Have other questions? Contact us.

support@referralcandy.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete