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
- You have a consent banner (e.g., "Accept cookies?" button)
- When user accepts: Set consent to "granted"
- 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 cookiesad_storage: Permission for ad targeting cookiesad_user_data: Permission to send user data to Google Adsad_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:
-
On
example.com, generate a link tocheckout.example.com:https://checkout.example.com/?_gl=1u12345... -
GA4 automatically includes
_glparameter with the session info -
When
checkout.example.comloads, GA4 reads_gland 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
- Create an app data stream: Go to Admin → Data streams → + Create stream → Choose iOS or Android
- GA4 gives you an SDK to install in your app code
- 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:
- When user does something important (purchases), your server calls GA4 API
- GA4 records the event server-side
- 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
- Use consent mode
- Hash sensitive data
- Allow opt-out
- Document your privacy practices
- 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:
- Consent mode (for privacy)
- Server-side tagging (for reliability)
- BigQuery + SQL (for power)
- Cross-domain tracking (if you have multiple domains)
- 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 →