• Courses
    • Courses
    • Course bundles
  • Blog
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • Services
  • About
    • About
    • Contact
  • Login
  • Courses
    • Courses
    • Course bundles
  • 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
  • Conversion rate in Google Analytics 4
  • Google Tag Manager Data Layer Explained
  • Cross-domain tracking in Google Analytics 4
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings