Skip to Content
Tag ManagerContainers & InstallationCreate And Manage Containers

Create And Manage Containers

Use this guide to manage the container records that websites load through Tag Manager.

A container is the top-level Tag Manager record. It has a name, workspace, status, allowed domains, draft version, published version, tags, triggers, variables, and install script.

Preparation

Before you start

  • use the workspace that owns the website or implementation area
  • know the container name operators should see in the list
  • have a tracking domain available when script generation is needed
  • know whether archived containers should be shown in the list
  • know whether the container should be restricted with allowed domains
The container list shows active containers, generated script snippets, search and filter controls, and card actions.

Manage containers

Open Tag Manager

Open Tag Manager from the app sidebar.

The page lists active containers by default. Use search to filter containers by name. Open Filters and enable Archived to show archived containers instead of active containers.

Create a new container

Choose New Container.

Enter the container name, then choose Create.

Nitoriq creates the container, creates draft version 1, and opens the container editor.

The New Container modal creates a container record in the active workspace.

Open an existing container

Use the container card action menu and choose Open.

Archived containers cannot be opened from their cards. Restore an archived container when it needs to be opened again.

Read the container card

Each active container card shows the container name, the generated script field when a tracking domain is available, Copy, and an action menu.

Use Integrate from the card to open the generated script modal. The action is disabled when the workspace does not have a tracking domain available.

Use Archive to move an active container out of the active list. Use Restore from the archived list to make an archived container active again.

Rename a container

Open the container, then use the edit action next to the container name in the editor header.

The edit modal updates the container name. It does not change the container ID used by the install script.

Edit the container draft

The container editor has three tabs:

  • Tags
  • Triggers
  • Variables

Changes in these tabs are saved to the current draft. The installed script uses the published version after the container is published.

Copy or generate the install script

Use the script field in the container header or choose Integrate to generate the script from a selected tracking domain.

The script uses this shape:

<script async src="https://YOUR_TRACKING_DOMAIN.com/niq/tags/CONTAINER_ID.js"></script>

Container controls

Name

The label operators see in Tag Manager.

The name is used in the container list and editor header.

Search

Filters container cards by name.

It helps locate a container without changing the active or archived filter.

Filters

Switches the list between active containers and archived containers.

Archived containers stay out of the active working list.

Copy

Copies the generated install script from a container card or editor header.

The copied script contains the tracking domain and container ID.

Integrate

Opens the modal used to select a tracking domain, review allowed domains, and copy the script.

The generated script is the website-side loader for the container.
Validation

Container management is complete when

  • the container exists in the correct workspace
  • the name shown in the list matches the intended site or implementation area
  • active and archived containers are visible through the correct filter
  • the generated script uses the expected tracking domain and container ID
  • archived containers are restored before they need to be opened or edited
  • draft changes are published when the installed script should receive them

Was this page helpful?