- Home
- Blog
- Google Tag Manager
- GTM data-layer basics: training session 001
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.
Shahzada Ali Hassan, founder of Crisperchecked against 5 sources
Tools
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.
- If you need a new setup, use GA4 documentation.
- The data layer holds information for GTMdevelopers.google.com.
- Keep a naming sheet for the values and events you are studying.
- Archive context checked against the original post and Google documentation on 25 October 2026.
FREE AUDIT
NO LOGINCheck what Meta and Google can count on your site
- Your site
Crisper- Meta and Google count it
Enter your website to see how good its tracking is, and whether Meta is likely restricting it.
01Is 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).
02What 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.currencyin theadd_to_cartmessage- GTM variable
Ecommerce Currency- Tag and parameter
- GA4 Event:
add_to_cart;currency={{Ecommerce Currency}}
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.
03Which data-layer documentation should I read now?
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.
04When 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.
05What 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
- 1The data layer holds information for GTMdevelopers.google.com↩
- 2Google Analytics 4 has replaced Universal Analyticssupport.google.com↩
- 3Google's "Add or remove an item from a shopping cart" exampledevelopers.google.com↩
- 4tag sends measurement data, a variable holds a named value, and a trigger decides when a tag runssupport.google.com↩
- 5Google's GA4 ecommerce guide sets currency when sending revenue valuedevelopers.google.com↩

