Intermediate · Chapter 1 · Last updated 2026-10-02
GTM tracking skeleton
Use Google Tag Manager to turn landing page clicks into events Meta and GA4 both recognize, and switch pixels or properties without editing the page again.
In this chapter
- Feed Meta Pixel and GA4 from one GTM container, so switching pixels later never means editing the web page again
- Decide which clicks on your landing page count as "buying" and which only as "browsing", and how mixing them teaches optimization the wrong thing
- Bring the Basic template's `app.js` up to a version that sends parameters, with every change spelled out
- Three silent failures that make you think it's installed when the numbers are actually wrong, and how to spot each one
- How to verify each step, not by "it looks like it's running" but by pointing at a number and saying "this proves it worked"
Terms in this chapter: Meta Pixel, Event, GTM, Trigger, Variable, Data layer