Google Analytics 4 & Google Tag Manager Installation Guide & Looker Studio
PART 1 — Understanding the Basics
1) Google Analytics (GA4)
2) Google Tag Manager (GTM)
Part 2: Create Google Analytics (GA4) From Scratch
Step 1: Create GA4 Property

Step 2: Create Web Data Stream

Get Measurement ID

PART 3 — Create Google Tag Manager (GTM)
Step 1: Create Account

What is a Container?

Step 2: Install GTM + GA4 on Website
Step 2.1 — Initial GA4 Installation Snippet (From Analytics)

Step 2.2 — Unified GTM + GA4 Script (Duplicate-Safe)
Main Setup Script
GA4 Compatibility Loader (No Duplicate Page View)
Step 2.3 — Host Script in S3 (Centralized Control)
Step 2.4 — Add Script via Environment Configuration
Final Architecture
Why This Approach Is Better Than Default Snippet
PART 4 — Connect GTM to GA4
Step 1: Create GA4 Configuration Tag
Step 2: Add Trigger

Step 3: Click Submit → Publish
PART 5 — Verify Installation

PART 6 — Track Page Views Properly
PART 7 — Track Button Clicks
Step 1: Enable Built-in Variables

Step 2: Create Trigger

Step 3: Create Event Tag

PART 8 — Event Parameters Not Showing?
Step 1: Register Custom Dimension

PART 9 — Create Dashboard

PART 10 — QA / UAT / PROD Setup (Important)
PART 11 — Export / Import GTM Container


PART 12 — Debugging Checklist
Final Architecture
Common Mistakes & Troubleshooting Guide
Events Are Not Showing in GA4
Possible Causes
How to Fix
Event Parameters Not Showing in Reports
Why This Happens
How to Fix
QA Data Showing but UAT Not Showing
Possible Causes
How to Fix
Tags Showing Old Measurement ID
Why It Happens
How to Fix
Duplicate Page Views
Why It Happens
How to Fix
Custom Events Not Firing
Possible Causes
How to Fix
Realtime Shows Data but Reports Don’t
Why
Fix
Container Changes Not Reflecting
Why
Fix
Quick Technical Debug Order (Practical Version)
Best Practices (Very Important)
Environment Architecture
Naming & Event Design
Testing & Deployment
Parameter Management
Analytics Debug Checklist
Introduction to Looker Studio – Basics and interface overview
1. Create a new asset (Report, Data Source, or Exploration)

2. Create a New Report

3. Report Editor Screen

4. Add Data Source

5. Data Panel


6. Add a Chart


7. Properties Panel

8. Add a Control


Connecting Data - Linking Google Analytics (GA) or any other data source


Visualizations – Charts, tables, and graphs
Adding Filters
1. Adding a Filter Using a Control (Add a Control)
2. Adding a Filter from the SETUP Tab

Creating Calculated Fields


Use Case 1: Creating a Custom Dimension (Page Name)
Problem
Solution
Steps:

What this does:
Use Case 2: Creating a Custom Metric (Average Time Per User)
Problem
Solution
Steps:

What this does:
Key Difference
Last updated
Was this helpful?