---
updatedAt: 2026-04-07T10:11:14.000Z
agentTools:
  siteIndex: https://developers.liveramp.com/llms.txt
  projectIndex: https://developers.liveramp.com/authenticatedtraffic-api/v1.0/llms.txt
---

# 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](https://dash.readme.io/project/authenticated-traffic-solution/v1.3/docs/atsjs-configuration-options).

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/74d665b-WhiteUI_TiQ_DetectTagFromCode.png",
        "WhiteUI_TiQ_DetectTagFromCode.png",
        999,
        584,
        "#e2e9ef"
      ]
    }
  ]
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "<script>\nlet atsScript = document.createElement('script');\natsScript.onload = function() {\n  window.ats.start({\n    \"placementID\": REPLACE_ME,\n    \"storageType\": \"localStorage\",\n    \"detectionType\": \"scrape\",\n    \"cssSelectors\": [\n      \"input[type=text]\",\n      \"input[type=email]\"\n    ],\n    \"logging\": \"error\"\n  });\n};\natsScript.src = 'https://ats.rlcdn.com/ats.js';\ndocument.body.appendChild(atsScript);\n</script>",
      "language": "html",
      "name": "ats.js snippet"
    }
  ]
}
[/block]

4. Enter a title for the tag, such as *ATS JavaScript*.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/4cd8238-WhiteUI_TiQ_AddTag_UniqueName.png",
        "WhiteUI_TiQ_AddTag_UniqueName.png",
        999,
        613,
        "#e0eaf1"
      ]
    }
  ]
}
[/block]

5. 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.

[block:callout]
{
  "type": "success",
  "title": "Additional Documentation",
  "body": "See full Tealium tag documentation [here](https://community.tealiumiq.com/t5/iQ-Tag-Management/Tags/ta-p/5016#toc-hId-678473855)."
}
[/block]