Container Basics

A container is a snippet of JavaScript that gets inserted into your webpages to replace partner tags and pixels. In Trusted Data Interchange (TDI), you can associate relevant tags with a container. When a user visits your page, the container evaluates rules that determine which tags are loaded and how they are executed. This permits you to have tight control over how tags interact with your users.

You might want to have different containers for your site corresponding to different environments, such as production, testing, and development. Or you can create different containers to segment your audience based on geography or date/time. Many site operators choose to deploy a single container to meet all these needs.

Container topics:


New container

Creating containers

1. On the Dashboard, click New container.

New container

The New container window is displayed. Required items are marked with an asterisk.

2. Type a unique name for the container in the Container name box.

If you are using TDI to manage tags on multiple domains, we recommend including the domain name in your container name.

Also, if your container is targeted at a specific geographic location, we recommend including the location in the name as well.

Container name

3. Optional: Type a description of the container in the Description box. A description can help you identify this container later.


4. Click Add domain.

5. Type the domain name in the Deployment URL prefixes box.

Deployment URL prefixes

6. Optional: If you're ready to start using this container, change the status to Enabled.


7. By default, containers inherit time zone information from the user's browser.

If this container relies on rules specific to a country or time zone, choose them from the Country and Time zone lists.


8. Click Create to create the container and return to the Dashboard.

9. Click your new container's name to view the HTML code that needs to be placed in every page where the container's tags should fire.


Scheduling containers

If a container should be active for a limited amount of time, click Add period/schedule.

  • Use the calendar controls to pick a start date/time and end date/time for the container.


  • If the active period for this container is more complicated than a date/time range, use the Year, Month, Day, Day of week, Hour, and Minute controls to set up the container's schedule. For example, if this container should be active only on Thursdays, choose Thursday from the Day of week control.


Adding tags to containers

Add existing tags to a container by selecting them from the Tags list, or click Create tag to create a tag.


For more information about tags, see Tag basics.


Adding notices to containers

Notice objects are audience-facing notifications like privacy policies, terms of service, and cookie consent notices. Add existing notices to a container by selecting them from the Notices list.

For more information about notices, see Notice objects.

Have more questions? Submit a request


Please sign in to leave a comment.