Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Updated: June 24th, 2017

An ever-growing list of downloadable GTM containers with most common solutions. Download them, import to Google Tag Manager and you’re good to go! Expand your web analytics with ease!

Even if you’re new to recipes, every one of them has a detailed step-by-step instruction. So don’t hesitate, scroll down and choose the topic you’re most interested in.

Do you know some GTM recipes/auto-event listeners that are not included in this library? Let me know via Twitter or email julius [at] analyticsmania.com and I’ll add them.



3rd pageview Tracking Recipe for Google Tag Manager

“3rd Page View” Recipe

Counts the number of page views and stores it in cookie. Fires a trigger after 3 page views.
Get the recipe

AJAX Tracking Recipe for Google Tag Manager

AJAX Tracking Recipe

By Lunametrics. Listens and publishes data about AJAX requests into the data layer.
Get the recipe

Empty GTM Container Recipe for Google Tag Manager

Clean GTM Container

If you wish to purge the entire GTM container in just a few clicks, use this recipe.
Get the recipe

contact link clicks tracking recipe for google tag manager

Contact Link Clicks Recipe

By Lunametrics. Track clicks on email addresses and telephone numbers, and see that data in Google Analytics.
Get the recipe

Cookie Consent GTM Container Recipe

Cookie Consent

Displays a cookie consent notification to all website visitors.
Get the recipe

Cookie Management Recipe For Google Tag Manager

Cookie Management Recipe

By Lunametrics. Tools that help you store and remove cookies using data layer pushes.
Get the recipe

Copy Text Tracking Recipe for Google Tag Manager

Copy Text Recipe

By Daniel Carlbom. Sends an event to Google Analytics when a visitor copies a text on your website.
Get the recipe

Disqus Tracking Recipe for Google Tag Manager

DISQUS Tracking recipe

By Isaac Abramowitz. Sends an event to Google Analytics when a visitor posts a comment via DISQUS.
Get the recipe

Engagement Timer Recipe Image

Engagement timer recipe

By Lunametrics. Adds engagement time tracking to your site and sends events to Google Analytics.
Get the recipe

Exit-intent Tracking Recipe for Google Tag Manager

Exit-intent Tracking Recipe

Track when visitor intends to leave the website and creates a trigger.
Get the recipe

Track Facebook Like with Google Tag Manager

Facebook “Like” Tracking

Track clicks of Facebook LIKE button and send these events to Google Analytics.
Get the recipe

File Downloads Recipe Image

File Download LinkS Recipe

By Lunametrics. Track downloads on your site and send that data to Google Analytics.
Get the recipe

Form Abandonment Listener Recipe Image

Form Abandonment Recipe

Tracks multiple forms on a page and sends Google Analytics event in case of form abandonment.
Get the recipe

Hover Tracking Recipe For Google Tag Manager

Hover Listener Recipe

By Lunametrics. Adds a listener to your page that recognizes when mouse hovers on website element.
Get the recipe

JW Player Tracking Recipe for Google Tag Manager

JW Player Tracking Recipe

By Pat Grady. This Google Tag Manager Recipe tracks interactions of embedded JW player (play, pause, complete, etc.).
Get the recipe

Doge Konami Code Recipe for Google Tag Manager

Konami Code – Doge

A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe

Harlem Shake Konami Code Recipe For Google Tag Manager

Konami Code – Harlem Shake

A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe

RickRoll Konami code Recipe for Google Tag Manager

Konami Code – Rick Roll

A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe

Shooting Star Konami Code Recipe for GTM

Konami Code – Shooting Star

A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe

Linkedin Tracking Recipe for Google Tag Manager

LinkedIn Tracking

Track clicks of LinkedIn SHARE button and send those events to Google Analytics.
Get the recipe

Mixcloud Tracking Recipe for Google Tag Manager

Mixcloud Tracking Recipe

By Simo Ahava. Tracks interactions of embedded Mixcloud player.
Get the recipe

Outbound Link Recipe Image

Outbound Link Clicks Recipe

By Lunametrics. Track clicks on links that point to external domains.
Get the recipe

Pageload Time Recipe Image

Page Load Time Recipe

By Lunametrics. Get a better picture of how long it takes your website to load, page by page, using Google Analytics events.
Get the recipe

Pinterest Tracking Recipe for Google Tag Manager

Pinterest Tracking Recipe

Track clicks of Pinterest Pin and Follow buttons, and send these events to Google Analytics.
Get the recipe

Print Tracking Recipe for Google Tag Manager

Print Tracking

By Lunametrics / Eivind Savio / TJ VanToll. Tracks when users intent to print a page and sends these events to Google Analytics.
Get the recipe

Scroll Tracking Recipe Image

Scroll Tracking Recipe

By Lunametrics. Adds automatic scroll tracking to your site and sends events to Google Analytics.
Get the recipe

Soundcloud Tracking Recipe for Google Tag Manager

Soundcloud Tracking Recipe

By Simo Ahava. This Google Tag Manager Recipe tracks interactions of embedded Soundcloud player (play, pause, etc.).
Get the recipe

Track Twitter Tweet Button Clicks With Google Tag Manager

Twitter “Tweet” Tracking

Track clicks of Twitter TWEET button and send these events to Google Analytics.
Get the recipe

Vidyard Listener Recipe for Google Tag Manager

Vidyard Tracking Recipe

By Vidyard. This Google Tag Manager Recipe tracks interactions of embedded Vidyard player (play, pause, etc.).
Get the recipe

Vimeo Recipe For Google Tag Manager

Vimeo Tracking Recipe

By Cardinal Path. This Google Tag Manager Recipe tracks interactions of embedded Vimeo player (play, pause, etc.).
Get the recipe

Wistia Tracking Recipe for Google Tag Manager

Wistia Tracking Recipe

By Lunametrics. Automatically tracks interactions with embedded Wistia videos.
Get the recipe

Youtube Tracking Recipe Image

Youtube Tracking Recipe

By Lunametrics. Automatically tracks interactions with embedded YouTube videos on your site.
Get the recipe

Youtube Tracking Recipe Image

Youtube Tracking Recipe V2

By Cardinal Path. Automatically tracks interactions with embedded YouTube videos on your site.
Get the recipe

Youtube Tracking Recipe Image

Youtube Tracking Recipe V3

If Youtube Tracking Recipe V1 or V2 did not work for you, try this solution.
Get the recipe

Zopim Tracking Recipe for Google Tag Manager

Zopim (Zendesk) Chat Tracking Recipe

Tracks when chat is started and ended. These events are sent to Google Analytics.
Get the recipe



GOogle TAg Manager Recipes in a Nutshell

Google Tag Manager Recipes are ready-made container templates with tags, triggers and variables. Just download any recipe, import it to your GTM container and start tracking!

The majority of Google Tag Manager recipes heavily rely on custom auto-event listeners which can be added to GTM as Custom HTML tags.

These listeners constantly looking for particular website interactions to happen and initiate dataLayer.push events accordingly (usually with metadata). Then dataLayer events trigger Google Analytics event tags to fire.

Pro tip. Choose recipes wisely. Do not install them all at once, because it might slow down your website’s page loading speed. First, decide what you really need, then import. Try keeping things optimal and don’t get overwhelmed by too much data.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn