Guide to Google Tag Manager Templates

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

In Google Tag Manager (GTM), a template makes it easy:

  1. To deploy and share a tag with others within your company.
  2. To use and share a variable with others within your company.

The template which is used to deploy a tag on a website is called the tag template.

The template which is used to deploy a variable is called the variable template.

Thus in GTM there are two categories of templates:

  1. Tag Templates
  2. Variable Templates

Types of Tag Templates in GTM

There are two types of tag templates available in GTM:

#1 Default tag (Built-in) templates – These are ready-made tag templates provided by Google.

#2 Custom tag templates – These are the tag templates created by you or a third party.

GTM provides dozens of default tag templates.

How to find the default tag templates in GTM?

To see the list of all available default tag templates, follow the steps below:

Step-1: Login to your GTM account, click on the ‘Overview’ link and then click on the ‘Add a new tag’ link:

overview

Step-2: Click on ‘Tag Configuration’:

tag configuration

You can now see the list of all available default tag templates:

gtm default tag templates

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

Google Tag Manager Community Template Gallery

Through the Google Tag Manager Community Template Gallery you can find and add the tag and/or variable templates created by third parties to your container.

gtm community template gallery
import tag template

The second method to access the GTM Template Gallery is by clicking on the ‘Search Gallery’ button under ‘Templates’:

search gallery

The third method to access the GTM Template Gallery is by clicking on this link: https://tagmanager.google.com/gallery/

community template gallery

Introduction to Custom Tag Templates

Google allows you to create your own tag template from scratch so that others within your company can use them alongside the built-in tag and variable templates.  You can create and test your custom template via the tag template editor.

Follow the steps below to access the tag template editor:

Step-1: Click on the ‘Templates’ link:

gtm templates

Step-2: Click on the ‘New’ button in the ‘Tag Templates’ section:

create new tag template

You can now see the tag template editor:

template editor

Use this template editor to create, preview, test and run your new tag template.

Types of Variables Templates in GTM

There are two types of variables templates available in GTM:

#1 Default variable templates (Built-In Variables) – These are ready-made variable templates provided by Google.

#2 Custom variable templates – These are the variable templates created by you or a third party.

GTM provides dozens of default variable templates.

How to find the default variable templates in GTM?

To see the list of all available built-in variable templates, follow the steps below:

Step-1: Login to your GTM account, click on the ‘Variables’ link, and then click on the ‘Configure’ button:

built in variables gtm

You can now see the list of all the default variable templates:

built in variables gtm2

Introduction to Custom Variable Templates

Google allows you to create your own variable template from scratch so that others within your company can use them alongside the built-in tags and variables.  You can create and test your custom template via the variable template editor.

Follow the steps below to access the variable template editor:

Step-1: Click on the ‘Templates’ link:

gtm templates

Step-2: Click on the ‘New’ button in the ‘Variable Templates’ section:

new variable tag template

You can now see the variable template editor:

variable template editor

Use this template editor to create, preview, test and run your new variable template.

Related Articles

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade