About cookies on this site

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. Learn more

Cookie settings

About cookies on this site

Cookies used on the site are categorized and below you can read about each category and allow or deny some or all of them. Learn more

Necessary

Some cookies are required to provide core functionality. The website won't function properly without these cookies and they are enabled by default and cannot be disabled.

Preferences

Preference cookies enables the web site to remember information to customize how the web site looks or behaves for each user. This may include storing selected currency, region, language or color theme.

Analytical cookies

Analytical cookies help us improve our website by collecting and reporting information on its usage.

Marketing cookies

Marketing cookies are used to track visitors across websites to allow publishers to display relevant and engaging advertisements. By enabling marketing cookies, you grant permission for personalized advertising across various platforms.

  • Courses
    • Paid courses
    • Course bundles
    • Free courses
  • Blog
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • Services
  • About
    • About
    • Contact
  • Login
  • Courses
    • Paid courses
    • Course bundles
    • Free courses
  • Blog
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • Services
  • About
    • About
    • Contact
  • Login

October 8, 2024

Unknown Tag Type and Unknown Variable Type in Google Tag Manager

Here’s a situation: you enable the Google Tag Manager preview mode, but the tag is displayed as Unknown Tag Type for some reason. Or maybe you check the variable, and its type is displayed as Unknown Variable Type.

Why? This blog post will explain that.

 

It’s a bug

This issue started a while ago, but it has no real impact on how your tags work. It is just a bug in how tag or variable types are displayed in the preview mode. I don’t know what causes it. Maybe caching in Google Tag Manager, maybe something else.

I noticed that this happens only if you have just added a new variable or a new tag in the container. Once you enable preview mode, those new items can be displayed as Unknown Tag Type or Unknown Variable Type. However, if the preview mode gets refreshed several times and a little time passes, the tags will be displayed properly.

I don’t know how long you need to wait for the tag/variable to be properly displayed in the preview mode. But usually it is less than 1 hour. Sometimes, it might be longer. At worst, if you check the variable/tag the next day, it will be displayed fine.

I agree that this is inconvenient (because if the tag is displayed as “Unknown”, you cannot easily see what variable values were used with that tag).

However, as I have said, this does not affect the execution of the tag. The requests should still be sent (unless something is misconfigured in the tag).

 

Unknown Tag Type in GTM: Final Words

This happens randomly. Sometimes, newly added items are displayed properly in the preview mode, and sometimes, you get Unknown. I don’t know when Google will fix this. But in the meantime, don’t panic. Just be aware that this is a bug in how the tag is displayed (but it does not affect how the tag functions).

If you are implementing Google Analytics 4, then you should still verify the incoming data in the Debugview.

Subscribe and Get the Ebook - 20 GA4 mistakes
Julius Fedorovicius
In Google Tag Manager Tips
0 COMMENTS

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *


 

Hi, I'm Julius Fedorovicius and I'm here to help you learn Google Tag Manager and Google Analytics. Join thousands of other digital marketers and digital analysts in this exciting journey. Read more
Analytics Mania
  • Google Tag Manager Courses
  • Google Tag Manager Recipes
  • Google Tag Manager Resources
  • Google Tag Manager Community
  • Login to courses
Follow Analytics Mania
  • Subscribe to newsletter
Recent Posts
  • What is Direct Traffic in Google Analytics 4 and How to Fix it
  • Google Tag Manager Preview Mode Not Working? 26 Ways To Fix It.
  • Google Analytics 4 Events Not Showing Up in Reports?
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings