Updated: January 12th, 2020

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 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

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

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

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

LinkedIn Tracking Track clicks of LinkedIn SHARE button and send those events to Google Analytics.

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

Twitter “Tweet” Tracking Track clicks of Twitter TWEET button and send these events 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.