Skip to main content
Install your script with Tealium Tag Manager

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

Updated over 5 months ago

Setup

To set up your script with Tealium Tag Manager:

  1. Log in to your Tealium Tag Manager account.

  2. Select the Tags tab.

  3. Add the Tealium Custom Container Tag.

    This is located under the Misc tab of the Tags marketplace.
    ​

  4. In the Title field, enter Fresh Relevance script.

  5. Select Finish.
    ​

  6. Select Save.

  7. After the profile is saved, select your name/email address in the upper right corner of the Tealium iQ console.

  8. Under Account Admin, select Manage Templates.
    ​

  9. Expand the drop-down menu and select Tealium Custom Container: Fresh Relevance Script. This opens the Tag template.

  10. Copy the following script and paste it between Start Tag Library Code and End Tag Library Code in your Tealium Profile Template.

    <script async src="//d81mfvml8p5ml.cloudfront.net/[website_id].js"></script>
    • You need to replace [website_id] with your website ID. To get your website ID from your Fresh Relevance account, expand the Configuration drop-down menu and copy the Account ID.


Confirm the script is installed correctly

The simplest way to tell that the script is working is to just browse a few pages on your website, wait a minute, then in Fresh Relevance, expand the User menu and go to Settings > Website Settings > Test Website Integration and confirm that events are being received from your site.

If it doesn't work, double check that you have published the new version of the tag using Tealium Tag Manager.


Check Tealium 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 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 Tealium 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 Tealium 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?