This article applies if your store connects to ReferralCandy through the Email connection type — used when your platform doesn't have a dedicated ReferralCandy app or integration guide. Not sure which path is yours? See Integration overview.
Email integration is the simplest way to connect your store to ReferralCandy, and it's the connection type the dashboard recommends if you don't have coding experience. It works in two parts: your store BCCs (or forwards) each invoice email to your unique ReferralCandy address — so every purchase reaches ReferralCandy — and a small tracking code on your purchase completed page lets ReferralCandy detect which purchases came from referrals.
Set up email integration
To set up email integration, open your ReferralCandy dashboard, go to Integrations → Standalone, and make sure Email is your selected connection type. The page then walks you through the two setup steps:
BCC or forward your invoice emails to your unique ReferralCandy address. The address is shown on that page in the format
invoices@xxxxxxxxxx.referralcandy.com, with a Copy button. Each invoice needs to include the customer's name, email, time of purchase, amount, and currency code. Learn how to forward invoice emailsAdd the referral tracking code just before the closing
</body>tag of the purchase completed page your customers see after checkout. Click Next on the same page to get your code. Learn how to add the referral tracking code
How you add a BCC address to your invoice emails depends on your eCommerce platform — the setting usually lives in your platform's order-notification or invoice-email settings, so check your platform's own documentation for the exact steps.
Important: use only one connection type at a time. If you're switching to email integration from JavaScript or API, remove the old method's setup from your store — see Integration overview for how switching works.
If you can't add the tracking code
If your purchase completed page doesn't allow JavaScript, you can use an image tracking pixel instead of the standard tracking code — see Email integration using image tracking. And if you're not sure ReferralCandy can work with your platform at all, see Can I use ReferralCandy if I'm not using a supported eCommerce platform?
Related:
Integration overview — all the ways to connect your store
