Conversion Event Tracking & Analysis — GTM, GA4 & Looker Studio
A comprehensive conversion tracking implementation using Google Tag Manager with custom Data Layer Variables, sending 7 key events with rich custom parameters to GA4 — including articles read before conversion, user type, subscription plan, and onboarding preferences — visualised in Looker Studio.
With custom parameters
Dynamic GTM capture
Articles, user type, plan
Funnel & content analysis
01 / Project Overview
What We Built & Why
The client had basic GA4 pageview tracking but no visibility into the conversion funnel — which content drove free trial sign-ups, which articles users read before subscribing, or why users viewed the paywall but didn't convert. Critical user journey data was invisible.
We implemented a full conversion tracking system using
Google Tag Manager with Data Layer Variables (DLV) and
JavaScript Variables to capture 7 key events — each with rich custom parameters
like articles_read_before_conversion, user_type,
subscription_plan, and newsletter_type_selected — sending
everything to GA4 Custom Dimensions for deep Looker Studio analysis.
Core problem solved: GA4 tracked sessions but not journeys. Now every purchase fires with the last 3 articles the user read, every trial sign-up carries content that drove the conversion, and every onboarding step captures newsletter preferences and age category — giving the content and marketing teams proof of what actually converts.
GTM Data Layer
Custom DLVs capture user_id, user_type, articles_read, and subscription data on every event.
GA4 Custom Dimensions
Custom dimensions created for all parameters — age_category, articles, user type, plan, newsletter.
Content Attribution
Which articles users read before converting — definitive proof of content ROI.
Looker Studio
Funnel analysis, content interaction reports, and onboarding dashboards built in Looker.
Live Implementation
GTM Tags, Variables & GA4 Custom Dimensions in Production
Step 01
GTM Tag — GA4 purchaseComplete with Custom Parameters
The live GTM tag GA4 - purchaseComplete sends a GA4 event named
purchaseComplete to Measurement ID G-5XSH80P8Q7 — with 6 custom event parameters
mapped to Data Layer Variables.
all_last_visited_articles → {{DLV - Last Visited Articles}}paywall_type → {{DLV - Paywall Type}}user_state → {{DLV - User State}}user_type → {{DLV - User Type}}wp_user_id → {{DLV - wp_user_id}}membershipGroup → {{DLV – membershipGroup}}Step 02
GTM User-Defined Variables — DLVs & JS Variables
The live GTM workspace shows all user-defined variables — including Data Layer Variables, 1st Party Cookies, Custom JavaScript, DOM Elements, and Lookup Tables for capturing dynamic user data on every event.
DLV - Last Visited Articles — Data Layer VariableDLV - membershipType — Data Layer VariableDLV - newsletter_selection — Data Layer VariableCookie - Is Trial Upgrade Flow — 1st Party CookieAge - page category — Custom JavaScriptCategory Group (Age) — Lookup Table
Step 03
GA4 Custom Dimensions — All Parameters Registered
The ParentData - GA4 property shows all custom dimensions registered in Admin → Custom Definitions — every GTM parameter mapped to a named GA4 dimension for Looker Studio reporting.
age_category (Event scope)all_last_visited_articlespd_sub_typeemail_Idchildren_birthdatesis_existing_user02 / Conversion Events Tracked
7 Key Events — Custom Parameters Included
Subscription Generated
user_id, user_typesubscription_plan — Basic, Premiumarticles_read_before_conversionFree Trial Sign-Up
user_id, user_typearticles_read_before_trialCustom Onboarding Completed
user_id, user_typenewsletter_type_selectedage_category_selectedContact Us Form Submission
user_id, user_typeBook Appointment
user_id, user_typePaywall View
user_id, user_typepaywall_type parameter includedUser Visited Plan Page
user_id, user_type03 / Technical Implementation
Three Phases of Delivery
Phase 1 — GTM Setup
Phase 2 — GA4 Configuration
Phase 3 — Looker Reporting
04 / Key Metrics & Insights
What the System Measures
Conversion Metrics
Daily free trial sign-ups, form submissions, appointment bookings, subscriptions generated — with conversion rates between each funnel stage.
Content Attribution
Which articles users read before converting to a free trial or paid subscription — the definitive "closer content" list for the editorial team.
Onboarding Analysis
Newsletter type selected, age category chosen — which onboarding paths lead to higher engagement and lower churn over the first 30 days.
Paywall Performance
Paywall view rate, paywall type effectiveness, and paywall-to-subscription conversion rate — by user_type (anonymous, free, paid).
Funnel Visualisation
Plan page visit → paywall view → free trial sign-up → subscription — drop-off at each step identified for targeted optimisation.
Ad-Level Attribution
Which marketing campaigns and ads drive free trial sign-ups and subscription purchases — complete ROI measurement per channel.
05 / Business Impact
What This Tracking System Delivers
Content teams can now prove which articles drive conversions — the last 3 articles before every purchase are captured, giving editorial teams definitive ROI data.
Marketing teams build GA4 cohorts from custom dimensions — e.g. "users who read Article X, are 5 days into trial, haven't purchased" — for hyper-targeted re-engagement.
Improved conversion rates — detailed funnel analysis and paywall tracking identify exactly where users drop off, enabling targeted fixes at each friction point.
Real-time Looker dashboards — automated reports on conversions, content performance, and onboarding provide decision-makers with live insights without manual extraction.
06 / Tech Stack
Technologies Used
07 / Skills & Deliverables
What Was Built & Applied
Want rich conversion tracking with custom parameters for your product?
From GTM data layer setup to GA4 custom dimensions and Looker Studio dashboards — we build tracking systems that tell you exactly what content and campaigns drive conversions.