Help Center

Show a post purchase popup to my customers

Last Updated: Dec 18, 2018

Before Starting:

This article is for the post purchase popup that works with Email Integration. If you are using JavaScript Integration, check out this article: JavaScript Integration with Post Purchase Popup​.

Make sure that your store provides you with dynamic checkout variables, which are required for this widget to work.

What is a Post Purchase Popup Widget?

The Post Purchase Popup Widget is a ReferralCandy Portal Sharing Panel that appears as an overlay right after your customers make a purchase at your store:

Post purchase popup widget - ReferralCandy

(The popup above has been produced with our new template system. If you are using the old template system and want to upgrade for free, please contact support.)

To enable the Post Purchase Popup Widget after Email Integration:

Post purchase popup widget script - ReferralCandy
  1. Go to your  Widgets page.

  2. Go to the "Post-Purchase Popup" section.

  3. In the section, click the arrow in the "Add Code Snippet" row.

  4. Click "Copy" in the box that drops down after the arrow is clicked.  
  5. Edit the data-attributes* in the HTML/Javascript snippet to include dynamic checkout variables for the customer. (The snippet is pre-filled with dummy values and you need to replace them with the dynamic checkout variables)

  6. Insert the updated snippet into the purchase completed page just before the HTML </body> tag. For some platforms there may be a ​box for you to insert scripts that you want to run on the "Thank You" or purchase completed page of the checkout process

Do note that your referral campaign must be active in order for the Post-Purchase Popup to appear. 

Obtain Consent to Marketing Emails

You should always obtain consent from your customers before enrolling them into your referral program. We recommend including a form input, unchecked by default, that says "I consent to receiving notifications about your referral program".

By default, ReferralCandy entrusts you to obtain marketing consent from your customers, and all your customers who see the Post-Purchase Popup will be subscribed to emails about your referral program.

To prevent customers who have not consented to marketing from being subscribed to emails about your referral program, please contact ReferralCandy support to enable this feature. As part of this process, you will require a developer to set the data field 'data-accepts-marketing' in the Post-Purchase Popup HTML snippet.

Still have questions? Contact us.

Have other questions? Contact us.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found