• Courses
    • Courses
    • Course bundles
  • Blog
  • Services
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • About
    • About
    • Contact
  • Login
  • Courses
    • Courses
    • Course bundles
  • Blog
  • Services
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • About
    • About
    • Contact
  • Login

Google Tag Manager Recipes

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 pageview Tracking Recipe for Google Tag Manager

“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

AddThisTracking Recipe For Google Tag Manager

AddThis Tracking Recipe

Track clicks of AddThis Social Sharing Widget and send these events to Google Analytics.
Get the recipe

AJAX Tracking Recipe for Google Tag Manager

AJAX Tracking Recipe

By Bounteous. 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 Bounteous. Track clicks on email addresses and telephone numbers, and see that data in Google Analytics.
Get the recipe

Cookie Management Recipe For Google Tag Manager

Cookie Management Recipe

By Bounteous. 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

Drift Tracking Google Tag Manager 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 Image

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 Recipe for Google Tag Manager

Enhanced Ecommerce Variable Pack

By Bounteous. Turns Enhanced Ecommerce’s data into variables in GTM.
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

Facebook Full Recipe Image

Facebook Comment Tracking Recipe

Tracks Facebook comments that are embedded on your website. Sends these events to GA.
Get the recipe

File Downloads Recipe Image

File Download Links Recipe

By Bounteous. 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

GDPR Cookie Consent Recipe

A cookie consent with a pack of triggers and variables that respect visitor’s consent.
Get the recipe

gtm4wp Google Tag Manager Container

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 audio Tracking Recipe for Google Tag Manager

HTML5 AudioTracking Recipe

Tracks interactions of embedded HTML5 audio player (play, pause, etc.)
Get the recipe

HTML5 video Tracking Recipe for Google Tag Manager

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 for Google Tag Manager

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 for Google Tag Manager

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

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 Bounteous. Track clicks on links that point to external domains.
Get the recipe

Pageload Time Recipe Image

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

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

Scroll Tracking Recipe (v1)

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

Scroll Tracking Recipe Image

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

tawk.to Recipe for Google Tag Manager

Tawk.to tracking Recipe

Tracks Tawk.to chat interactions and sends events to Google Analytics.
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

UTMZ cookie replicator Recipe for Google Tag Manager

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 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 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 Recipe For Google Tag Manager

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 for Google Tag Manager

Wistia Tracking Recipe

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

Youtube Tracking Recipe Image

Youtube Tracking Recipe for Google Analytics 4

Automatically tracks interactions of embedded YouTube videos, sends events to GA4.
Get the recipe

Youtube Tracking Recipe Image

Youtube Tracking Recipe

Automatically tracks interactions with embedded YouTube videos on your site.
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.

Hi, I'm Julius Fedorovicius and I'm here to help you learn Google Tag Manager and Google Analytics. Join thousands of other digital marketers and digital analysts in this exciting journey.Read more
Analytics Mania
  • Google Tag Manager Courses
  • Google Tag Manager Recipes
  • Google Tag Manager Resources
  • Google Tag Manager Community
  • Login to courses
Follow Analytics Mania
  • Subscribe to newsletter
  • RSS feed
Recent Posts
  • 23 Key Benefits of Google Analytics 4
  • 10 Google Analytics 4 Mistakes in Configuration You Should Avoid
  • Two Link Click Events in Google Tag Manager Preview Mode
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings