Updated: January 19th, 2024
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
AJAX Tracking Recipe
By Bounteous. Listens and publishes data about AJAX requests into the data layer.
Get the recipe
Calendly Tracking Recipe
Tracks bookings of an embedded Calendly widget and sends events to GA4.
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 Form 7 Recipe
Track Contact Form 7 submissions and send events to Google Analytics 4.
Get the recipe
Contact Link Clicks Recipe
Track clicks on email addresses and telephone numbers, and see that data in Google Analytics.
Get the recipe
Convertkit Form Tracking Recipe
Tracks form submissions of embedded Convertkit Forms.
Get the recipe
Cookie Management Recipe
By Bounteous. Tools that help you store and remove cookies using data layer pushes.
Get the recipe
Drift Tracking Recipe
Tracks interactions of Drift Chat Bot and sends the data to Google Analytics.
Get the recipe
Exit-intent Tracking Recipe
Track when visitor intends to leave the website and creates a trigger.
Get the recipe
File Download Links Recipe
Track downloads on your site and send that data to Google Analytics.
Get the recipe
Gravity Forms Recipe
Track Gravity Forms with Google Analytics 4.
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
Hubspot Forms Tracking Container
Tracks submissions of embedded Hubspot forms and sends events to Google Analytics 4.
Get the recipe
HTML5 Audio Tracking Recipe
Tracks interactions of embedded HTML5 audio player (play, pause, etc.)
Get the recipe
HTML5 Video Tracking Recipe
Tracks interactions of HTML5 video player (play, pause, etc.) with Google Analytics 4
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
Klaviyo Forms Recipe
Track submissions of Klaviyo forms and send those events to Google Analytics 4.
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
Outbound Link Clicks Recipe
Track clicks on links that point to external domains.
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
Paperform Tracking Recipe
By Jude Nwachukwu. This Google Tag Manager Recipe tracks interactions of Paperform submissions and sends events to GA4.
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
Adds automatic scroll tracking to your site and sends events to Google Analytics.
Get the recipe
Tawk.to tracking Recipe
Tracks Tawk.to chat interactions and sends 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
This Google Tag Manager Recipe tracks interactions of embedded Vimeo player (play, pause, etc.) and sends events to Google Analytics 4.
Get the recipe
Wistia Tracking Recipe
By Bounteous. Automatically tracks interactions with embedded Wistia videos.
Get the recipe
Youtube Tracking Recipe
Automatically tracks interactions of embedded YouTube videos, sends events to GA4.
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 look for particular website interactions 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.