Posts Tagged Under: Google Tag Manager

How to Track WIX Pageviews with Google Tag Manager

Earlier this year (February 2018, to be precise) WIX added a built-in support of Google Tag Manager. Finally, their users can without a hassle implement custom tracking techniques that are available in the GTM toolkit. By completing all the necessary steps, your GTM container can be added to all pages of your WIX store. However, there is still one nuance you need to keep in mind in order to properly track such a basic interaction as page views.

You see, the problem

Read More

Undefined Variable in Google Tag Manager

In the middle of October 2018, Google Tag Manager silently introduced a new feature that caused some questions in the GTM community (including me), an Undefined variable.

In this quick guide, I’ll shed some light on what an Undefined variable in Google Tag Manager is and where you can use it.


First of all, you can find this variable among other User-defined variables in your GTM container:

It is simple to configure. In fact, it has no settings at all

Read More

[GIVEAWAY] Win a Google Tag Manager Course and 5 Web Analytics Books

It’s been a while since I last posted something on this blog. I’ve been lately working on several things here at Analytics Mania. Over the course of the next several weeks, I’ll give share/show some stuff that has been running through my head lately. Some of them will be visible publicly, others just for email subscribers.

This time, I’d like to share some goodies with my readers (which I have never done before). Who knows, maybe it’s the only time I

Read More

How to fix the “net::ERR_ABORTED” Google Tag Manager Error in Tag Assisstant

Here’s a quick one. Once in a while, I notice people asking the same question in our ever-growing Google Tag Manager community, therefore, I’ve decided to publish a short blog post offering a solution.

Situation; a developer adds a Google Tag Manager container code to a website and you want to check whether everything works properly. You open Tag Assistant, refresh the page and get the following error next to Google Tag Manager An

Read More

Google Tag Manager Click Tracking: All You Need to Know

As a feature, click tracking in Google Tag Manager is a perfect bait for a beginner. It’s fairly easy to get started: read one or two blog posts, maybe watch a video and done! You can track buttons, outbound link clicks, etc. However, what I’ve noticed among GTM beginners is that they do not fully realize the click tracking configuration flow in GTM and why is it necessary to complete one thing or another.

Moreover, intermediate Google Tag Manager users are not always

Read More

How to convince someone to start using Google Tag Manager?

Here’s a situation: you’ve read several articles introducing Google Tag Manager and how can it help you improve marketing and analytics processes by bringing control back to the hands of marketers/analysts. So you decide to introduce it to your company/client.

However, you face resistance. For example, a lead developer of your company says that Google Tag Manager will bring chaos, slow down the website, and might increase security risks. “A marketer can add any tracking codes to a

Read More

Google Tag Manager Course by Analytics Mania is live!

Today is the big day! My Google Tag Manager course that I’ve been carefully crafting this entire summer is now open for enrollment. If you are just starting with Google Tag Manager or are a fresh intermediate user, then this is for you.

This time, I will not tell you how awesome Google Tag Manager is. The fact that I’ve already posted more than 100 GTM blog posts by now should imply this by default. However, if you’re new

Read More

Google Tag Manager Form Tracking: 7 Ways To Reach Your Goal

Updated: August 24th, 2018. While talking with marketers, I noticed that one of the most popular topics among them is form tracking. Unfortunately, in some cases form tracking might become a real pain in the butt (especially if a marketer has no clue what CSS or HTML is). But do not fear because in this blog post I’ll show you 7 Google Tag Manager form tracking techniques. Hint: some of them will require the developer’s input, but I’ll try my best to put everything in plain English.



Read More

What is Conversion Linker in Google Tag Manager?

Updated: August 24, 2018. In June 2017, Apple announced Intelligent Tracking Prevention (ITP), an initiative aimed at limiting third-party trackers from capturing cross-site browsing data and it will be launched really soon (or maybe it already is? Honestly, I’ve lost the track). This might become a problem for those who are using Google Ads (previously known as Google Adwords) because the ITP will block cookies which are an essential part of G Ads Conversion Tracking.

In response, Google introduced several ways how

Read More

Get More Data About a User with JavaScript Variable

Before we continue

This guide will not be one of those where “copy-paste” will work. Every website/web app has its own unique structure, therefore, what works on one site, might not work on another.

The goal of this blog post is to show you the possibility and the workflow to make this technique work. However, there is always a chance of failure.

What is JavaScript Variable?

A quick refresher. If you haven’t read it, please go and check this guide

Read More

