Tracking Guides
Tracking from A to Z: 68 step-by-step guides on GTM, GA4, Google Ads, Meta, server-side tagging and consent, written and maintained by Atiqul Islam. Prefer watching? See the video tutorials.
Foundations
Google Ads Lead Form Conversion Tracking with Enhanced Conversions in GTM (2026 Setup)
Step by step: the new Google tag, a dataLayer lead event, email and phone variables, the Google Ads conversion tag and the user-provided data tag, plus how to test and avoid duplicate conversions.
Choosing a Consent Management Platform: Cookiebot, CookieYes, Usercentrics, Complianz, OneTrust and Others Compared for GTM and Consent Mode v2
What a consent management platform must do to work properly with Google Tag Manager, Consent Mode v2 and non-Google pixels, how the common options compare on GTM templates, regional defaults, Meta and TikTok handling, cost and server-side support, and the configuration checklist regardless of which you pick.
Cookies and Tracking Prevention Explained: First-Party vs Third-Party, Safari ITP, Ad Blockers and What Still Works in 2026
A clear explanation of how cookies underpin analytics and ad attribution, what first-party and third-party actually mean, how Safari's Intelligent Tracking Prevention and other browser protections shorten or block them, and the practical measures that keep measurement working.
The dataLayer Explained: How It Works, How to Structure It, and the Code Patterns Every Site Needs
What the Google Tag Manager dataLayer is, how pushes and Data Layer Variables work, naming and structure rules, ecommerce and user data patterns, single page app handling, and the mistakes that silently break tracking.
Dynamic Conversion Values in Google Ads and Meta: Pass Real Revenue, Assign Lead Values, and Make Value-Based Bidding Work
How to send real transaction values with every purchase conversion, how to assign meaningful values to leads by type, how conversion value rules and offline value uploads refine them, and the thresholds and settings that make Target ROAS and Maximise Conversion Value actually work.
Google Ads Call Tracking: Call Assets, Website Call Conversions, Call Tracking Platforms and Qualified Call Uploads
How to count phone calls as Google Ads conversions properly: call assets with call reporting, website click-to-call through GTM, Google forwarding numbers on the site, dynamic number insertion platforms, splitting business hours from after-hours, and uploading qualified calls as offline conversions.
Google Ads Conversion Tracking with Google Tag Manager: The Complete Setup, From Conversion Action to Enhanced Conversions
The reference setup for Google Ads conversion tracking through Google Tag Manager: creating conversion actions, the Conversion Linker, triggers for forms, purchases and calls, dynamic values, deduplication, Enhanced Conversions and testing.
Google Ads Enhanced Conversions in 2026: The Unified Setting, GTM Setup, Enhanced Conversions for Leads and Data Manager Uploads
What changed in 2026, how to set up Enhanced Conversions for web through Google Tag Manager with user-provided data, how Enhanced Conversions for Leads works end to end including the move to the Data Manager API, and how to verify match rates.
Google Ads Offline Conversion Import in 2026: Capture the Click ID, Store It in Your CRM, and Upload Outcomes Through Data Manager
The complete offline conversion workflow for lead businesses: storing the Google click ID and UTMs on arrival, writing them into forms and the CRM, creating import conversion actions, uploading qualified leads and closed deals through Data Manager since the June 2026 API change, and troubleshooting match rates.
Google Ads Remarketing and Audiences Through GTM: The Remarketing Tag, Dynamic Remarketing Parameters, GA4 Audiences and Customer Match
How to set up Google Ads remarketing through Google Tag Manager, pass dynamic remarketing parameters for retail and other verticals from your dataLayer, build behavioural audiences in GA4 and share them with Google Ads, use Customer Match from first-party lists, and respect consent throughout.
Google Consent Mode v2 Setup in Google Tag Manager: Cookie Banners, Advanced vs Basic Mode, and Meta Pixel
How to set up Google Consent Mode v2 in Google Tag Manager so GA4 and Google Ads respect your cookie banner, keep modelled conversions, and how to handle Meta Pixel and other tags that do not support Consent Mode.
Google Tag Gateway for Advertisers: First-Party Script Serving Through Cloudflare or Your CDN, and When to Use It Instead of Server-Side GTM
What Google Tag Gateway does, how it differs from server-side tagging, how to set it up through Cloudflare or a CDN path, what improves and what does not, and how to combine it with a server container when you need more.
GTM Container Hygiene: Naming Conventions, Folders, Workspaces, Versions and the 2026 Container Optimisation
How to keep a Google Tag Manager container readable and safe to change: a naming convention that sorts itself, folders per platform, workspace discipline, version notes, a quarterly clean-up, and what to do with the 2026 container optimisation wizard.
Debugging Tracking with GTM Preview, Tag Assistant, DebugView and Network Requests: A Systematic Method
A step-by-step method for finding why a tag did not fire, fired twice, or sent the wrong data: Preview mode anatomy, Tag Assistant, GA4 DebugView, Meta Test Events, the network tab, consent checks and the most common root causes.
GTM Triggers and Variables Fundamentals: Clicks, Visibility, Scroll, Timers, Custom Events and the Variables That Make Them Useful
A working reference to Google Tag Manager's trigger types and variable types, when each one is the right tool, the built-in variables to enable first, and code-free patterns for tracking buttons, outbound links, downloads, scroll depth and time on page.
How to Give a Tracking Specialist Access: GTM, GA4, Google Ads, Meta Business, Search Console, Shopify and WordPress
Step-by-step instructions for granting the right level of access to each platform a tracking specialist needs, which role to choose, what never to share, and how to remove access when the work is done.
Iframe Tracking with Google Tag Manager: postMessage Listeners, GTM Inside the Iframe, and Cross-Domain Attribution
Why iframes hide conversions from GTM, the three patterns that solve it, working code for listening to postMessage events and for sending events from inside an iframe to the parent, and how to keep Google Ads attribution across the boundary.
How to Write a Measurement Plan: From Business Goals to a Tracking Specification Your Developer Can Build
A measurement plan turns business goals into events, parameters and conversions before anyone touches GTM. This guide walks through the five layers, provides a template with worked examples for ecommerce, lead generation and SaaS, and shows how to turn it into a dataLayer specification.
Server-Side Tracking Explained: What It Fixes, What It Doesn't, and How to Set Up Server-Side GTM in 2026
A plain explanation of server-side tagging with Google Tag Manager: how data flows, the real benefits and limits, hosting options and costs in 2026 including Google Tag Gateway, the step-by-step setup for GA4, Google Ads and Meta, and how to test it.
Simple Form Tracking with Google Tag Manager: Four Methods Ranked, With Code, for GA4, Google Ads and Meta
The four ways to track a form submission in GTM, ranked by reliability: a dataLayer success event, a thank-you page, success message visibility, and the built-in form trigger. Code for each, how to pick, and how to send one event to GA4, Google Ads and Meta.
Tracking Single Page Apps with GTM: Virtual Page Views, History Change and Clean Events for React, Next.js, Vue and Angular
Why single page applications break default page view tracking, the two ways to fix it, how to send virtual page views with correct titles and paths, how to avoid double counting the first page, and how to structure events in a component-based app.
How to Audit a Website's Tracking: The 60-Point Checklist I Use for GTM, GA4, Google Ads and Meta
The exact audit process for finding what is broken, duplicated or missing in a site's tracking: tag inventory, GTM container review, GA4 configuration, Google Ads conversion health, Meta events and match quality, consent compliance, and a scoring template for the report.
UTM Parameters Done Properly: A Campaign Tagging Standard for GA4, Google Ads Auto-Tagging and Meta
How UTM parameters map to GA4 dimensions, a naming standard that keeps channel reports clean, how UTMs interact with Google Ads auto-tagging and Meta's click IDs, a tagging template, and the mistakes that create Unassigned traffic.
Why Google Ads, Meta, GA4 and Your Store Show Different Numbers, and How to Reconcile Them
Every platform counts differently by design. This guide explains the specific reasons conversions and revenue differ between Google Ads, Meta Ads Manager, GA4 and your order or CRM system, which gaps are normal, which signal a tracking fault, and a reconciliation method you can run monthly.
Engagement Tracking with GTM: YouTube Video Events, Scroll Depth, Read Time and Visible Sections in GA4
How to measure whether people actually consume your content: YouTube embed tracking with GTM's built-in video trigger, scroll depth that means something, a read-time event that combines scroll and time, and section visibility, all sent to GA4 as clean events.
Google Analytics 4
GA4 BigQuery Export for Marketers: Link It, Understand the Tables, and Run the Five Queries That Replace Most Reports
How to link GA4 to BigQuery for free, what the exported events tables look like, why it fixes retention, thresholding and quota problems, and five copy-paste SQL queries for sessions by source, key events by campaign, landing page performance, purchases with items, and a daily table for Looker Studio.
GA4 Cross-Domain Tracking: Keep One Session Across Your Site, Checkout, Booking and Payment Domains
How cross-domain measurement works in GA4 and Google Ads, when you need it, how to configure the domain list and the Conversion Linker, how to handle subdomains, iframes and redirects, and how to verify the linker parameter and attribution.
Build a GA4 Dashboard That People Actually Read: Explorations, Looker Studio, Quotas and a Proven Layout
When to use GA4 Explorations and when to build in Looker Studio, how to connect GA4 and Google Ads data, how to avoid the GA4 connector quota errors, and a page-by-page dashboard layout for business owners and marketing teams.
GA4 Custom Events and Custom Dimensions: Naming, Limits, GTM Setup and Making Them Reportable
How to design and send custom events to GA4 through Google Tag Manager, register parameters as custom dimensions and metrics, use user properties, stay inside the limits, and avoid the mistakes that leave parameters invisible in reports.
GA4 Data Quality: Fixing Unassigned Traffic, (not set), Referral Leakage, Internal Traffic, Bots and Thresholding
The recurring causes of messy GA4 reports and how to fix each: Unassigned channel traffic, (not set) in landing page and source, payment and SSO referrals, internal and developer traffic, bot sessions, duplicate page views, and thresholded rows from Google Signals.
GA4 Ecommerce dataLayer Specification: Every Event, Every Item Parameter, With Copy-Paste Code for Developers
A complete dataLayer specification for GA4 ecommerce that also serves Google Ads and Meta: the event list, the exact structure of the ecommerce object and items array, required and optional parameters, the reset rule, list and promotion events, refunds, and a validation checklist.
GA4 Key Events and Google Ads: When to Import GA4 Key Events as Conversions, When to Use Native Tags, and How to Avoid Double Counting
How key events work in GA4, how the Google Ads import works and what it is good for, the differences between imported and native Google Ads conversions in attribution, speed and Enhanced Conversions, and a decision rule for which to use for each conversion.
GA4 Recommended Events Reference: Every Standard Event, Its Parameters and When to Use It
A practical reference to GA4's recommended events for ecommerce, lead generation, SaaS, content and offline sales, with the required parameters, the dataLayer code for each, and advice on which ones to actually implement.
GA4 Setup with Google Tag Manager in 2026: Property, Google Tag, Settings Checklist and Key Events
A clean Google Analytics 4 setup through Google Tag Manager: create the property and data stream, install the Google tag, configure the settings that matter, link Google Ads and BigQuery, mark key events and verify in DebugView.
GA4 User ID and User Properties: Cross-Device Measurement for Logged-In Users Without Breaking Privacy
How to send a User ID and user properties to GA4 through GTM when visitors log in, what it changes in reporting identity and cross-device journeys, the rules on what the ID may and may not be, how to keep it out of URLs, and how to use it with BigQuery and audiences.
Meta Pixel and Conversions API
Meta Conversions API Setup in 2026: One-Click, Gateway or Server-Side GTM, With Deduplication That Actually Works
Every current way to send Meta Conversions API events, from Meta's free one-click setup to full server-side Google Tag Manager, with the event ID deduplication, user data and consent handling that make server events count once and match well.
Meta Custom Events and Custom Conversions: When to Use Them, How to Send Them Through GTM, and How to Optimise Campaigns on Them
The difference between Meta standard events, custom events and custom conversions, when each is the right tool, how to send custom events with parameters through Google Tag Manager and the Conversions API, how to build custom conversions from URLs and parameters, and the limits that affect optimisation.
Meta Event Match Quality Explained: How to Raise Your EMQ Score Event by Event
What Event Match Quality measures, which customer parameters move the score most, how to capture fbp, fbc and external_id correctly, how to normalise and hash data, and realistic targets for each event type.
Meta Lead Ads Tracking: Get Instant Form Leads Into Your CRM in Real Time and Send Qualified Leads Back Through the Conversions API
Instant forms never touch your website, so pixel tracking does not apply. This guide covers the lead delivery options, how to sync leads to a CRM within minutes, how to capture the lead ID and ad details for attribution, and how to send qualification and sales outcomes back to Meta so campaigns optimise for quality.
Meta Pixel Setup with Google Tag Manager in 2026: Dataset, Base Code, Standard Events, Advanced Matching and Testing
The complete, current way to install Meta Pixel through Google Tag Manager: create the dataset in Events Manager, load the base pixel, fire the right standard events with parameters, add Advanced Matching, respect consent, and verify everything in Test Events.
TikTok, LinkedIn and Microsoft Ads
LinkedIn Insight Tag and Conversion Tracking with GTM: Event-Specific Conversions, Enhanced Conversion Tracking and the Conversions API
How to install the LinkedIn Insight Tag through Google Tag Manager, create event-specific conversions that fire from your dataLayer instead of URL rules, enable enhanced conversion tracking with hashed email, send server-side events through LinkedIn's Conversions API from server-side GTM, and verify in Campaign Manager.
Microsoft Ads UET Tag Setup with GTM: Conversion Goals, Variable Revenue, Enhanced Conversions and Consent Mode
How to install the Microsoft Advertising UET tag through Google Tag Manager, create event-based conversion goals that fire from your dataLayer with revenue, enable enhanced conversions with hashed email and phone, pass consent signals, and verify with the UET Tag Helper.
TikTok Pixel and Events API Setup with Google Tag Manager: Standard Events, Advanced Matching and Server-Side Deduplication
How to install TikTok Pixel through GTM, fire the right standard events with parameters from your existing dataLayer, add Advanced Matching, send the same events server-side through the Events API from server-side GTM with deduplication, and verify in TikTok Events Manager.
By Industry
Google Ads Conversion Tracking for Dental Clinics: Track Every Call, Form and Booking (GTM Setup Guide)
A step-by-step guide for dental practices running Google Ads. Learn which conversions to track, how to set them up with Google Tag Manager, and how to confirm Google Ads is counting real patient enquiries, not just clicks.
Google Ads Conversion Tracking for Law Firms: Consultations, Intake Forms and Calls via GTM (Without Breaching Client Confidentiality)
How law firms can track consultation bookings, intake forms and calls in Google Ads using Google Tag Manager, qualify leads before they count, and keep confidential client details out of analytics tools.
Google Ads Conversion Tracking for Physio, Chiro and Allied Health Clinics (Cliniko, Halaxy and Nookal via GTM)
How allied health clinics on Cliniko, Halaxy or Nookal can track real patient bookings, calls and enquiries in Google Ads, with Google Tag Manager, Enhanced Conversions and Consent Mode.
Google Ads Conversion Tracking for Plumbing Businesses: Calls, Emergency Jobs and Quote Forms via GTM
A practical guide for plumbers running Google Ads. Track emergency calls, after-hours calls and quote requests correctly with Google Tag Manager, connect them to ServiceTitan, Jobber or Housecall Pro, and stop paying for leads that never become jobs.
Google Ads Conversion Tracking for Roofing Companies: Track Quote Requests, Calls and Signed Jobs via GTM
Roofing leads are expensive and jobs are worth thousands. Learn how to track inspection requests, calls and estimate forms in Google Ads with Google Tag Manager, then feed signed contracts back so Smart Bidding optimises for revenue.
By Platform
Meta Pixel Not Tracking on Shopify? How to Find the Cause and Fix It with Google Tag Manager and the Conversions API
A diagnostic and repair guide for broken Meta Pixel tracking on Shopify: duplicate pixels, missing checkout events, wrong values, unverified events and poor Event Match Quality, with a clean GTM and Conversions API setup that fixes them.
Shopify GA4 Ecommerce Tracking with Google Tag Manager: Data Layer, Checkout Customer Events and Purchase Deduplication
A complete Shopify tracking setup through Google Tag Manager: GTM in the theme, a Liquid-powered data layer for view_item and add_to_cart, checkout and purchase events through Shopify Customer Events, GA4 ecommerce tags, Google Ads and Meta purchase tags, and deduplication by order ID.
Shopify Google Ads Tracking: Browser-Side vs Server-Side, and How to Run Both Without Double Counting
What Shopify stores lose with browser-only Google Ads conversion tracking, how server-side tracking through a server GTM container and Shopify webhooks recovers it, and the deduplication setup that lets you run both together safely.
WooCommerce GA4 Ecommerce Tracking with Google Tag Manager: Data Layer, Purchase Deduplication and Google Ads
How to set up GA4 ecommerce tracking for WooCommerce through Google Tag Manager: the view_item, add_to_cart, begin_checkout and purchase data layer, plugin versus custom implementation, deduplicating the thank-you page, and feeding Google Ads and Meta from the same events.
By Form and Booking Tool
Acuity Scheduling Booking Tracking with Google Tag Manager: GA4 and Google Ads Conversions from Embedded Appointments
Track completed Acuity Scheduling appointments from an embedded scheduler with Google Tag Manager. Covers the postMessage listener, cross-domain setup for the popup and redirect embeds, GA4 and Google Ads tags, booking values and testing.
B2B Lead Form Tracking with Meta Pixel and Google Tag Manager: Fire the Lead Event Once, Only on Real Submissions
How B2B sites should send the Meta Pixel Lead event through Google Tag Manager: trigger on confirmed form submission, avoid duplicates from plugins and hard-coded pixels, add advanced matching, deduplicate with the Conversions API, and verify in Events Manager.
Calendly Booking Tracking with Google Tag Manager: Google Ads Conversions and Enhanced Conversions from an Embedded Widget
How to track completed Calendly bookings from an embedded widget with Google Tag Manager, send them to GA4 and Google Ads, and attach user-provided data for Enhanced Conversions even though the email is typed inside Calendly's iframe.
Elementor Form Tracking with Google Tag Manager: Send Submissions to GA4, Google Ads and Meta
The reliable way to track Elementor Pro form submissions with Google Tag Manager. Capture the success event, push it to the dataLayer, and fire GA4, Google Ads and Meta conversions only when the form actually submits.
Fluent Forms Tracking with Google Tag Manager: GA4, Google Ads Enhanced Conversions and Meta
Track WordPress Fluent Forms submissions in Google Tag Manager using the fluentform_submission_success event. Push the form ID and contact details to the dataLayer and fire GA4, Google Ads and Meta on real submissions only.
Gravity Forms Conversion Tracking with Google Tag Manager (GA4, Google Ads and Meta)
Track Gravity Forms submissions accurately with Google Tag Manager using the gform_confirmation_loaded event, with a thank-you page fallback. Send the lead to GA4, Google Ads with Enhanced Conversions, and Meta.
HubSpot Form Tracking and Sales Qualified Lead Tracking with Server-Side Google Tag Manager
Track HubSpot form submissions in GTM, then go further: send Sales Qualified Lead stage changes from HubSpot to Google Ads and Meta through server-side Google Tag Manager, so your ad platforms optimise for pipeline, not form fills.
JotForm Conversion Tracking with Google Tag Manager: Track Embedded Form Submissions in GA4 and Google Ads
JotForm embeds run inside an iframe, so GTM cannot see them directly. Learn how to catch JotForm's submission-completed message, push it to the dataLayer, and fire GA4, Google Ads and Meta conversions, plus a thank-you page fallback.
PayPal Payment Tracking in GA4 with Google Tag Manager: Capture Transaction ID, Value and Currency Without Duplicates
How to track successful PayPal payments as GA4 purchase events through Google Tag Manager, using the PayPal JavaScript SDK's approval callback or a return page, with transaction ID, value and currency and protection against duplicate events.
Pipedrive Web Forms Conversion Tracking with Google Tag Manager: GA4, Google Ads and Offline Conversions
Pipedrive LeadBooster web forms load in an iframe, which hides submissions from GTM. Learn the redirect method, the parent-page message check, and how to carry the Google click ID into Pipedrive so you can upload won deals as offline conversions.
Stripe Payment Tracking with Google Tag Manager: Purchase Events in GA4, Google Ads and Meta Without Duplicates
How to track successful Stripe payments from Checkout and Payment Links with Google Tag Manager, capture transaction ID, value and currency on your success page, prevent duplicate purchase events, and send the purchase to GA4, Google Ads and Meta, plus the server-side webhook option.
Tally Form Tracking with Google Tag Manager: Send Embedded Tally Submissions to GA4 and Google Ads
Tally forms are embedded in an iframe, but Tally posts a Tally.FormSubmitted message on success. Learn how to capture it in Google Tag Manager, push the form ID to the dataLayer, and fire GA4, Google Ads and Meta conversions.
Typeform Conversion Tracking with Google Tag Manager: Embedded Form Submissions in GA4, Google Ads and Meta
Typeform embeds run in an iframe. Learn how to capture Typeform's form-submit message in Google Tag Manager, push it to the dataLayer, and fire GA4, Google Ads and Meta conversions, including the embed SDK callback method.
Vagaro Booking Conversion Tracking for Google Ads and GA4: What Works, What Doesn't, and the Setup I Recommend
Vagaro's booking widget runs on vagaro.com, which hides completed bookings from your site's Google Tag Manager. This guide covers the three realistic options for salons, spas and fitness studios: Vagaro's own tracking settings, booking click tracking, and offline conversion imports.
Meta Pixel Advanced Matching on WordPress and WooCommerce with Google Tag Manager: Higher Event Match Quality, Accurate Purchases
How to implement Meta Pixel through Google Tag Manager on a WordPress or WooCommerce site with Advanced Matching: ViewContent, AddToCart, InitiateCheckout and Purchase with values and content IDs, customer data for better Event Match Quality, and verification in Events Manager.
WPForms Conversion Tracking with Google Tag Manager: GA4, Google Ads and Meta Setup
How to track WPForms submissions with Google Tag Manager using the wpformsAjaxSubmitSuccess event, pass the lead email for Enhanced Conversions, and fire GA4, Google Ads and Meta only on real submissions.