Table of Contents

Google Tag Manager

What is Google Tag Manager (GTM)

Google Tag Manager (GTM) is a tag management system developed by Google. It simplifies managing and deploying various tags on a website or mobile app.

Tags are snippets of code used to collect data and send it to third-party tools, such as analytics platforms, remarketing services, or advertising networks.

Usually, adding tags to a website involves directly editing the site's code, which could be time-consuming and require technical expertise.

With Google Tag Manager, marketers, and website owners can manage tags without modifying the underlying codebase. Instead, GTM provides a user-friendly web interface that allows you to create, update, and deploy tags easily.

Key features:

  1. Tags: These are snippets of code provided by third-party services. They're added to GTM and collect and send data to those services. Examples include Google Analytics, Facebook Pixel, or AdWords Conversion tags.
  2. Triggers: Triggers determine when and where tags should be fired on a website. They specify the conditions a tag activates, such as page views, clicks, form submissions, or specific URLs.
  3. Variables: Variables capture and store information that is shared between tags and triggers. They allow you to extract data from your website or app, such as page URLs, user interactions, or custom data layers.

How does it work?

Google Tag Manager works by injecting a single container snippet into the HTML code of your website or mobile app. This container snippet is a small JavaScript code that loads the GTM framework when a user loads a page or app.

Once the snippet is loaded, it retrieves the configuration information from the GTM server. This configuration includes the tags, triggers, and variables you set up in the GTM web interface.

When a user interacts with your website or app, triggers are evaluated based on predefined rules and conditions. If a trigger's requirements are met, it will fire and activate the associated tags.

By managing tags, triggers, and variables within the GTM web interface, you can easily make changes and updates without touching the underlying code of your website.

It provides a convenient and flexible way to deploy and manage various tracking and analytics tools without relying on developers for every modification.

Related Terms


What is remarketing? Remarketing, also called retargeting, is a digital marketing approach that engages audiences who previously interacted with a brand to encourage specific actions.

Ad Variations

What are ad variations? Ad variations are different versions of your ads that you create to test and optimize your campaigns, which can help you

Ad Scripts

What are ad scripts? Ad scripts are snippets of code written in JavaScript that allow you to automate and customize various aspects of your Google

Activity rate by channel

What is ‘Activity rate by channel’? Activity rate by channel measures how often users engage with your ads across different advertising channels. This metric considers actions


What is Abandonment-rate? Abondment-rate is the percentage of users who click on a Google Ads ad but then leave the landing page without completing the

Brand-Focused Shopping Campaign

What are Brand-Focused Shopping Campaigns? Brand-Focused Shopping Campaigns are a type of Google Shopping campaign that targets users who are searching for your brand or

Want to hire us to grow your ecommerce store?

We’ve generated millions for our clients using the methods we’ve developed over the years with a singular focus on Google Ads and CRO for ecommerce. To discover how we can help grow your business:

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to Our Newsletter to Improve Your eCommerce Digital Marketing!

Thank you for your interest in our newsletters. We will send you only the most important news and updates. No spam, we promise.

We are committed to protecting your privacy, as described in our Privacy policy.

What’s your goal today?

1. Hire us to grow your ecommerce store

We’ve generated millions for our clients, using the methods we’ve developed over years with a singular focus on Google Ads for ecommerce. To discover how we can help grow your business:

Claim your FREE website strategy session with one of our renowned experts.

2. Learn & develop your ecommerce skills

Watch our highly regarded YouTube channel, followed by over 23,000 store owners and ecommerce learners from around the world.

You can also subscribe to our weekly email newsletter to get real-world tested growth and optimization strategies, as well as notifications on anything you may need to know as an ecommerce store owner.

Browse our blog, written and structured to be the best resource in the world for anyone starting and growing their online store. It includes strategy guides, setup instructions, checklists, and tools.

Explore our KeyCompendium, which is a comprehensive wiki of digital marketing terms. Many readers have commented on the usefulness of this content.

3. Join our team

If you want to join our team—or discover why our team members love working with KeyCommerce—then see our “Careers” page.

4. Contact us

We help ecommerce store owners around the world, so get in touch!