GA4 Advanced Topics: Beyond the Basics

Emily RedmondData Analyst, EmilyticsApril 18, 2026

GA4 Advanced Topics: Beyond the Basics

By Emily Redmond, Data Analyst at Emilytics · April 2026

TL;DR: Advanced GA4 features: consent mode (privacy), cross-domain tracking (multiple properties), app integration, and server-side tagging (ad blocking prevention).


Once you've mastered basic GA4, these advanced topics unlock deeper power. They're optional but increasingly important for privacy compliance, complex setups, and ad blocker resistance.


Topic 1: Consent Mode

What It Is: GA4 respects user privacy preferences. If a user hasn't given cookie consent, GA4 limits tracking.

Why It Matters: GDPR and privacy laws require you to ask for consent before tracking. Consent mode ensures GA4 respects user choices.

Setting Up Consent Mode

  1. You have a consent banner (e.g., "Accept cookies?" button)
  2. When user accepts: Set consent to "granted"
  3. When user rejects: Set consent to "denied"

Via Google Tag Manager:

dataLayer.push({
  'event': 'consent',
  'consent': 'granted'  // or 'denied'
});

Or directly with gtag:

gtag('consent', 'update', {
  'analytics_storage': 'granted'  // or 'denied'
});

Consent Types

GA4 respects multiple consent types:

  • analytics_storage: Permission to store analytics cookies
  • ad_storage: Permission for ad targeting cookies
  • ad_user_data: Permission to send user data to Google Ads
  • ad_personalization: Permission to personalize ads

Why This Matters

Google is moving toward a cookieless future. Consent mode allows GA4 to estimate user behavior even when direct tracking isn't possible, using "consent-less" signals.

This keeps your analytics working even if users reject cookies.


Topic 2: Cross-Domain Tracking

What It Is: Tracking users across multiple domains as one user.

Example: Your main site is example.com and your checkout is checkout.example.com. Without cross-domain tracking, GA4 sees them as separate properties.

Setting Up Cross-Domain Tracking

Option 1: Automatic (If Both Domains Use Same GA4 Property)

If both domains have the same GA4 Measurement ID, GA4 automatically links them.

Option 2: Manual (Different Domains or Properties)

Use a parameter to pass user ID between domains:

  1. On example.com, generate a link to checkout.example.com:

    https://checkout.example.com/?_gl=1u12345...
    
  2. GA4 automatically includes _gl parameter with the session info

  3. When checkout.example.com loads, GA4 reads _gl and connects the user

This is usually automatic if you use Google Tag Manager. But verify by checking if cross-domain users are tracked correctly.


Topic 3: Mobile App Integration

What It Is: Tracking behavior in native mobile apps (iOS, Android) alongside web.

Why Separate Web and App?

  • Different tracking code (gtag for web, Firebase for apps)
  • Different event schemas (though GA4 unified them)
  • Different data flows

GA4 Mobile App Data

  1. Create an app data stream: Go to AdminData streams+ Create stream → Choose iOS or Android
  2. GA4 gives you an SDK to install in your app code
  3. Both web and app data flows to the same GA4 property

Now you can see:

  • Web users who also use the app
  • Users who start in web, continue in app
  • App-specific actions (app open, in-app purchase, etc.)

Topic 4: Server-Side Tagging (Conversions API)

What It Is: Sending events from your server, not the browser.

Why It Matters:

  • Ad blockers block GA4 on the browser
  • Server-side events bypass ad blockers
  • More reliable (server is always on, browser might be closed)

Traditional (Browser-Side) Tagging

User's browser → GA4 JavaScript → GA4 servers
(Ad blocker can intercept)

Server-Side Tagging

