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

Auto-Event Variable In GTM: 2 Simple But Powerful Examples

Updated: May 6th, 2025 Google Tag Manager offers a lot of excellent features when it comes to website tracking. If you have already tried using GTM for more than basic Google Analytics pageview tracking, you have probably seen the list of 15+ variable types. That’s a pretty decent list, huh? I bet it raises more questions […]
Julius Fedorovicius
In Google Tag Manager Tips

JavaScript Variable in Google Tag Manager: Quick Guide

Updated: May 6th, 2025 If you have ever tried to find more information about the JavaScript variable in Google Tag Manager, here’s what you’ve probably seen: 1 paragraph in Google’s official documentation, and a bit more in Simo Ahava’s guide. But in general, not much. So I decided to dig deeper and give you a bit […]
Julius Fedorovicius
In Google Tag Manager Tips

Tracking Errors with Google Tag Manager: 5 Things to Measure

Updated: May 5th, 2025 You can do many cool things with Google Tag Manager, like track purchases, form submissions, link clicks, etc. All of these are positive actions for the business. But what about negative ones? Errors should also be tracked, as they might provide you with some hidden gems. Identifying where your visitors/customers are […]
Julius Fedorovicius
In Google Tag Manager Tips

What is URL variable in Google Tag Manager?

Updated: May 3rd, 2025 Have you ever been in a situation where you need to extract a part of the URL and turn it into a variable in Google Tag Manager? I have. The most common demand is to transfer so-called query string parameters to GTM. For example, I have a web address https://www.example.com/?product_id=123&category=shoes. Believe […]
Julius Fedorovicius
In Google Tag Manager Tips

How to Track Chat with Google Tag Manager and Google Analytics 4

If you have a chat widget on your site, you probably wonder how often users interact with it or if it’s influencing user journeys. But how to track that with GTM and GA4? Most likely, custom code will be needed. If you’re lucky, maybe someone already wrote it. If not, things get a bit more […]
Julius Fedorovicius
In Google Tag Manager Tips

How To Write a GTM Auto-Event Listener with No Coding Skills

I’ll repeat myself once again. Auto-event listeners are one of the key concepts in Google Tag Manager. Just like a trigger, variable, tag, or data layer. In fact, more than half of my Google Tag Manager blog posts mention auto-event listeners one way or another. Auto-event listeners are these super useful JavaScript functions that track particular […]
Julius Fedorovicius
In Google Tag Manager Tips

How many Google Tag Manager containers do you need?

Updated: April 9th, 2025 This time, the guide will indeed be shorter than usual. First, this blog post will not discuss multiple GTM containers on the same page. I’m answering a different question. Say, you have three websites. How many GTM containers do you need here? One? Two? Three? The reality is that there is no universal […]
Julius Fedorovicius
In Google Tag Manager Tips

GTM and Google Analytics 4 Naming Conventions

Updated: April 4th, 2025 Customizing data collection for Google Analytics 4 is definitely necessary, but reports can quickly get chaotic if you don’t follow any naming rules or practices. The same issue applies to Google Tag Manager once your projects grow. Naming your tags triggers and variables without adhering to specific guidelines can turn GTM […]
Julius Fedorovicius
In Google Tag Manager Tips

GTAG vs Google Tag Manager. What is the Difference? What to Choose?

Updated: April 4th, 2025 Google Tag (GTAG) and Google Tag Manager are completely different beasts. But after seeing that people are looking for information about this topic, I have decided to write a blog post (and record a video). In this article, I will compare GTAG vs Google Tag Manager. We will take a look […]
Julius Fedorovicius
In Google Tag Manager Tips

Click Element Variable in Google Tag Manager

Updated: April 4th, 2025 Google Tag Manager offers a whole bunch of variables that are at your disposal, built-in and user-defined ones. While I have posted many blog posts about user-defined variables (and I mean many, many, many, many…), this time, I’d like to spotlight the unsung hero of built-in variables, Click Element. To keep […]
Julius Fedorovicius
In Google Tag Manager Tips
Page 6 of 22«‹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
  • 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