How to configure a container on Google Tag Manager

Do you have a Google Tag Manager account but you do not know where to start? In this post we explain the basics of Google Tag Manager so that configuring a container does not become a nightmare.

Michael Jackson
What is a container?

A container is the space we create on Google Tag Manager to place the different tags that we will use to send the information.

Each container has an ID that relates all the guidelines configured into the GTM and which contains the triggers, tags and variables.

Types of containers:

We can configure containers for web pages or applications for iOS and Android.

How the container works:

The containers can appear in three states that correspond to three events that are sent automatically:

  • gtm.js: Connection to Google Tag Manager established.
  • gtm.dom: The structure of the web is correctly represented on the browser.
  • gtm.load: The window is complete and loaded.

Steps for installing a container:

1- Create an account: The first step is to create a Google Tag Manager account. We will sign in with a Google account and then select “Create Account”


Sin título

2- Container: The next step is configuring the container. We type the name for the container, e.g. the name of the site we want to analyse. Then we choose the type of container, whether it is for the web or for an app.

Sin título (2)

3- User policy: After the container is configured we will have to accept the use policy to start using it.

3- Políticas de uso

4- Container code: After we have accepted the use policy, the tool will give a chunk of code. This code can also be found in the administration site of our account (install Google tag manager).

4- Código contenedor5- Administrador

5- We include the code into the web: After the code is copied we have to paste it into our web after the tag <body>, never before it.

6- Publish the container: The container has to be published in order to work properly.

7- Publicar contenedor

We can check that the code is correctly installed and that the container is published using the tool Tag Assistant, which will indicate that the Tag Manager tag is active and working properly.

8- Tag Assistant

Options under the container menu

The container menu allows to create the different tags that will send the feedback about the information we need to measure our web page or app. We can also create alerts to organise our work with the tool, as well as checking the changes history of all the configurations and actions that have taken place.

6- Menú contenedor

After installing and configuring our container on Google Tag Manager we will configure the tags, variables and activators needed to measure the information that we need from our web page or app.

Rate this post
The following two tabs change content below.

Internet República

Somos una agencia de marketing digital especializada en SEO (posicionamiento en buscadores), gestión de reputación online (ORM), marketing de contenidos y Social Media. Ayudamos a darle visibilidad a tu marca en internet para que consigas, no solo atraer a tus potenciales clientes, sino también fidelizarlos.

Latest posts by Internet República (see all)