🚀 Goal
Connect Google Analytics 4 to your website through Google Tag Manager so you can track traffic, user behaviour, and conversions accurately.
🎯 Ideal Outcome
GA4 is firing on all pages, the Measurement ID is connected through GTM, data is appearing in your GA4 real-time report, and the setup is verified with Tag Assistant.
🤔 Why This Matters
GA4 is the only way to understand where your website traffic comes from, what pages people visit, how long they stay, and whether they convert. Without it, you are running campaigns and making decisions blind. Every digital marketer working for clients must be able to set this up independently.
Reshma
SEO & Analytics Lead, Unlearn Academy
“The most common mistake I see students make with GA4 is using 'All Pages' as the trigger instead of 'Initialization - All Pages'. The difference seems minor but it causes data loss on faster-loading pages. Also, always verify in the Real-Time report on the same day you set it up — I have seen students assume it is working for weeks only to discover the tag was never published in GTM. Takes 30 seconds to confirm.”
⚠️ Before You Start
Google Tag Manager already installed on the website (see SOP 004)
A Google Analytics 4 account and property created for the website
Tag Assistant Companion Chrome extension installed
Note: Use a consistent naming convention from the start: [Tool]_[Purpose]. Example: GA4_TrackingCode, META_Pixel, GADS_Conversion. This keeps GTM organised across years of use.
Pro tip: Always use 'Initialization - All Pages' for GA4, not just 'All Pages'. Initialization fires earlier in the page load sequence, which means better data accuracy — especially for single-page applications.
Pro tip: If Real-Time shows 0 users even after browsing your site for 1 minute, check that you are not using an ad blocker. Ad blockers can block GA4 tracking in your own browser.
SOP Complete
You've completed all steps. Document your before/after results and add this to your portfolio as a case study.
Quick Reference
🧐 Where
Google Analytics (analytics.google.com) and Google Tag Manager (tagmanager.google.com).
🗓 When
Once, when setting up a new website or onboarding a new client. Re-run the QA steps after any major website change.
👤 Who
Digital marketer, analytics manager, or web developer.
Want to learn this live?
Join a cohort — real mentors, client briefs, and structured progression from L1 to L4.
Enquire NowSave This SOP
Related SOPs