Updated: April 14th, 2021
An ever-growing list of downloadable GTM containers with the most common solutions. Download them, import them 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 detailed step-by-step instructions. 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 Page View” Recipe
Counts the number of page views and stores it in a cookie. Fires a trigger after 3 page views.
Get the recipe
AddThis Tracking Recipe
Track clicks of AddThis Social Sharing Widget and send these events to Google Analytics.
Get the recipe
AJAX Tracking Recipe
By Bounteous. Listens and publishes data about AJAX requests into the data layer.
Get the recipe
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 Recipe
By Bounteous. Track clicks on email addresses and telephone numbers, and see that data in Google Analytics.
Get the recipe
Cookie Management Recipe
By Bounteous. Tools that help you store and remove cookies using data layer pushes.
Get the recipe
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
By Isaac Abramowitz. Sends an event to Google Analytics when a visitor posts a comment via DISQUS.
Get the recipe
Drift Tracking Recipe
By Ryan Praskievicz. Tracks interactions of Drift Chat Bot and sends the data to Google Analytics.
Get the recipe
Engagement timer recipe
By Bounteous. Adds engagement time tracking to your site and sends events to Google Analytics.
Get the recipe
Enhanced Ecommerce Variable Pack
By Bounteous. Turns Enhanced Ecommerce’s data into variables in GTM.
Get the recipe
Exit-intent Tracking Recipe
Track when visitor intends to leave the website and creates a trigger.
Get the recipe
Facebook Comment Tracking Recipe
Tracks Facebook comments that are embedded on your website. Sends these events to GA.
Get the recipe
File Download Links Recipe
By Bounteous. Track downloads on your site and send that data to Google Analytics.
Get the recipe
Form Abandonment Recipe
Tracks multiple forms on a page and sends Google Analytics event in case of form abandonment.
Get the recipe
GDPR Cookie Consent Recipe
A cookie consent with a pack of triggers and variables that respect visitor’s consent.
Get the recipe
GTM For WordPress (GTM4WP) Container
By Jules Stuifbergen. Creates a lot of tags, triggers, and variables (related to the GTM4WP plugin).
Get the recipe
HTML5 AudioTracking Recipe
Tracks interactions of embedded HTML5 audio player (play, pause, etc.)
Get the recipe
HTML5 Video Tracking Recipe for GA4
Tracks interactions of HTML5 video player (play, pause, etc.) with Google Analytics 4
Get the recipe
HTML5 Video Tracking Recipe
By David Vallejo. Tracks interactions of HTML5 video player (play, pause, etc.). For Universal Analytics.
Get the recipe
JW Player Tracking Recipe
By Pat Grady. This Google Tag Manager Recipe tracks interactions of embedded JW player (play, pause, 100%, etc.).
Get the recipe
Konami Code – Doge
A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe
Konami Code – Harlem Shake
A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe
Konami Code – Rick Roll
A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe
Konami Code – Shooting Star
A prank/meme for your visitors, who enter Konami code on your website.
Get the recipe
LinkedIn Tracking
Track clicks of LinkedIn SHARE button and send those events to Google Analytics.
Get the recipe
Mixcloud Tracking Recipe
By Simo Ahava. Tracks interactions of embedded Mixcloud player.
Get the recipe
Outbound Link Clicks Recipe
By Bounteous. Track clicks on links that point to external domains.
Get the recipe
Page Load Time Recipe
By Bounteous. Get a better picture of how long it takes your website to load, page by page, using Google Analytics events.
Get the recipe
Page Translation Tracking Recipe
Track when visitors translate your page and find out whether you need a localized website version.
Get the recipe
Pinterest Tracking Recipe
Track clicks of Pinterest Pin and Follow buttons, and send these events to Google Analytics.
Get the recipe
Print Tracking
By Bounteous / Eivind Savio / TJ VanToll. Tracks when users intend to print a page and sends these events to Google Analytics.
Get the recipe
Scroll Tracking Recipe (v1)
Adds automatic scroll tracking to your site and sends events to Google Analytics.
Get the recipe
Scroll Tracking Recipe (v2)
By Simo Ahava. Sends the farthest reached scroll threshold and sends it as an event to GA.
Get the recipe
Soundcloud Tracking Recipe
By Simo Ahava. This Google Tag Manager Recipe tracks interactions of embedded Soundcloud player (play, pause, etc.).
Get the recipe
Tawk.to tracking Recipe
Tracks Tawk.to chat interactions and sends events to Google Analytics.
Get the recipe
Twitter “Tweet” Tracking
Track clicks of Twitter TWEET button and send these events to Google Analytics.
Get the recipe
UTMZ Cookie Replicator Recipe
By Bounteous. Sets cookie with visitor’s traffic source data which can be later used in tags, triggers, or other variables.
Get the recipe
Vidyard Tracking Recipe
By Vidyard. This Google Tag Manager Recipe tracks interactions of embedded Vidyard player (play, pause, etc.).
Get the recipe
Vimeo Tracking Recipe for GA4
This Google Tag Manager Recipe tracks interactions of embedded Vimeo player (play, pause, etc.) and sends events to Google Analytics 4.
Get the recipe
Vimeo Tracking Recipe
By Bounteous. This Google Tag Manager Recipe tracks interactions of embedded Vimeo player (play, pause, etc.).
Get the recipe
Wistia Tracking Recipe
By Bounteous. Automatically tracks interactions with embedded Wistia videos.
Get the recipe
Youtube Tracking Recipe for Google Analytics 4
Automatically tracks interactions of embedded YouTube videos, sends events to GA4.
Get the recipe
Youtube Tracking Recipe
Automatically tracks interactions with embedded YouTube videos on your site.
Get the recipe
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.