Before you start
Things you need to know:
Learn more about Adobe Dynamic Tag Manager in Adobe's official documentation.
Setup
To set up your script with Adobe Dynamic Tag Manager:
In Adobe Dynamic Tag Manager, go to Property > Rules > JavaScript/Third Party Tags.
Select Add New Script.
Enter a script name.
For the script trigger, select Sequential JavaScript.
This is essential.
Add the following script to text area:
<script async src="//d81mfvml8p5ml.cloudfront.net/[your Website ID here].js"></script>
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:
Open the browser on your website, and press the F12 key to display the developer tools.
Select to the Network tab and then refresh the page.
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.