User's browser → Your server → GA4 servers
(Ad blocker can't intercept)

Setup

This requires code work:

  1. When user does something important (purchases), your server calls GA4 API
  2. GA4 records the event server-side
  3. GA4 has a record even if the user's browser blocked it

Uses the Measurement Protocol to send events directly from your backend.

Example (Python):

import requests

# Send a purchase event from your server
url = 'https://www.google-analytics.com/mp/collect'
data = {
    'measurement_id': 'G-XXXXXXX',
    'api_secret': 'your_api_secret',
    'client_id': 'user_client_id',
    'events': [{
        'name': 'purchase',
        'params': {
            'value': 99.99,
            'currency': 'USD',
            'transaction_id': 'order_12345'
        }
    }]
}

requests.post(url, json=data)

Topic 5: GA4 360 (Enterprise)

What It Is: GA4's premium tier for large organizations.

Cost: ~$150k+/year

What You Get:

  • Data-driven attribution: ML-based attribution (vs. rule-based)
  • BigQuery export: Unlimited data (vs. free tier limits)
  • Dedicated support: Priority support team
  • Higher limits: More custom dimensions, audiences, etc.
  • Advanced features: Predictive insights, etc.

If you have:

  • 1,000+ conversions/month
  • Multi-million dollar marketing budget
  • Multiple properties
  • Advanced analysis needs

GA4 360 might pay for itself through better attribution and insights.


Topic 6: Enhanced Ecommerce Tracking (Retail)

What It Is: More detailed ecommerce tracking beyond basic purchase events.

Includes:

  • Product impressions (where products are shown)
  • Product clicks (users clicked on products)
  • Product lists (which product lists were viewed)
  • Promotion impressions/clicks
  • Detailed cart and checkout data

This is more granular than basic ecommerce tracking.

Setup

Uses the same purchase event schema, but with more detailed item data:

gtag('event', 'view_item_list', {
  'items': [
    {
      'item_id': 'SKU_12345',
      'item_name': 'Blue Shirt',
      'item_category': 'Clothing > Shirts',
      'price': 29.99,
      'list_name': 'Search Results',
      'list_position': 1
    },
    // More items...
  ]
});

Topic 7: Multi-Touch Attribution (Advanced)

Beyond standard GA4 attribution models (last-click, linear, time-decay), advanced teams use:

  • Custom attribution rules: Define rules specific to your business
  • Machine learning models: Build custom models to predict attribution
  • Bayesian inference: Use probability theory to estimate true credit

This requires data science skills or hiring specialists. Most teams don't need this, but it's possible if you export to BigQuery.


Topic 8: Privacy and Compliance

GDPR (Europe)

  • Get explicit consent before tracking
  • Allow users to opt-out
  • Anonymize identifiable data (hash IPs, user IDs, etc.)
  • Include privacy policy explaining tracking

CCPA (California)

  • Disclose what data you collect
  • Allow users to opt-out
  • Delete user data on request
  • Don't sell personal data (GA4 sharing with Google Ads must be disclosed)

CCPA/GDPR Best Practices

  1. Use consent mode
  2. Hash sensitive data
  3. Allow opt-out
  4. Document your privacy practices
  5. Use Data Processing Amendment (DPA) with Google

Topic 9: GA4 Integrations

GA4 connects to many platforms:

  • Google Ads: Auto-sync conversions and audiences
  • Facebook: Manual audience export
  • Email marketing tools (via API or BigQuery)
  • CRM systems (via API or BigQuery)
  • BI tools (Data Studio, Looker, Tableau)

Each integration opens new possibilities (retargeting, audience building, reporting).


Topic 10: Custom Reporting and BI

Beyond GA4's built-in reports:

  • Data Studio: Free Google tool, visual dashboards
  • Looker: Advanced analytics, connected to BigQuery
  • Tableau: Desktop and cloud-based
  • Supermetrics: Sheets/Excel connector

These let you build custom dashboards combining GA4 with other data sources.


When to Go Advanced?

Don't worry about these topics if you're:

  • Just starting with GA4
  • Small team (<$1M marketing budget)
  • New to analytics

Do learn these if you're:

  • Enterprise company
  • Complex tracking needs (app + web)
  • Data-driven culture
  • Privacy-focused

The Bottom Line

These advanced topics exist. You don't need them to start. But as you scale, they become valuable.

Master the basics first. Then, as your needs grow, explore:

  1. Consent mode (for privacy)
  2. Server-side tagging (for reliability)
  3. BigQuery + SQL (for power)
  4. Cross-domain tracking (if you have multiple domains)
  5. GA4 360 (if you have budget)

Each unlocks deeper insights and more sophisticated analysis.


Emily Redmond is a data analyst at Emilytics — the AI analytics agent that watches your GA4, Search Console, and Bing data around the clock so you never miss what matters. 8 years of experience helping founders and growth teams turn data noise into clear decisions. Say hi →