All Collections
Store Integration
Email, JavaScript and API Integrations
Email Integration and API Integration: Adding the referral tracking code
Email Integration and API Integration: Adding the referral tracking code

How to add the referral tracking code to the purchase completed page

Caye Arahan avatar
Written by Caye Arahan
Updated over a week ago

If you choose to connect your store using Email integration or API integration, adding the referral tracking code is one of the two necessary steps.

For the complete guides on integration, please refer to our Setup page.


How the referral tracking code works

The tracking code helps ReferralCandy detect successful referrals from your store. It should be added to the page that customers go to right after they complete payment for their purchase at your store.

This is sometimes called the 'thank you' page. You should insert the code just before the HTML </body> tag on that page. Here's an example of the 'thank you' or the purchase completed page:

Where to find your referral tracking code

You can find your referral tracking code on the Integrations page of your ReferralCandy dashboard when you choose either Email Integration or API Integration as your connection type.


๐Ÿ’ฌ Need help? Click the chat widget on the right to start a conversation. Learn more


Did this answer your question?