Email Integration and API integration: Add the referral tracking code

When do I need to add the referral tracking code to my store?

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

For Email integration, the other step is to Forward / BCC ReferralCandy on the Invoice Email.
For API integration, the other step is to Forward purchases using ReferralCandy API


Why do I need to add a referral tracking code into the purchase completed page?

The tracking code helps ReferralCandy detect successful referrals from your store. 


Which page do I add the referral tracking code in and where?

It should be add into 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' page or the purchase completed page:

Where do I find my referral tracking code to add?

You can find your referral tracking code on the integrations page of your ReferralCandy dashboard.

 When you choose your connection type as Email or API, under the second step "Add ReferralCandy to your online store", you will find the referral tracking code.


Jason is the author of this solution article.

Did you find it helpful? Yes No

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