Purchase complete tracking

We've noticed that some customers click away instantly after they have finished buying things. They don't wait for your purchase complete page to load but move on to the next thing in their life. This, unfortunately, means that our script may not get time to run, so it can't record the purchase, and we could mistakenly think the cart was abandoned.

To ensure that every single purchase complete event is registered and buyers aren't sent cart abandon emails, you can do one of the following:

Add a purchase complete tracking pixel

Include this tracking pixel on the purchase confirmation page of your eCommerce system, replacing:

Your content domain with the correct domain. To find this, expand the User menu, then go to Settings > System configuration > Custom domains and copy the domain from the Content Serving URL , for example, c8.dycdn.net

Your account id with your account ID. To get your account ID from Fresh Relevance, expand the Settings menu and copy the Account ID.

Example:

<img src="//[Your content domain]/pc/[Your account id]/?e=[customer's email address]" id="__tms_pc" height="1" width="1" />
<img src="//[Your content domain]/pc/[Your account id]/?e=[customer's email address]&r=[order / reference number]" id="__tms_pc" height="1" width="1" />

Mark the purchase complete from the server side

If you want to do this from your server side, you can call the Mark a purchase as complete. The API call to ensure purchases are marked as complete