Install GDPR cookie consent notification with Google Tag Manager

How To Implement GDPR Cookie Consent Notification with Google Tag Manager

58 comments / May 21, 2018

In less than a week, on May 25th, General Data Protection Regulation (GDPR) will come in effect, meaning that online businesses which get visitors from the European Union, must track visitor/user behavior and collect data more carefully, responsibly, and with consent.

I will not go into details what GDPR is (there are other great blog posts out there like this one, this one or this one). Long story short, a standard This website uses cookies blah blah blah cookie consent becomes irrelevant. From now on, cookies which contain personal data must be activated only when a person gives a consent, in other words, a visit is not a consent a consent by default.

So before you get the actual consent, all the tracking should be put on hold. In this guide, I’ll show you what solution did I choose and how I implemented GDPR cookie consent notification on + you’ll get a GTM Recipe.

Read more

cover picture

Respect “Do Not Track” Parameter with Google Tag Manager

12 comments / May 14, 2018

Updated: May 14th, 2018 (added support for Internet Explorer and Edge). 

Since the dawn of GDPR is getting really close, marketers, web analysts and others are rushing to be compliant. I have to be honest, I still feel confused a bit about how this (so you’re not alone), therefore do not ask for a legal compliance advice from me. I’m not the right person.

By the way, if by any accident you had been living on an uninhabited island for the last several years and just returned to the civilization today, here’s a pretty detailed but easy-to-digest guide to GDPR (prepared by my colleagues at Omnisend).

Even though I still did not get to lay my hands on an updated GDPR-compliant cookie consent, I found this another interesting topic that I wanted to play around with.

P.S. as for a cookie consent, I’ve heard that Stéphane Hamel is working on a particular solution, so maybe I’ll just be lazy here and wait for him. Also, I’ve seen several other solutions but I’m not sure whether they are the best fit, time will show.

Anyway, back to the main topic of this blog post. For those who didn’t know, there’s a parameter that internauts can enable in their browsers called Do Not Track. And in this quick guide, I’ll show you how to honor that parameter in GTM and block tracking scripts accordingly.

Read more

Hotjar and Google Tag Manager Guide

Hotjar and Google Tag Manager: The Definitive Guide

4 comments / May 7, 2018

If you’re interested in tracking website visitors and seeing that data as heat maps, then Hotjar is the right tool for you. In fact, the tool doesn’t only allow you to create heat maps but also lets you view things as scroll depth, create funnels, and ask your visitor questions, and more.

Since Analytics Mania’s main target is GTM users, this blog post will not be an exception and I’ll show you how Hotjar and Google Tag Manager play along.

Other guides I’ve seen online, usually explain just the installation part, even though there’s much more to be discovered, like event tracking, session tagging and more.

Read more

6 Google Tag Manager Form Tracking Methods

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

89 comments / April 30, 2018

Updated: April 30th, 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 6 Google Tag Manager form tracking techniques. Hint: some of them will require developer’s input, but I’ll try my best to put everything in plain English.

Read more