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.

🧐 Think you know Google Analytics? Test your knowledge with our FREE GA4 skill test šŸ†

Take the test
  • 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

Google Tag Manager Container Code. In <head> or <body>?

Google Tag Manager official recommendationĀ states that in orderĀ to install itĀ you need to place the <script> code somewhere in the website’s <head> and the <noscript> part should be added immediately after the opening <body> tag. But what should you do if a performance-obsessed developer does not agree to follow these instructions? What if a developer insists […]
Julius Fedorovicius
In Google Tag Manager Tips

Track PDF Downloads with Google Tag Manager

Updated: February 28th, 2025 Tracking file downloads on your website is essential for understanding user engagement and ensuring that the content you create resonates with visitors. By tracking downloads, you can gauge the value of your efforts and save time by focusing on content that generates the most interest. You can follow two methods to […]
Julius Fedorovicius
In Google Analytics Tips Google Tag Manager Tips

Track Youtube Videos with Google Tag Manager and Google Analytics 4

Updated: October 10th, 2024 Even though Google Analytics 4 offers built-in Video tracking (thanks to Enhanced Measurement), it does not always work on all websites. Also if you want to modify and change thresholds when video events are sent to GA4, you will need to create your own customized solution. And in this blog post, […]
Julius Fedorovicius
In Google Tag Manager Tips

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, […]
Julius Fedorovicius
In Google Tag Manager Tips

How to copy Google Tag Manager tags between containers?

Updated: September 16th, 2024 I occasionally receive the following question: how can someone copy Google Tag Manager tags between containers? And that’s a totally valid question. Instead of manually copying field by field from one container to another, you could simply hit Copy-Paste and move assets between containers. In this blog post, I’ll look at […]
Julius Fedorovicius
In Google Tag Manager Tips

Google Tag Manager in View Only Mode? Here’s the fix

Here’s a situation. You open a Google Tag Manager container but there is no Preview or Submit buttons at the top right corner of the GTM interface. What is happening? How to fix this? In this quick blog post, I’ll explain that. The reason why you are not seeing the Preview and Submit buttons is […]
Julius Fedorovicius
In Google Tag Manager Tips

Google Tag Manager Conversion Tracking

If you are running marketing campaigns (and you want your audience to complete certain goals on your website), you have to measure the effectiveness of your marketing efforts. Which ads/posts/content are performing better?Ā Which ones are doing worse? Which keywords of paid advertising are expensive but drive little to no results? All of these (and other) […]
Julius Fedorovicius
In Google Tag Manager Tips

How to Track HTML5 Audio Player with Google Tag Manager and GA

Updated: March 4th, 2024 I guess that the majority of the GTM community is familiar with a custom event listener who probably already has legendary status. Even this Twitter (that I saw earlier in my feed) confirmed this: Yes, I’m talking about David Vallejo’s HTML5 video listener that tracks almost any other video player that […]
Julius Fedorovicius
In Google Tag Manager Recipes Google Tag Manager Tips

How To Install Google Tag Manager on WIX website

Updated: March 1st, 2024 In the past, I noticed threads on forums, Reddit, and elsewhere where people were trying to find the answer: how to install Google Tag Manager on WIX. No luck. Even though WIX supported Custom HTML widgets, they did not work with the GTM code inside. Luckily, those dark times are over […]
Julius Fedorovicius
In Google Tag Manager Tips

OR Condition in Google Tag Manager Triggers: 3 options

In Google Tag Manager, you can manage your tags and define the conditions when the tags must fire. However, if you have multiple firing conditions and you want to fire the tag on ANY of them, there are some things to keep in mind. In other words, I will show you how to configure triggers […]
Julius Fedorovicius
In Google Tag Manager Tips
Page 6 of 10«‹45678›»
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
  • Google Tag Manager Server-Side Tagging with Stape
  • Facebook Conversions API for Shopify with Google Tag Manager
  • Top 19 Google Tag Manager Extensions and Tools for Fast and Efficient Work
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings