Tracking and attribution guides: GA4, server-side tagging, consent and ad conversions
Want it built for you? See our analytics and tracking service
These guides are for marketers and analysts who need numbers they can trust from GA4, Google Tag Manager and the ad platforms. Start with the tracking plan, because every later fix depends on agreed events, names and UTMs; the same section covers testing new tracking before release and tools that monitor it afterwards. The GA4 and Tag Manager section covers key events, cross-domain tracking, unassigned and (not set) traffic, thresholds, refunds and what GA4 360 and GTM 360 cost. The server-side section explains when server-side tagging is worth it, how to set it up and what hosting costs, and the consent section covers Consent Mode, cookie banners by country, choosing a consent platform and tracking under HIPAA and COPPA rules. Ad platform conversions covers offline imports, enhanced conversions, the Meta and LinkedIn Conversions APIs and why each platform's numbers differ from GA4. The last two sections cover attribution models against MMM and incrementality, and tracking traffic from AI assistants. If you want tracking audited or rebuilt, see our analytics and tracking service.
Start here
- Tracking Plan: Free Template, Examples by Business Type and How to Build One
- GA4 key events: what they are, how to mark them and which to send to Google Ads
- Server-side tracking: how it works, what it costs and when it pays off
- Consent Mode v2: basic vs advanced, modelling limits and a working setup
- Attribution vs marketing mix modeling vs incrementality: which does a small team need?
Tracking plans, naming conventions and journey tracking
Start with the guide
Tracking Plan: Free Template, Examples by Business Type and How to Build One
A tracking plan defines each event: when it fires, its properties, IDs, owner and tools. Get a free two-tab template, six examples and an approval checklist.
Last updated
Event naming conventions for Mixpanel, Amplitude, PostHog and GA4
Create consistent events across Mixpanel, Amplitude, PostHog and GA4. Define meanings, map destinations, detect collisions and rename without double counting.
Last updated
UTM naming conventions that keep GA4 clean
Create consistent UTMs that support GA4 channels and cost imports. Includes an allowed-values registry, CSV template, Python URL builder and launch checklist.
Last updated
Customer journey tracking: follow one customer from first click to revenue
Customer journey tracking links ads, website, product, CRM and billing into one timeline. See which ID carries each handoff and how to test every seam.
Last updated
Martech Migration Checklist: 7 Checks Before You Switch CRM, Analytics or Tracking
Moving a CRM, analytics tool or tracking setup? This martech migration checklist covers report rules, a side-by-side run and a safe cutover.
Last updated
Automated Tracking QA: Test the Plan, the Payload and the Request
Build automated tracking QA with Playwright, data-layer and request checks, consent cases, mutation tests and a CI gate that catches broken events before release.
Last updated
7 ObservePoint Alternatives: Choose by the Tracking Job You Need
Compare seven ObservePoint alternatives by scans, journeys, live monitoring and schema validation. Check plan gates, real pricing units and a practical trial.
Last updated
Event Tracking for Websites and Products: Actions, Identity and Reliable Counts
Build useful website and product event tracking with clear success events, identity, properties and validation, including a checked retry and purchase example.
Last updated
GA4 and Google Tag Manager: setup, fixes and pricing
Start with the guide
GA4 key events: what they are, how to mark them and which to send to Google Ads
A GA4 key event is an event you mark as important, such as a purchase or lead. Mark one in 4 steps, mind the 30 key-event limit and use it in Google Ads.
Last updated
GA4 setup for SaaS and apps: the events and settings that matter
Set up GA4 for a SaaS acquisition journey. Define events, test consent and cross-domain tracking, choose Ads goals and verify revenue, identity and export.
Last updated
Why is GA4 so hard to use? Diagnose the problem before changing the setup
Diagnose GA4 report differences, missing events, retention, consent and export gaps. Fix the cause and choose the right tool for the business question.
Last updated
GA4 cross-domain tracking: set it up and prove sessions survive the journey
Set up GA4 cross-domain tracking in Admin or Google Tag Manager, then prove client and session IDs survive links, forms, redirects and consent.
Last updated
GA4 Single-Page App Tracking Without Duplicate Page Views
Choose one GA4 pageview owner for your single-page app. Validate route readiness, titles, referrers, back navigation and duplicate callbacks with a QA fixture.
Last updated
GA4 Unassigned traffic: what it means and how to fix it
GA4 shows Unassigned when no channel rule matches a session. Find the cause in source and medium, tag order, consent or server events, then fix it.
Last updated
GA4 "(not set)": diagnose the cause and fix the right report
Diagnose GA4 missing values by dimension. Check consent, page views, Ads links and custom parameters, then verify the fix with the right denominator.
Last updated
GA4 data thresholds and sampling: why numbers are hidden and what to do
Separate GA4 privacy thresholds, sampling, (other) rows and retention limits. Choose the right fix, preserve valid comparisons and know when BigQuery helps.
Last updated
Why GA4 purchases don't match Shopify, and how to reconcile them
Reconcile Shopify orders with GA4 by transaction ID. Find missing purchases, duplicates, checkout failures, value differences and refund gaps.
Last updated
GA4 Refund Tracking: Reconcile Purchases, Returns and Revenue
Track full and partial refunds in GA4 with correct order IDs, incremental item values, duplicate controls and a practical revenue reconciliation method.
Last updated
Common Google Tag Manager mistakes and how to fix them
The Google Tag Manager mistakes behind duplicate events, missing sessions and wrong conversions, with the fix for each and a pre-publish checklist.
Last updated
GA4 pricing: what standard GA4 costs and how Analytics 360 is priced
Standard GA4 has no licence fee and Analytics 360 has no public price. See how 360 is quoted and billed, which limits change and what the exports cost.
Last updated
Google Tag Manager pricing: is GTM free, what 360 costs and what you actually pay for
Google Tag Manager is free; 360 is quoted. Compare server-side hosting: about $45 per Cloud Run instance, with two recommended, or $20/month on Stape.
Last updated
GA4 Custom Alerts: Set Up Insights, Email and a Useful Response
Build useful GA4 custom insights, tune drop thresholds, test email delivery and route alerts to Slack. Know which tracking failures need an independent check.
Last updated
GA4 DebugView Not Showing Events: 7 Checks to Find the Break
Trace missing GA4 DebugView events through the destination, debug flag, trigger, network request, consent and server forwarding. Verify the repair step by step.
Last updated
GA4 Events Not Showing: Find the Gap Between Collection and Reports
Find why GA4 events are missing from reports. Separate collection failures, processing delays, developer filters, event renames and missing custom dimensions.
Last updated
GA4 Revenue Missing: Fix Purchase Values, Currency and Transaction IDs
Diagnose zero or missing GA4 revenue with purchase payload checks, an offline validator, transaction-ID tests and a worked merchandise-versus-checkout example.
Last updated
GA4 Bounce Rate Looks Wrong? 5 Checks Before You Change the Page
Diagnose unexpected GA4 bounce rates. Check duplicate views, key events, engagement timers, session scope and weighted averages before changing your page.
Last updated
GA4 Spam Traffic: Diagnose It and Filter the Right Data
Diagnose GA4 referral spam without losing real traffic. Use hostname filters correctly, understand the Measurement Protocol exception and preserve historical evidence.
Last updated
GA4 Custom Dimensions: Scopes, Setup and Missing Values
Set up GA4 custom dimensions with the right scope. Check quotas, missing values, Measurement Protocol payloads, BigQuery data and report compatibility.
Last updated
GA4 Ecommerce Events: Parameters and a Complete QA Journey
Build a complete GA4 ecommerce journey with the right events, items and revenue fields. Test purchases, refunds, transaction IDs and reporting before launch.
Last updated
Google Tag Manager Triggers: Events, Filters and Reliable Firing
Choose Google Tag Manager triggers by event, timing and filters. Build a custom event, diagnose repeated firing and validate consent and destination evidence.
Last updated
GA4 Audit Checklist: Collection, Configuration and Reconciliation
Run a GA4 audit with event tests, unique-order reconciliation, cross-domain checks, filter and retention review, consent evidence and a clear repair checklist.
Last updated
GTM Audit Checklist: Container Evidence, Consent and Release Control
Audit Google Tag Manager with a published baseline, tag inventory, journey tests, consent evidence and clear repair owners. Include permissions and live release checks.
Last updated
Google Analytics API: Reports, Configuration and Event Collection
Choose the GA4 Data API, Admin API or Measurement Protocol. Run a report, configure access, paginate results and plan quotas with practical examples.
Last updated
GA4 Bounce Rate: Definition, Report Setup and Useful Benchmarks
Understand GA4 bounce rate, add it to reports and compare useful benchmarks. Includes engaged-session examples, calculations and the change from Universal Analytics.
Last updated
Server-side tracking: setup, hosting and cost
Start with the guide
Server-side tracking: how it works, what it costs and when it pays off
Server-side tracking sends events to an endpoint you control before any platform gets them. See the architecture, costs, a worked ROI model and when it pays.
Last updated
Server-side tracking checklist: prerequisites, launch QA and maintenance
A server-side tracking checklist: the access and prerequisites to confirm, the first event to pick, launch QA tests and a weekly to quarterly upkeep routine.
Last updated
Server-side GTM setup: a step-by-step implementation sequence
Set up server-side Google Tag Manager in a testable order: access, hosting, custom domain, clients, tags, consent and deduplication, then launch safely.
Last updated
GA4 Measurement Protocol: Send Server Events With the Right Context
Send useful GA4 server events with correct identity, timestamps, consent and validation. Understand session attribution deadlines and reconcile eligible outcomes.
Last updated
Stripe server-side tracking: send paid orders and subscriptions to GA4, Meta and Google Ads
Send paid Stripe orders and renewals to GA4, Meta and Google Ads from webhooks, with click IDs carried through Checkout and no duplicate purchases.
Last updated
Stape vs Elevar for Shopify: Choose by Implementation Responsibility
Compare Stape and Elevar for Shopify by event coverage, consent, operating responsibility and total cost. Includes current prices and a practical pilot plan.
Last updated
Server-side GTM hosting cost: Stape, Cloud Run, Usercentrics and Google tag gateway
Compare current server-side GTM hosting prices, request limits and operating costs. Learn when Google tag gateway is enough and how to budget a rollout.
Last updated
Stape Implementation Mistakes: Domains, Clients and Event Delivery
Trace Stape-hosted events from browser to destination. Diagnose domain, client, consent, duplicate and release problems with a practical reconciliation example.
Last updated
iOS 26 GCLID Tracking: 5 Checks to Find Missing Click IDs
Find where Safari click IDs disappear. Test entry routes, redirects, script access, CRM mapping and ad delivery before choosing a tracking fix.
Last updated
Consent, privacy and cookieless measurement
Start with the guide
Consent Mode v2: basic vs advanced, modelling limits and a working setup
Consent Mode v2 signals explained: basic versus advanced setup, and how to test defaults, updates and tags before you trust modelled conversions.
Last updated
Do you need a cookie banner for GA4? A six-country decision guide
Compare GA4 consent, notice and opt-out requirements across the US, Canada, UK, Ireland, Australia and NZ, then turn the assessment into working controls.
Last updated
Cookiebot vs OneTrust vs Usercentrics: costs, tag and SDK governance, and setup
Compare Cookiebot, OneTrust and Usercentrics on billing units, real site costs and governance of tags and app SDKs, then test consent before you choose a CMP.
Last updated
Cookieless Tracking: How It Works, What It Measures and Which Tool Fits
How cookieless tracking works in GA4, PostHog, Plausible and Simple Analytics, what each still counts and how to choose without losing reports you need.
Last updated
5 Cookiebot Implementation Mistakes and How to Fix Them
Diagnose late consent defaults, missing updates, duplicate Cookiebot installs and unmanaged embeds. Use six concrete journeys to verify actual tag behaviour.
Last updated
Cookiebot Pricing: Free Plan, Premium Tiers and Cost per Domain
Cookiebot costs €7 to €90 per domain a month. See the USD invoice changes from 30 November, Small eligibility, annual budgets and extra costs.
Last updated
Shopify Cookiebot Consent Mode: Carry Choices Into Checkout
Connect Cookiebot choices to Shopify checkout and Google consent mode. Includes pixel boundaries, a privacy-state probe and seven purchase-flow tests.
Last updated
OneTrust Pricing: Compare the Quote, Usage and Renewal
Compare OneTrust CMP quotes by package, visitor usage, implementation and renewal. Includes a cost worksheet, contract checks and clear budget examples.
Last updated
HIPAA-compliant analytics: how to measure a healthcare website and app without leaking PHI
Plan healthcare analytics around PHI, BAAs and permitted data flows. Compare vendor scope, test tracking and reconcile an internal booking funnel.
Last updated
Is Google Analytics HIPAA compliant? What to do with GA4 on a healthcare website
Google offers no BAA for Analytics. Review healthcare page groups, restrict GA4 data flows, test for leaks and choose a suitable replacement.
Last updated
Meta Pixel and HIPAA: Review the Data Before Sending Conversions
Audit Meta Pixel, CAPI and patient-list exports before sharing healthcare data. Includes seven test cases, policy boundaries and an internal reporting example.
Last updated
COPPA-Compliant Analytics: SDK, Consent and Data-Flow Checks
Review child-facing analytics, school authorization, SDKs and retention under COPPA. Includes a strict payload example and practical release tests.
Last updated
HIPAA-Compliant Forms: Choose a Provider and Check the Whole Intake Flow
Compare Jotform, Cognito Forms, Formstack and Google Forms for healthcare intake. Check BAA scope, notifications, integrations, tracking and launch tests.
Last updated
OneTrust Competitors: Five Alternatives by Consent and Privacy Scope
Compare OneTrust competitors for consent and privacy operations. Review Cookiebot, Didomi, Osano, Ketch and TrustArc, pricing units, migration and acceptance checks.
Last updated
Cookiebot alternatives for consent management and tag control
Compare Cookiebot alternatives by domain, scan and traffic limits. Review CookieYes, Termly and OneTrust with costs, consent-state tests and migration checks.
Last updated
Termly Alternatives for Policies, Consent and Website Tag Control
Compare Termly alternatives iubenda, Cookiebot and CookieYes by policy scope, consent behavior, traffic units and a reproducible website cost example.
Last updated
Third-Party Cookies: Browser Rules, Examples and Tracking Impact
Understand third-party cookies, current Chrome, Firefox and Safari behavior, partitioned storage and practical checks for embedded features and measurement.
Last updated
Ad platform conversions: Google Ads, Meta and LinkedIn
Start with the guide
Offline conversion import: send qualified leads and revenue back to Google Ads and Meta
Send qualified leads and customer outcomes back to ad platforms. Design stable IDs, consent handling, upload monitoring and a controlled bidding rollout.
Last updated
B2B Form Conversion Tracking: Connect Submissions to Qualified Pipeline
Track accepted B2B form submissions through CRM delivery, qualification and pipeline. Prevent duplicate leads, protect form data and reconcile funnel metrics.
Last updated
Google Ads enhanced conversions: setup for web and for leads
Set up Google Ads enhanced conversions with current web, CRM and Data Manager requirements. Verify hashing, consent, delivery coverage and diagnostics.
Last updated
Google Ads conversion diagnostics: "setup is incomplete" and "needs attention" explained
Diagnose incomplete setup, inactive tags and enhanced-conversion alerts. Verify campaign goals, event delivery, offline uploads and the 2026 API changes.
Last updated
Why Google Ads and GA4 conversions do not match, and how to reconcile them
Google Ads and GA4 count conversions on different dates, models and rules. Align them step by step, check third-party estimates and report one number.
Last updated
Meta Conversions API setup, with deduplication done correctly
Implement Meta Conversions API with reliable purchase events, matching and deduplication. Compare setup routes and validate browser and server records.
Last updated
Event Match Quality: what it is and how to improve it
Improve Meta Event Match Quality with valid identifiers, correct hashing and reliable field delivery. Check consent, deduplication and actual event coverage.
Last updated
Why Meta reports more conversions than GA4
Reconcile Meta and GA4 conversions. Check 2026 attribution changes, dates, collection gaps, identity and Pixel/CAPI deduplication before changing budgets.
Last updated
LinkedIn Conversions API for B2B SaaS: connect campaigns to qualified outcomes
Connect LinkedIn campaigns to qualified CRM outcomes. Choose a setup route, map events, prevent duplicates and reconcile long-cycle B2B attribution.
Last updated
OpenAI Ads Conversion Tracking: Set Up the ChatGPT Ads Pixel and Conversions API
Track ChatGPT ads conversions with the OpenAI Measurement Pixel and Conversions API: load it through GTM, share event IDs, pass oppref and test each event.
Last updated
Are ChatGPT Ads Worth It? A Budget Test for SaaS and DTC Brands
Decide whether ChatGPT ads deserve a test. Check eligibility, auction costs, qualified outcomes, contribution and stopping rules before increasing spend.
Last updated
HubSpot Forms API: Fix Missing Submissions, Consent and Attribution
Build and troubleshoot HubSpot form submissions with correct fields, cookie context, consent mapping, response handling, retries and a CRM delivery checklist.
Last updated
HubSpot Google Ads Integration: 7 Checks for Missing Leads and Conversions
Fix HubSpot Google Ads integration problems across account access, tracking templates, native lead forms, lifecycle events, conversion values and campaign goals.
Last updated
GCLID Tracking: Capture the Click ID and Keep It Through Your CRM
Keep Google click IDs through redirects, consent, forms and CRM changes. Map HubSpot or Salesforce fields, test each handoff and verify conversion delivery.
Last updated
Search Impression Share Formula and Campaign Diagnosis
Calculate Search impression share, distinguish budget and rank loss, handle bounded values and compare campaign coverage with reliable business outcomes.
Last updated
Google Ads Conversion Label: Location, Tag Setup and Validation
Find the Google Ads conversion label, pair it with the correct ID, configure the native event and validate business triggers, values and transaction identities.
Last updated
Impressions vs Clicks: Definitions, CTR and Campaign Decisions
Compare impressions and clicks, calculate CTR and combined rates, diagnose click-to-visit gaps and connect ad visibility with accepted outcomes and cost.
Last updated
Google Ads Audit: Evidence, Priorities and Release Checks
Audit Google Ads goals, conversion tracking, search intent, targeting and budgets. Prioritize evidence-backed repairs with clear owners, acceptance cases and retests.
Last updated
Attribution and measurement
Start with the guide
Attribution vs marketing mix modeling vs incrementality: which does a small team need?
Choose the right marketing measurement method. Compare attribution, lift tests and MMM by data requirements, statistical uncertainty and business economics.
Last updated
What Is an Attribution Model? Marketing Models and Examples
Understand what an attribution model does, compare credit for the same purchase, and choose reporting rules without confusing attributed revenue with causal impact.
Last updated
Your attribution may be flattering your ads: check before changing the budget
Check whether ads create additional business or claim existing demand. Use research, credible holdouts and break-even contribution to guide the budget.
Last updated
Triple Whale vs Northbeam: Compare Costs, Attribution and the Order Data
Compare Triple Whale and Northbeam pricing, contracts, models and exports. Use an order-revenue bridge and a reporting pilot to choose the right scope.
Last updated
HockeyStack vs Dreamdata for B2B Attribution: Which Fits?
Dreamdata suits B2B account journeys and ad activation; HockeyStack adds sales workflows. Compare pricing, attribution models, sources and fit for your team.
Last updated
Triple Whale Alternatives: Four Options for Attribution, Reporting and Cost
Compare Northbeam, Polar, Rockerbox and GA4 with a warehouse as Triple Whale alternatives. Includes attribution checks, real pricing boundaries and cost examples.
Last updated
HockeyStack Alternatives for B2B Attribution, Account Signals and Cost
Compare HockeyStack alternatives Dreamdata, Ruler Analytics and Factors.ai by revenue definitions, account identity, product scope and migration economics.
Last updated
Good ROAS Targets: Margins, Measurement and Growth
Set a useful ROAS target from contribution margins, revenue definitions and payback needs. Compare benchmarks, refunds, attribution and growth with checked examples.
Last updated
AI search traffic, llms.txt and AI visibility ROI
Start with the guide
How to Track AI Traffic in GA4: ChatGPT, Gemini, Grok, Perplexity and Claude
Track AI traffic in GA4 with native channels, cautious source rules and a test checklist. Separate assistant referrals, Google AI search and sales outcomes.
Last updated
How to Measure AI Search ROI With GA4, Search Console and Your CRM
Work out what AI search is worth when buyers find you in ChatGPT, Gemini or AI Overviews: join GA4, Search Console and CRM data, then test the lift.
Last updated
What Is llms.txt? Format, Example and What It Actually Does
llms.txt is a Markdown index that points AI agents to your key pages. See the v2 format, a live example, how it differs from a sitemap and who reads it today.
Last updated
GEO vs AEO: What Changes in AI Search and What to Measure
Understand GEO vs AEO, check crawler access and test AI citations with a repeatable register. Connect the evidence to qualified visits and useful content.
Last updated
Agentic Commerce for Shopify: From Discovery to a Verified Order
Prepare Shopify for AI shopping with channel eligibility, catalog checks, checkout tests and order-level measurement across ChatGPT, Google and Copilot.
Last updated
Want a second pair of eyes on your stack?
Bring your current setup and the decision you need to make. We can help you scope the next useful improvement.
Book a Free Call
Thirty minutes on your stack and what it needs. Free, and no pitch.
Thirty minutes, and you leave with a plan
We look at what you have, what it is costing you and what to do about it first.
- 30 minutes
- Video call, link on booking
- No obligation
What we'll cover
- Your current stack and where it hurts
- Quick wins we can ship first
- An integration roadmap
- Timeline, scope and next steps
Calendar not loading? Open it in a new tab or email hello@martechdevs.com.