Analytics · guide

Google Tag Manager: managing tracking without code

GTM is a free tool you add to your site once and then manage every tracking code (GA4, Meta Pixel, Google Ads and others) from one interface. The marketing team can set up new events without waiting for a developer.

Made by
Google
Price
Free
Key concepts
Tag, Trigger, Variable
Server-side
Available

What is Google Tag Manager?

GTM sits between your site and your tracking tools. Only one GTM snippet goes on the site; every other tag is added from the interface. A trigger decides when each tag fires, and variables decide what data it sends.

The most important part is the dataLayer: the structured data the site passes to GTM. With a well-written dataLayer agreement with the developer, e-commerce, form and user events become reliable.

What GTM makes possible

  1. Centralised tags

    All tracking codes in one place, with one version history.

  2. Event tracking

    Click, form, scroll and video events without code.

  3. E-commerce dataLayer

    Passing product, cart and purchase events.

  4. Consent Mode

    Tag behaviour that follows user consent.

  5. Preview and testing

    Checking a change before it goes live.

  6. Server-side tagging

    More accurate, privacy-friendly data collection.

What GTM works with

My experience

Key tracking systems I built and run with GTM:

  • A full event system and funnel tracking for Azerlotereya.com
  • Conversion tracking for the SIMA and AZINCLOUD landing pages
  • An Enhanced Ecommerce dataLayer for Irshad
  • GTM, GA4 and Matomo setup for ASANT Group
See the cases

GTM resources

  • GA4 event plan and dataLayer map

  • UTM builder

  • Google Analytics 4 guide

Questions about GTM

Is GTM free?

Yes, standard GTM is free. The server-side option adds server costs.

Does GTM slow the site down?

Set up properly, the impact is minimal. Slowness usually comes from unnecessary and outdated tags.

What is the dataLayer?

It is the structured data layer the site passes to GTM: product name, price, user status and so on.

What is the difference between GTM and GA4?

GA4 collects and analyses data. GTM is the tool that sends that data to GA4 and other tools.

Other tool guides