Google Tag Manager - No tags in container


Bukovski

So I tried to implement google tag manager as follows : https://developers.google.com/tag-manager/enhanced-ecommerce . But nothing happened to me.

enter image description here

Nothing is posted and nothing is shown in the tag manager admin. Here is a simple code snippet taken from the tutorial:

dataLayer.push({
        'event': 'addToCart',
        'ecommerce': {
          'currencyCode': 'EUR',
          'add': {                                // 'add' actionFieldObject measures.
            'products': [{                        //  adding a product to a shopping cart.
              'name': 'Triblend Android T-Shirt',
              'id': '12345',
              'price': '15.25',
              'brand': 'Google',
              'category': 'Apparel',
              'variant': 'Gray',
              'quantity': 1
             }]
          }
        }
      });

I've installed Tag Assistant and it says Tag Manager is loaded with the correct container ID. Any ideas why nothing is posted and the tag manager admin console is empty?

nk!

Eike Pierstorff

Creating a dataLayer itself doesn't send any data, you have to configure the label in GTM first.

The label's setup instructions are somewhat hidden in the documentation, you have to click the green arrow under each code block to see them.

So if you create and publish the labels after the dataLayer is created, you should start viewing the information in Google Analytics (allow up to a 24 hour processing delay, although the live view will show the data almost immediately).

Related


Google Tag Manager - No tags in container

Bukovski So I tried to implement google tag manager as follows : https://developers.google.com/tag-manager/enhanced-ecommerce . But nothing happened to me. Nothing is posted and nothing is shown in the tag manager admin. Here is a simple code snippet taken fro

Google Tag Manager - No tags in container

Bukovski So I tried to implement google tag manager as follows : https://developers.google.com/tag-manager/enhanced-ecommerce . But nothing happened to me. Nothing is posted and nothing is shown in the tag manager admin. Here is a simple code snippet taken fro

Google Tag Manager - No tags in container

Bukovski So I tried to implement google tag manager as follows : https://developers.google.com/tag-manager/enhanced-ecommerce . But nothing happened to me. Nothing is posted and nothing is shown in the tag manager admin. Here is a simple code snippet taken fro

Google Tag Manager tags explained

Alexander Starbucks Can someone explain the Google Tag Manager (container) code and help me learn the following: <script> ( function(w,d,s,l,i){ w[l] = w[l] || []; w[l].push({'gtm.start': new Date().getTime(), event:'gtm.js'}); var f = d.getElementsByTagName(s

Google Tag Manager tags explained

Alexander Starbucks Can someone explain the Google Tag Manager (container) code and help me learn the following: <script> ( function(w,d,s,l,i){ w[l] = w[l] || []; w[l].push({'gtm.start': new Date().getTime(), event:'gtm.js'}); var f = d.getElementsByTagName(s

Google Tag Manager empty container

ez4nick I'm trying to follow what is described here: https://developers.google.com/tag-manager/android/v4/#init and this is what I have: TagManager tagManager = TagManager.getInstance(this); tagManager.setVerboseLoggingEnabled(true); PendingResult<Co

Trigger tags on certain pages in Google Tag Manager

Mr. Sponge I'm trying to create a regular expression to trigger a tag in Google Tag Manager on certain pages. The problem I'm having is that I don't want this tag to be fired on URLs that match the query string in them, since it's just a session identifier, an

Custom HTML tags in Google Tag Manager with variables

Furman I have a custom html tag in my google tag manager <script>const d = 'sdfsf'; console.log(d);</script> Now I want to sdfsfbe a variable from my HTML to pass to GTM, where I have the GTM init fragment. Is this achievable anyway? Ike Pilstorff GTM support

How to delete a container from Google Tag Manager?

username I want to delete containers in my Google Tag Manager account. But in settings, there is no option to delete. Does anyone know how to remove a container from Google Tag Manager? Daniels The tag manager container can be deleted. Tap Admin, then select t

Google App Script for Tag Manager Container List

Kenny I'm running a google app script to get a list of containers for my GTM account. I have the following code: TagManager.Accounts.Containers.list(parent) parent = my GTM account id, I even tried entering it as a string like "xxxxx". I am sure the GTM accou

How to delete a container from Google Tag Manager?

username I want to delete containers in my Google Tag Manager account. But in settings, there is no option to delete. Does anyone know how to remove a container from Google Tag Manager? Daniels The tag manager container can be deleted. Tap Admin, then select t

How to delete a container from Google Tag Manager?

username I want to delete containers in my Google Tag Manager account. But in settings, there is no option to delete. Does anyone know how to remove a container from Google Tag Manager? Daniels The tag manager container can be deleted. Tap Admin, then select t

How to delete a container from Google Tag Manager?

username I want to delete containers in my Google Tag Manager account. But in settings, there is no option to delete. Does anyone know how to remove a container from Google Tag Manager? Daniels The tag manager container can be deleted. Tap Admin, then select t

How to delete a container from Google Tag Manager?

username I want to delete containers in my Google Tag Manager account. But in settings, there is no option to delete. Does anyone know how to remove a container from Google Tag Manager? Daniels The tag manager container can be deleted. Tap Admin, then select t

How to remove google tag manager container?

Zuheide I can't find how to delete the container, I don't find the delete button when I visit the container settings, can anyone help? Ike Pilstorff Go to the Admin section of the container, open Container Settings and click on the menu with the three little d

How to make a tag run before other tags in google tag manager?

klang i created a tag in google tag manager and made it custom_html and bun a javascript function code inside, i used that function in another tag but after i posted it it said fbq_custom() was not defined but when i posted it When opening the gtm file I can s

Tag Manager will not show tags

Erwin I am trying to make a simple web page using the Google Maps window. In this window I have a site location marker (which can be changed by filling in new latitude and longitude and clicking the "Check site" button). When pressed, it will move the site mar

Tag Manager will not show tags

Erwin I am trying to make a simple web page using the Google Maps window. In this window I have a site location marker (which can be changed by filling in new latitude and longitude and clicking the "Check site" button). When pressed, it will move the site mar

Tag Manager will not show tags

Erwin I am trying to make a simple web page using the Google Maps window. In this window I have a site location marker (which can be changed by filling in new latitude and longitude and clicking the "Check site" button). When pressed, it will move the site mar

Tag Manager will not show tags

Erwin I am trying to make a simple web page using the Google Maps window. In this window I have a site location marker (which can be changed by filling in new latitude and longitude and clicking the "Check site" button). When pressed, it will move the site mar

Google Tag Manager - Copy tags from previous page source/media

Mel I ran into an issue where our 3rd party payment system changed our source/medium to referral. Is there a way to set a tab so that the payment page has the same origin/medium as the previous page? Ike Pilstorff I'll use Google 's official documentation on r

Google Tag Manager trigger for data layer not showing tags

Gazubi I was reading the new documentation on Google Tag Manager and based on that I created a custom event like this: Here event is the key and the value is Shop Now Start. I push this information in the "data" layer of the website. However, at this point, th

Can you trigger tags based on region in Google Tag Manager?

Danny Is it possible to trigger tags from Google Tag Manager using the location of a web visitor as a trigger? What I'm asking is to trigger the EU cookie notice, but only visitors from the EU can see it. Ideally I would be able to set it up in GTM. If possibl