Google Tag Manager3 min read0 views

GTM data-layer basics: training session 001

Use the archived GTM naming lesson to practise reading a data layer, then follow current GA4 documentation for ecommerce work.

The short answer

Use session 001 for Google Tag Manager (GTM) naming and data-layer basics, not a current Universal Analytics setup. Google Analytics 4 has replaced Universal Analyticssupport.google.com. These notes are for learners reviewing the older lesson and preparing a clear set of questions before studying a current ecommerce implementation.

Ask an assistant

ChatGPTClaudePerplexity

FREE AUDIT

NO LOGIN

Check what Meta and Google can count on your site

  1. Your site
  2. Crisper
  3. Meta and Google count it

Enter your website to see how good its tracking is, and whether Meta is likely restricting it.

Run a free audit

Is training session 001 still useful for learning GTM?

Open Google's "Add or remove an item from a shopping cart" exampledevelopers.google.com, select Tag Manager and find the add_to_cart section. Keep its data-layer message and configuration together while you read.

A tag sends measurement data, a variable holds a named value, and a trigger decides when a tag runssupport.google.com. These are separate parts of Google Tag Manager (GTM).

What should I learn from the GTM naming discussion?

Use this illustrative naming exercise to trace one sample value. It is new practice material, not recovered code from the archived session.

1. Read the supplied example

In Google's add_to_cart exampledevelopers.google.com, currency inside ecommerce is USD. The named variable Ecommerce Currency reads ecommerce.currency; the GA4 Event tag uses it for the currency parameterdevelopers.google.com. Done when you can locate those three names in the example.

2. Complete the naming sheet

Copy this completed row into your notes. Keep the data-layer path, variable name and outgoing parameter in separate columns.

Event currency: USD

Source path
ecommerce.currency in the add_to_cart message
GTM variable
Ecommerce Currency
Tag and parameter
GA4 Event: add_to_cart; currency = {{Ecommerce Currency}}
Illustrative naming sheet for one value in Google's add-to-cart exampledevelopers.google.com.

Done when you can cover the last column and reconstruct it from the variable column without confusing a name with its value.

3. Trace the value to its use

Trace the row on paper: sample message USD → Ecommerce Currency → GA4 currency: USD. Google's example pairs that tag with a Custom Event trigger whose event name is add_to_cartdevelopers.google.com. Done when your trace names both the value path and the event that starts the tag.

Read Google's data-layer guide for how GTM receives informationdevelopers.google.com and the GA4 ecommerce documentation for the event you need. Keep a list of differences rather than renaming fields by guesswork.

When should I skip this archived GTM lesson?

Skip it as an installation guide if your goal is to configure a current store. Start from current platform instructions instead.

  • Copying an old example without identifying its analytics version leaves the target unclear. Label the version before studying the fields.
  • Using a label without defining it makes review harder. Record its meaning and source in the naming sheet.

What changed in this guide

  • 25 October 2026: Marked the Universal Analytics lesson as historical and linked current Google documentation. Added a naming and reading exercise with completion checks. Supplied an illustrative Google add-to-cart naming sheet, traced its currency value to the GA4 parameter, and defined tag, variable and trigger.

Sources

5 sources
  1. 1The data layer holds information for GTM↩
  2. 2Google Analytics 4 has replaced Universal Analytics↩
  3. 3Google's "Add or remove an item from a shopping cart" example↩
  4. 4tag sends measurement data, a variable holds a named value, and a trigger decides when a tag runs↩
  5. 5Google's GA4 ecommerce guide sets currency when sending revenue value↩