ReferralCandy

Before Starting:

This article is for the post-purchase popup that works with Email Integration or API 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:



(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:


  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

Note: 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 in your referral program. We recommend including a form input, unchecked by default, that says "I consent to receive notifications about your referral program".


If your customer consented to receiving updates on the referral program, your customer will receive a referral email after purchase regardless of how they interact with the PPPW.


If your customer did not consent to receiving updates on the referral program, your customer will only receive a referral email if they clicked on "Share Invite Link" in the Post-Purchase Popup


To prevent customers who have not consented to receive marketing emails 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.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.