Skip to main content
Add a Tag Manager

Learn how to integrate a third-party Tag Manager with your account.

Updated over 8 months ago

If you use a Tag Manager provided by organisation such as Google or Adobe to load third party scripts on your site, you may want to use it with Fresh Relevance also.

There are two main components to the Fresh Relevance integration:

  1. The Script tag

  2. The Purchase Complete Tracking Image


The Script tag

The Script tag goes on every page of your site. This looks something like:
โ€‹<script defer="defer" async="async" src="//d81mfvml8p5ml.cloudfront.net/[your website ID here].js"></script>

The Script can be loaded using a Tag Manager. Learn how in Deploy with Adobe Dynamic Tag Manager.


The Purchase Complete tracking image

The Purchase Complete image goes on the order confirmation page of your site. This looks something like:

<img src="//d1f0tbk1v3e25u.cloudfront.net/pc/[your website ID here]/?e=[customer's email address]" id="__tms_pc" height="1" width="1" />

The Purchase Complete image should not be added using a Tag Manager.

The image is designed to report a purchase back to us in addition to the script. Because it is an image it loads much faster, catching people who click off the page before the script can load, and isn't affected by anything that can cause JavaScript not to load.

Using a Tag Manager introduces a delay to the image being displayed, and it will also be affected by any JavaScript issues and it also makes it more complicated to merge in the customer's email address. All of which may mean the purchase is not recorded and the shopper may be sent an abandon email in error.

Your web development team should add the Purchase Complete Image to the HTML of the page, or the template that generates it, and use a server-side variable to merge in the customer's email address, and, if applicable, order number.

If your site uses Magento then you may be able to use our extension, which loads both the Script and Purchase Complete Image automatically.

Contact Support for further information.

Did this answer your question?