Google Tag Manager Tutorial for Beginners (+ Free E-Book)

Google Tag Manager is an amazing tool. I’ve been running this blog for almost two years now and 98% of all blog posts are about GTM. It has saved me, my colleagues and my clients so much time that I can’t even imagine how I could live now without it.

Need to add a particular tracking pixel to a website? Not a problem! Want to track submissions of a newly created form? Consider it done. All thanks to a thing called

Read More

Complete Google Tag Manager Data Layer Tutorial

Updated: August 5th, 2018. Data Layer is one of the main Google Tag Manager concepts which ensures maximum flexibility, portability, and ease of implementation. Without it, there would be no variables or triggers in GTM, therefore no tags would be fired. It is what keeps your tag management running properly. It is the key to unlocking Google Tag Manager’s potential.

In this blog, I’ve already published several articles related to this topic but they are pretty much scattered. That’s why I decided to collect

Read More

Google Tag Manager vs Google Analytics: What’s the difference?

Updated: August 2nd, 2018. When I first heard about Google Tag Manager (GTM) in early 2013, I felt a bit confused. At that time I had no idea that tag management was a thing at all, so naturally, I found myself questioning what Google Tag Manager was anyway? What’s the difference between Google Analytics events and GTM events?

And nowadays I actually still notice this trend of confusion among many beginners. In this blog post, I’ll compare Google Tag Manager vs Google Analytics and show you the main

Read More

Is Google Tag Manager Preview Mode Not Working? 15 Quick Ways To Fix It.

Updated: August 1, 2018. Is Google Tag Manager Preview Mode not working? I’m pretty sure we’ve all been there at least once. This issue has caused some serious headache in the very beginning when I started using it. Does this sound familiar to you? – GTM Preview and Debug mode is enabled but does not appear on your website (or appears, but does not function properly). Just don’t rage quit and read the following tips on how to fix Google Tag Manager Preview and Debug

Read More

How to Set Up Ecommerce Tracking with Google Tag Manager: Full Guide

While Google Analytics offers a lot of tracking functionality out of the box (pageviews, sessions, traffic sources, etc.), the real magic begins after implementing custom features, like events or ecommerce tracking. Only then you’ll start seeing what really matters, conversions and/or revenue.

By tracking important interactions, you’ll be able to combine their data with the default GA functionality and see what really drives sales, which traffic sources are more effective than others, etc.

But before you can analyze all of that, a

Read More

How to Install Google Adsense with Google Tag Manager (GDPR ready)

If you run a website and want to earn some beer money (or more, if your traffic is more significant), Google Adsense is one of the options for how to generate some passive income. Once you sign up, generate codes for ad placements and add them to your website.

When a visitor lands on your page (and if he/she is not using adblockers) that piece of code will load an ad/banner. After that banner is displayed/clicked, your account will get some revenue

Read More

Cannot Verify Google Search Console with Google Tag Manager? Read this.

Google Search Console (previously known as Google Webmaster Tools) is a free tool by Google. Among all of its other features, it lets you better understand how people are finding your website through Google’s search. It displays keywords, their volume, click-through-rate, etc. But in order to get access to such data, you need to verify the ownership of that particular website.

For your convenience, there is a whole bunch of options to do that: you can upload an HTML

Read More

99 Things You Can Do with Google Tag Manager

Ah… Good old clickbait. Add a huge number to the title of the popular topic and you’re good to go. Oh, I almost forgot to mention that #54 will shock you and you won’t believe what is in the #72!

Just kidding. All the entries in the list are definitely worth checking out. Pinky promise.

Unless you lived under a rock for the last 5 years, you probably have heard at least something about Google Tag Manager. But if

Read More

Big news: Google Tag Manager Online Course is Coming Soon

Lately, I haven’t been very active. Neither on, nor on GTM Facebook community. And there’s a reason for that: I’m been building my first Google Tag Manager online course! I’m so thrilled to show it to you guys, however, there’s still a lot of tweaking and polishing needed.


Why did I decide to launch a GTM Course?

Well, it feels like the time has come 🙂 I’ve been

Read More

What is Google Tag Manager Noscript?

After you create a new Google Tag Manager container, the interface asks to place two codes on your website, one in the <head> and the after right after the opening <body> tag. But have you ever wondered why are there two codes instead of one?

Usually tracking tools, like Google Analytics, Mixpanel, or others require to place one code on all pages, so how come GTM is different?

In this blog post, I’ll explain what Google Tag Manager Noscript is and why you

Read More