Massive List of Custom JavaScript Snippets for Google Tag Manager

Massive List of 60+ Custom JavaScript Snippets for Google Tag Manager

5 comments / January 22, 2018

More than a year ago, when this blog saw the daylight, my vision was (and still is) to make Analytics Mania No.1 place to find Google Tag Manager resources. Yes, I know it’s next to impossible to surpass¬†Simo’s blog, but hey, let me dream big ūüôā

As a result, the library of 30+ GTM recipes was born¬†and its popularity exceeded my biggest expectations. Also, let’s not forget¬†The Ultimate list of 120+ GTM Resources, GTM Checklist (60+ items), huge¬†Google Tag Manager Glossary, etc.

Months went by and I noticed another growing demand among members of web analytics communities, an online library/collection where one could find various JavaScript code snippets (ready to be used in GTM).

Turns out such thing still does not exist! Or at least I couldn’t find one online.¬†Hmmm.. Time to shine?

Read more

Insert Variables in Google Tag Manager

How to Insert Variables in Google Tag Manager: 7 Things to Keep In Mind

0 comments / January 15, 2018

Tags, triggers, and variables, the holy trinity of Google Tag Manager. In case you didn’t know (which I doubt), Tags are various functions which can track visitor, inject something to website’s code, display a popup, etc., while Triggers are rules which define¬†when¬†tags should be fired.

What about variables? What are those? In fact, they are little pieces of information which can be used both in Tags and Triggers. For example, Page URL. You can use it as a trigger (e.g.¬†fire Google Analytics Tracking code when Page URL contains “/successful-registration”) and you can also pass its value along with Google Analytics event tag to Google Analytics servers.

Although this is one of the core features and concepts in GTM, I still notice a lot of people not knowing how to utilize variables correctly and where they might (not) function properly.

As a result, this blog post was born where I’ll give you 7 quick tips how to insert variables in Google Tag Manager correctly.

Read more

Track comments with Google Tag Manager

Track Comments with Google Tag Manager: Everything from A to Z

0 comments / January 10, 2018

If you’re running a blog, forum, or another website where readers can express their opinions and discuss, you should definitely measure comment submissions. Thanks to Google Tag Manager, that is possible and you can send that data to other web analytics tools, like Google Analytics.

By tracking comments you’ll be able to see which content drives the engagement the most and therefore better understand what your readers like or dislike because pageviews is not necessarily a good sign of quality likable¬†content.

In this comprehensive guide, I’ll show you how to track comments with Google Tag Manager and send that data to Google Analytics as events.

Read more

What is Conversion Linker in Google Tag Manager

What is Conversion Linker in Google Tag Manager?

12 comments / January 6, 2018

Updated: January 6, 2017.¬†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 AdWords because the ITP will block cookies which are an essential part of Google Adwords Conversion Tracking.

In response, Google introduced several ways how to decrease the impact of the Intelligent Tracking Prevention. Conversion Linker Tag is one of those solutions. Do you need it? Everything is explained in this blog post.

Read more

Older