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?
The Post-purchase Popup is a popup that appears immediately after customers make a purchase and checkout. Customers will be asked if they want to sign up and join your referral program. After successfully submitting their details, customers will be enrolled into your referral program and can start referring friends.
Using segments as your target audience? Anyone who signs up via widgets gets automatically enrolled into your referral program even if they don’t meet the segment criteria. Learn more here.
To enable the Post-Purchase Popup after Email Integration:
Go to your Widgets page.
Go to the "Post-Purchase Popup" section.
In the section, click the arrow in the "Add Code Snippet" row.
Click "Copy" in the box that drops down after the arrow is clicked.
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 post-purchase popup.
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.