Analytics guides
Practical, in-depth guides on GA4, conversion tracking, server-side tagging, and analytics governance - written by practitioners who run these implementations every day.
- GA4 Implementation Best Practices: Most GA4 properties were configured in a hurry to beat the UA sunset. The result: missing events, broken attribution, and reports nobody trusts. This guide walks through the 9 implementation decisions that separate a healthy GA4 property from a noisy one.
- Conversion Tracking Best Practices: Conversion tracking looks simple in a slide deck and falls apart in production. Duplicate firings, broken value mapping, ad-blocker shortfall, and consent edge cases quietly distort every report you build on top. This guide covers the 7 pitfalls that cost teams the most attributed revenue.
- Server-Side Tracking Best Practices: Server-side tracking is no longer optional for serious marketing operations - ad-blocker shortfall, ITP, and CAPI requirements all push the same direction. But a botched migration breaks every report at once. This guide covers the decision framework, the migration sequence, and the production gotchas.
- Analytics Governance Best Practices: The biggest reason analytics implementations decay isn't bad code - it's the absence of governance. Names drift, definitions diverge, ownership disappears. This guide covers the lightweight governance practices that keep an analytics stack credible at year three, not just at launch.
- Meta CAPI Implementation Best Practices: Meta CAPI implements a hybrid tracking model that pairs the browser pixel with server-side events to recover lost data and bypass ad-blockers. Using a shared event_id ensures accurate deduplication, preventing double-counting while maintaining a redundant data stream for reliable attribution. High Match Quality is achieved by sending securely hashed first-party data, allowing Meta to optimize performance using both online interactions and offline CRM signals. This architecture safeguards ad spend in a privacy-first world by combining hardened server-to-server communication with robust consent management.
- TikTok Events API Best Practices: TikTok Events API implements a hybrid tracking model that combines the browser pixel with server-side signals to bypass ad blockers and iOS privacy restrictions. Utilizing a shared event_id ensures accurate deduplication, while Advanced Matching with hashed identifiers significantly improves Event Match Quality (EMQ). Capturing and passing the ttclid parameter through the entire sales funnel maintains deterministic attribution even when client-side cookies are suppressed. This hardened architecture provides the high-fidelity data necessary for TikTok’s algorithms to optimize bidding and maximize ROAS in a privacy-first landscape.
- Pinterest Conversions API Best Practices: We recommend a redundant architecture pairing the Pinterest Tag with the Conversions API to capture signals lost to browser tracking restrictions and signal loss. To ensure data accuracy, you must implement rigorous event_id deduplication, normalized SHA-256 user data hashing, and persistent epik click ID tracking. This technical setup stabilizes attribution and provides the high-fidelity data Pinterest needs to optimize for conversions and improve your overall ROAS.
- Server-Side Tracking with BigQuery Best Practices: By streaming high-fidelity events from sGTM directly to BigQuery, you establish a neutral "source of truth" that bypasses the biased attribution logic of individual ad platforms. Rigorous SQL-based deduplication and the use of partitioned, clustered tables ensure your data remains accurate while preventing compute costs from spiraling as your event volume scales. Activating your modeled data via reverse ETL allows you to feed "Golden Records" back into ad platform algorithms, significantly improving match rates and campaign optimization.
- Google Consent Mode v2 Best Practices: Implementing Consent Mode v2 is mandatory for DMA compliance and involves capturing new ad_user_data and ad_personalization signals to sustain EEA remarketing. A "default denied" script must fire before the GTM container to prevent race conditions and ensure that no cookies are set before explicit user consent. Advanced Mode offers the best balance for growth-stage companies by using cookieless pings to enable behavioral modeling and recover lost conversion data.
- Enhanced Conversions Setup in Google Ads using GTM: A field-tested playbook for implementing Google Ads Enhanced Conversions via GTM. Covers Web vs Leads variants, Google Ads conversion-action setup, the User-Provided Data variable, dataLayer-based PII passing, automatic SHA-256 hashing at the browser, Consent Mode v2 integration, and validation via Tag Assistant and Diagnostics.
- Cross-Platform Web + App Analytics Best Practices: A field-tested playbook for unifying web, iOS, and Android analytics under a single GA4 property. Covers Firebase-to-GA4 data model alignment, user_id stitching, deeplink attribution, consent propagation from web CMP to mobile SDK, and BigQuery analysis for cross-platform user journeys.
- Offline & CRM Conversion Tracking Best Practices: A field-tested playbook for offline conversion imports. Covers capturing GCLID/fbclid/li_fat_id/ttclid at lead submit, storing them in Salesforce and HubSpot, syncing CRM stage changes to Google Ads, Meta CAPI, and LinkedIn Conversions API, and the attribution windows that actually work.
- Multi-Platform Conversion APIs Best Practices (LinkedIn, Snap, X): The overlooked third tier of conversion APIs. Covers LinkedIn Conversions API (B2B attribution), Snap Conversions API (in-app commerce), X Conversions API (post-2022 overhaul), shared event_id patterns, hashing variants each platform prefers, and consent handling.
- First-Party Identity & ID Strategy for Server-Side Tracking Best Practices: How to design durable first-party identity for server-side tracking. Covers client_id vs user_id vs FPID, setting HttpOnly + Secure server-side cookies, hashed email as a stable cross-session identifier, CDP-layer identity resolution, and privacy-safe retention.
- Real-Time Data Pipelines & Streaming to BigQuery / Warehouse Best Practices: A production-grade guide to real-time analytics pipelines. Covers BigQuery Streaming Inserts, Pub/Sub-to-BigQuery, Dataflow templates, Kafka as the enterprise backbone, CDC from Postgres/MySQL, exactly-once idempotency via event_id, and partitioning+clustering under streaming load.
- Privacy-First & Cookieless Analytics Best Practices: A practical guide to analytics in a cookieless world. Covers third-party cookie deprecation timelines, first-party data strategies, server-side tagging as the foundation, modeled conversions, Privacy Sandbox APIs (Attribution Reporting, Topics), and aggregated measurement patterns.
- Consent UX, CMP Integration & Measurement Impact Best Practices: How consent banner design affects measurement data quality. Covers banner UX patterns that maximize opt-in rate, OneTrust vs Cookiebot vs Usercentrics integration, Google Consent Mode v2 wiring, measurement recovery math, and the regulatory tightrope of "dark patterns".
- Privacy-Friendly Analytics Tools & Alternatives - When to Use Them: When privacy-friendly analytics tools are the right choice. Covers Matomo (full-featured GA4 alternative), Plausible + Fathom (simple + lightweight), PostHog (product analytics), Umami (self-hosted minimal), and the compliance + data-sovereignty scenarios where they beat GA4.
- Analytics as a Product: Ownership, Documentation & Release Management Best Practices: How to run analytics as a product, not a project. Covers analytics PM ownership, tracking plan as product documentation, versioning event schemas, release cadence and change management, data contracts between engineering and analytics, and the deprecation playbook.
- AI & Augmented Analytics Best Practices: A guide to AI-augmented analytics for growth teams. Covers anomaly detection models, predictive LTV and churn, natural-language BI (Tableau Pulse, ThoughtSpot, Gemini in Looker), AI-assisted tag generation, and how to separate legitimate AI lift from vendor marketing noise.
- Real-Time Analytics, Dashboards & Monitoring Best Practices: A practical guide to real-time dashboards and monitoring. Covers the real-time vs near-real-time distinction, Looker Studio refresh patterns, Power BI streaming datasets, Grafana for operational metrics, alert fatigue prevention, and the small subset of marketing use-cases where real-time actually moves money.
- Decision-First Analytics & KPI Design Frameworks: How to design KPIs that drive decisions, not vanity metrics. Covers the decision-first methodology, North Star metric design, OKRs in an analytics context, AARRR for product, input vs output metrics, and the dashboard-first anti-pattern.
- Analytics Copilots & Natural-Language Insight Interfaces Best Practices: A practical guide to AI-powered analytics interfaces. Covers the current state of NL-to-SQL (Gemini, Tableau Pulse, ThoughtSpot), schema design for LLM queryability, semantic layer requirements, governance to prevent AI hallucination, and when NL querying beats traditional BI.
- Analytics Data Quality & Observability Best Practices: A practical guide to data quality and observability for analytics. Covers the five pillars (freshness, volume, schema, distribution, lineage), dbt tests for transformation correctness, Great Expectations for validation, observability platforms (Monte Carlo, Bigeye), and incident response for data outages.
- Automated Tracking QA & Monitoring (GA4 / GTM / Server-Side) Best Practices: How to automate tag QA across GA4, GTM, and server-side containers. Covers ObservePoint and Dataslayer, custom Puppeteer/Playwright scripts for GTM Preview replay, server-side container health checks, regression suites before deploys, and the alerting stack that catches silent tag breaks.
- Implementation & Release Workflow Best Practices: A guide to analytics release discipline. Covers Git-backed GTM configuration management, sGTM Docker image versioning, staging vs production environments, pull-request review for tracking changes, rollback playbooks, and the change-management practices borrowed from software engineering.
- Product Analytics Best Practices (Mixpanel / Amplitude): A guide to product analytics with Mixpanel and Amplitude. Covers product-centric event taxonomy (different from marketing), funnel and retention analysis patterns, cohort design, feature-flag integration, session replay pairing, and where Mixpanel vs Amplitude each beat the other.
- Experience Analytics & Session Replay Best Practices: How to use session replay and experience analytics alongside numeric data. Covers FullStory, Hotjar, Microsoft Clarity, PostHog replay capabilities, heatmap interpretation, rage-click and dead-click detection, privacy controls (PII masking), and the qualitative-to-quantitative workflow.
- Bridging Marketing & Product Analytics: How to connect marketing and product analytics into one coherent view. Covers GA4-to-Mixpanel event parity, shared user_id across acquisition and activation tools, unified warehouse as the source of truth, and the organizational patterns that break down the marketing-vs-product data silo.
- Unified Marketing & Product Analytics Best Practices: A blueprint for operating a unified marketing + product analytics stack. Covers the single-warehouse architecture, semantic layer as the reconciliation point, dbt models that serve both GA4 and product event data, dashboard governance, and the team operating model.
- Modern Attribution & Incrementality Testing Best Practices: Attribution modeling in 2026 - data-driven attribution, marketing mix models, and incrementality testing. Covers GA4 DDA, Google Analytics 4 MMM Robyn, geo-based holdout tests, when to use each, and why a proper incrementality test beats any attribution model for real budget decisions.
- CDP & First-Party Data Activation Best Practices: How to choose and operate a CDP in 2026. Covers packaged CDPs (Segment, mParticle, Tealium), reverse-ETL as composable CDP (Hightouch, Census), identity resolution, segmentation, activation to ad platforms and email, and the decision framework between packaged vs composable.
- Warehouse-Native CDP Patterns with BigQuery & Reverse ETL: Deep-dive on the warehouse-native CDP pattern. Covers BigQuery as source-of-truth, dbt models for identity and audience logic, Hightouch + Census for activation, real vs theoretical cost-savings vs packaged CDPs, and the team capabilities required to operate this stack.
- Web Performance & Core Web Vitals Analytics Best Practices: A practical guide to monitoring Core Web Vitals and tying performance to business outcomes. Covers LCP/CLS/INP field measurement via web-vitals.js, CrUX dataset analysis, Lighthouse CI for pre-deploy checks, and correlating performance data with conversion metrics in BigQuery.
- Edge & On-Device Analytics Patterns: A guide to edge computing patterns for analytics. Covers Cloudflare Workers for edge event collection, Vercel Edge Functions, Deno Deploy, on-device aggregation for privacy-preserving telemetry, latency comparisons vs server-side GTM, and the use-cases where edge analytics actually wins.
- Ecommerce Analytics Playbook 2026: A comprehensive playbook for ecommerce analytics in 2026. Covers the full GA4 ecommerce schema, Shopify + Stripe + Klaviyo data integration, merchant center conversions, LTV and cohort modeling in BigQuery, post-iOS attribution reality, and the executive dashboards that actually drive ecommerce decisions.
- SaaS & Subscription Analytics Playbook 2026: A SaaS + subscription analytics playbook for 2026. Covers ARR/MRR definitions, retention cohort design, expansion-vs-contraction tracking, product-qualified lead scoring, CAC payback analysis, and the analytics stack (GA4 + product tool + Stripe + warehouse) that every growth-stage SaaS needs.
- Lead-Gen & B2B Analytics Playbook 2026: The B2B and lead-gen analytics playbook for 2026. Covers LinkedIn attribution (the B2B default), account-level analytics, intent data signals (6sense, Clearbit, Bombora), dark-funnel reality, form-fill attribution decay, and the analytics stack that survives the B2B buying cycle.
- Content / Media Analytics Playbook 2026: An analytics playbook for content sites and media publishers. Covers engaged-time vs page-views, scroll-depth meaningful thresholds, content-to-conversion attribution, subscription/paywall funnel analytics, recirculation metrics, and the publisher-specific KPIs that drive ad revenue and subscriber LTV.
- Year-End Web Analytics Checklist for 2026: The comprehensive year-end analytics checklist for 2026. A 50-point audit covering GA4 property health, consent compliance review, tag management cleanup, data quality validation, schema drift detection, retention settings, access review, and the January-ready dashboards you should have before year-close.
- Quarterly Analytics Health Audit Template: A quarterly analytics health audit template. Covers the 90-day checkpoint routine, event taxonomy drift detection, tag coverage analysis, data quality SLA measurement, consent signal validation, and the 12-metric ops dashboard that keeps analytics trustworthy between major audits.