In this Google Tag Manager tutorial, we’ll show you how to set up GTM, manage tags, triggers, and variables, and add Google Analytics to your website using the Google Tag. Whether you’re new to Google Tag Manager or want to improve your tracking setup, this step-by-step guide will help you simplify website tracking.
What is Google Tag Manager?
Google Tag Manager allows you to deploy tags to perform certain functions like tracking page views and button clicks.
What Google Tag Manager is NOT
Many people confuse Google Tag Manager with Google Analytics. While it is true that some of the tags from Google Analytics are examples of tags that can be managed through GTM, Google Analytics itself is a completely different tool. The primary purpose of this feature is to track and store data, in addition to allowing the user to generate reports based on the data.
Understanding GTM terminology
In order for this article to make sense, it is important to have an understanding of some of the terminology associated with Google Tag Manager. The following are some basic terms and definitions that are used within the realm of Google Tag Manager:
- Tags: In connection with GTM, tags are pieces of javascript or tracking pixels that get added to your website. These tracking codes come from third parties, with examples including Facebook pixels and Adwords conversion tracking code.
- Triggers: Triggers are built-in rules that tell Google Tag Manager when to use that tag. GTM uses these sets of parameters to determine when and when not to fire a particular tag, such as page views and form submissions.
- Variables: Variables are a piece of information you would like to be referenced in your tags and triggers. GTM includes a lot of variables. Examples would be a page URL, a target URL, or a click class. A variable would be incorporated into the Google Tag Manager by you according to your specific needs.
- Containers: Containers are what hold a group of tags, triggers, and variables within your website. Container script tags are used by you to install Google Tag Manager on your website.
How to set up your website with Google Tag Manager
Below, we outline the steps to help you install Google Tag Manager to start deploying tags. Here’s how to get started:
1. Create a tag manager account
The first step is creating a Google Tag Manager account. To do so, follow these steps:
GTM Tutorial Video for Beginners
For a “how to” video, check out: