Our script tracks people who make a purchase, and prevents them from being emailed if they do. On some e-commerce systems, our script doesn't get loaded every time on the purchase complete page, or a swift customer may close the page before our script can be loaded.
To ensure that every single purchase complete event is registered, and shoppers who made a purchase don't get emailed, you can include an additional tracking pixel (image) on your purchase confirmation pages.
Before you start
Things you need to know:
Adding a tracking image is not required, but it's strongly recommended for long-term use.
Where to add a tracking image
It is recommended to add the tracking image directly to the HTML or the template that generates the HTML.
The tracking image should not be added using a tag manager, this is because:
If there's an error in any script on the page it can prevent all subsequent scripts from running, which means our script (and a tag manager) would not load, therefore the purchase would not be recorded.
Due to our script — and tag managers — running quite late in the page load, there's a risk a customer could close or click off the confirmation page before a script has a chance to run. Images are loaded much quicker to reduce this risk.
Add a tracking image
To add our tracking image to your website:
Copy this tracking image code to your website’s code:
<img src="//d1f0tbk1v3e25u.cloudfront.net/pc/[exampleID]/?e=[customer's email address]&r=[order / reference number]" id="__tms_pc" height="1" width="1" />
Replace the [customer's email address] with the necessary code to merge in the customer's email address on your e-commerce software and include it on all of your confirmation pages.
Merge the unique order number or reference into the placeholder [order / reference number] on your e-commerce system.
This should help us track purchases and prevent abandoned emails being sent to customers that complete a purchase.
We also offer additional types of tracking scripts. Learn more in Basic configuration.
Base64 encoding and RC4 encryption
If you don't want to expose the email address in the purchase complete image on your site, we also support Base64 encoding or RC4 encrypting the address. Contact Support for further details.