Set up conversion tracking and offers
Add SendCoop's tracking snippet to your website to report sales from email, and track affiliate offers with sc_cid postbacks.
Conversion tracking shows which emails turn into sales on your own website. If you promote affiliate offers, you can track those sales too, with postbacks from your affiliate network.
If you sell on Shopify or WooCommerce, you don’t need the snippet. Connecting your store does this for you. See Connect Shopify or Connect WooCommerce.
Turn on conversion tracking
- In the left sidebar, click Revenue, then the Conversion Tracking tab.
- Under Settings, switch on Enable conversion tracking. This adds a click ID to tracked links in your emails.
- Set the Default currency (a 3-letter code, such as USD), used when a sale has no currency.
- Optional: under Your website domains, list your domains, one per line. Only links to these domains get the click ID. Leave it empty to add it to every link.
- Click Save settings.
Install the snippet
- Under 1. Install the snippet, click Copy.
- Paste the code before
</head>on every page of your website.
Report a sale
On your order confirmation or thank-you page, add the sale code shown under 2. Report sales. It looks like this:
<script>
sendcoop('sale', {
value: 49.00, // order total
currency: 'USD',
description: 'Pro plan', // optional
order_id: 'ORDER-1001' // optional, prevents double counting
});
</script>
Fill in the real order total and ID from your checkout. To track other goals, such as sign-ups or downloads, use your own event name:
<script>
sendcoop('signup');
</script>
The page shows Visits from email, Sales, Revenue and Visitors who bought, plus Recent conversions.
Track affiliate offers
- Click Revenue, then the Offers tab.
- Copy the Global postback URL and add it in your affiliate network. Replace each
REPLACEwith the network’s own macro: the sub-ID that carries{sc_cid}, the payout amount and the transaction ID. - Under Add offer, fill in:
- Offer name
- Affiliate link: your link with
{sc_cid}in the network’s sub-ID parameter, for examplehttps://network.com/click?offer=123&sub1={sc_cid}. - Currency and Default payout (used when the network doesn’t send an amount).
- Tag subscribers who convert, if you want buyers tagged.
- Click Add offer.
- Click Insert tag to copy the offer’s tag, and paste it as a link in a campaign or automation email.
When a subscriber buys, the network calls your postback URL and the sale is credited to the email, the subscriber and the offer. The Network postbacks section has setups for ClickBank, Digistore24, JVZoo, Hotmart and WarriorPlus.