ATS with Tealium

Adding ats.js to your Tealium container

You can use ATS with Tealium iQ Tag Management to control and manage customer data and MarTech vendors across web, mobile, and connected devices.

  1. In the sidebar, select iQ Tag Management > Tags.
  2. Click + Add Tag.
  3. The Tag Marketplace dialog displays. Click Detect Tag from Code and enter the following code snippet, ensuring that you enter your placement ID where the snippet displays REPLACE_ME. You may make further modifications to the ats.js configuration as described in our documentation.
    999
<script>
let atsScript = document.createElement('script');
atsScript.onload = function() {
  window.ats.start({
    "placementID": REPLACE_ME,
    "storageType": "localStorage",
    "detectionType": "scrape",
    "cssSelectors": [
      "input[type=text]",
      "input[type=email]"
    ],
    "logging": "error"
  });
};
atsScript.src = 'https://ats.rlcdn.com/ats.js';
document.body.appendChild(atsScript);
</script>
  1. Enter a title for the tag, such as ATS JavaScript.
    999
  2. Click Next to proceed to the Load Rules tab. By default, ats.js will execute on all pages. Make any adjustments as needed for your configuration, or accept the default setting.
    👍

    Additional Documentation

    See full Tealium tag documentation here.