- 1 Minute to read
- Print
- DarkLight
Containers
- 1 Minute to read
- Print
- DarkLight
Containers are essential for Mapp Tag Integration, serving as centralized environments for managing tags, plugins, and rules tailored to a website's structure and tracking needs. Each container can be configured for various environments, including public websites, internal test systems, and multiple domains. To create a container, users must log into Mapp Intelligence, select Tag Integration, and click on "New Container." They will then enter details such as the container's title, type, and the domains where it will be active, ensuring proper domain inclusion and exclusion. It's important to note that for tracking all domains, a leading dot should be used, and multiple domains must be separated by commas. After defining all parameters, users can save the container, which will then be available for further configuration in the container overview.
Containers are the foundation of Mapp Tag Integration, organizing and managing the deployment of tags, plugins, and rules. Each container is a self-contained environment designed to align with your website’s structure and tracking requirements.
1 What Is a Container?
A container acts as a central repository for all tracking components within Tag Integration. You can configure containers for specific environments, such as:
Publicly accessible websites: For live production environments.
Internal test systems: For QA or staging environments.
Multiple domains or regions: Each container can be customized for unique configurations or shared across websites.
2 How to Create a Container
Follow these steps to create a new container in Mapp Tag Integration:
Log in to Mapp Intelligence
Access your Mapp Intelligence account and select Tag Integration from the header navigation.
Start a New Container
Click New Container. A dialog box will appear, allowing you to specify the container’s details.
Specify Container Parameters
Provide the following details in the dialog box:
Title: Enter the name of the container (e.g., Main Website Tracking).
Type: Choose the container type (web or mobile).
Domain Inclusion: Define the domains where this container will be active. Mandatory for container type “web”. For example:
.example.com,example.de
Important Notes:
• To track all (sub-)domains, ensure the domain begins with a leading dot (.), e.g., .mydomain.com.
• When listing multiple domains, separate them with commas without spaces (e.g., .domain1.com,.domain2.com).
• The total length of all characters in this field must not exceed 2048 characters.
Domain Exclusion (Optional): Specify domains where the container should not load (e.g., qa.example.com).
Select Static Mode (Optional)
In Static Mode, parameter values must be defined via the data layer or HTML node relations.
JavaScript functions are not allowed except for wts.get().
Working Examples:
_ti.pageName _ti["pageName"] wts.get('pageName') document.location.href
Non-Working Examples:
document.getElementById('foo').value Date.now() + '' + parseInt(Math.random() * 10000) (function(){ return 'foo.bar'; })()
Save the Container
Once all parameters are defined, click Create. The new container will appear in the container overview, ready for further configuration.