Skip to main content
Install your script with Adobe Dynamic Tag Manager

Add the Fresh Relevance script to your website using Adobe Dynamic Tag Manager.

Updated over a week ago

Before you start

Things you need to know:


Setup

To set up your script with Adobe Dynamic Tag Manager:

  1. In Adobe Dynamic Tag Manager, go to Property > Rules > JavaScript/Third Party Tags.

  2. Select Add New Script.

  3. Enter a script name.

  4. For the script trigger, select Sequential JavaScript.

    • This is essential.

  5. Add the following script to text area:

    <script async src="//d81mfvml8p5ml.cloudfront.net/[your Website ID here].js"></script>
  6. Select Save Code.


Confirm the script is installed correctly

The simplest way to check that the script is working is to browse a few pages on your website, wait a minute, then go to the Fresh Relevance dashboard. It should confirm that events are being received from your site.

If this doesn't happen, double-check that you have published the new version of the workspace using Adobe Dynamic Tag Manager.


Check Adobe Dynamic Tag Manager is delivering the script correctly

To see if the script is working correctly, you need to use the developer tools (or equivalent) in your web browser:

  1. Open the browser on your website, and press the F12 key to display the developer tools.

  2. Select to the Network tab and then refresh the page.

  3. Amongst the other network requests for your site, you should see the following requests.

    • The code starting t8 is replaced by the Website ID of your account.
      โ€‹

You can check further by temporarily adding the following script in the tag window in Adobe Dynamic Tag Manager.

<script>
console.log('Loader script has been run ');
</script>

When you refresh your page, if you switch to the console tab in the developer tools, you should see the text Loader script has been run.

  • If you don't see this, double-check your Adobe Dynamic Tag Manager setup.

  • If you do see the text, but Fresh Relevance isn't working correctly, contact your account manager or our support team.

Did this answer your question?