Stellar can integrate with your existing analytics tools to provide a more comprehensive view of your experiment performance. This guide explains how our analytics integrations work and how to set them up.
Google Analytics 4 (GA4) Integration
Overview
Stellar integrates with Google Analytics 4 using the Measurement Protocol. This server-side integration ensures that conversion events sent to GA4 match exactly with the data in your Stellar dashboard. This allows you to:
View experiment conversion data alongside your other analytics
Create custom reports and segments based on experiment participation
Analyze experiment impact on your key metrics
Track conversions in both Stellar and GA4 with consistent data
Requirements
To use the GA4 integration, you need:
A Google Analytics 4 property with a web data stream
Your GA4 Measurement ID (starts with G-)
A Measurement Protocol API Secret from your GA4 Admin panel
To use the event parameters in your GA4 reports and explorations, you need to register them as custom dimensions. Here's how:
In Google Analytics, go to Admin
Under the Property column, click Custom definitions
Click Create custom dimension
Create the following custom dimensions (one at a time):
Dimension name: Experiment ID | Event parameter: experiment_id
Dimension name: Experiment Name | Event parameter: experiment_name
Dimension name: Variant ID | Event parameter: variant_id
Dimension name: Variant Name | Event parameter: variant_name
Dimension name: Conversion ID | Event parameter: conversion_id
Dimension name: Conversion Name | Event parameter: conversion_name
For each dimension, set the Scope to Event
Note: Custom dimensions only apply to data collected after they are created. Historical data will not include these dimensions.
Viewing Conversion Data in GA4
Realtime Report
To verify that events are being received, check the Realtime report:
Go to Reports → Realtime
Look for stellar_experiment_conversion in the "Event count by Event name" section
Click on the event to see parameter breakdowns
Events Report
For historical data:
Go to Reports → Engagement → Events
Search for stellar_experiment_conversion
Click on the event to see details and parameter values
Explorations
For custom analysis with your custom dimensions:
Go to Explore → Free form
Add your custom dimensions (Experiment Name, Variant Name, etc.) as dimensions
Add metrics like Event count
Filter by Event name equals stellar_experiment_conversion
Troubleshooting
If you're not seeing experiment data in GA4:
Verify credentials: Double-check that your Measurement ID and API Secret are entered correctly in Stellar
Check the integration status: Ensure the GA4 integration toggle is enabled and you see the "GA4 integration is configured and active" message
Wait for data: GA4 Measurement Protocol events can take up to 24-48 hours to appear in standard reports. Use the Realtime report for immediate verification
Trigger a conversion: Make sure you have triggered an actual conversion in one of your experiments. The integration only sends conversion events, not experiment views
Custom dimensions: If you don't see parameter values in reports, make sure you've created the custom dimensions as described above
Data Privacy
The GA4 integration uses your visitor's GA4 client ID (the _ga cookie value) to associate Stellar conversions with their GA4 session. No additional personal data is sent to GA4 beyond what is already being collected by your GA4 implementation.