Create segments in Google Analytics 4
Use Google Analytics 4 (GA4) to capture and analyze traffic data across your websites and applications.
Note
See Optimizely's Third-Party Add-Ons & Platform Integration Terms.
You must integrate Optimizely Web Experimentation with Google Analytics 4 (GA4) to create segments for Web Experimentation within GA4.
If you use the GA4 Report Generation feature, you do not need to create segments manually. Instead, you can use the Audiences created automatically with the GA4 integration.
Note
It can take up to 48 hours before values become available in Google Analytics 4 (GA4) so that you can create dimensions or segments with them.
Create an exploration and add segments
- Go to Explore and select an exploration type (for example, Free form).
- Go to Variables and click the Add icon next to Segments.
- Click User segment under Create a custom segment.
- Enter the name of the segment (specifying the specific experiment/variant for which you are creating this segment).
- Expand the Add new condition drop-down list and click Experience - variant ID.
- Click Add Filter.
- Select contains and enter the experiment or variant ID for which you want to create the segment.
- Check the box for At any point in time.
- Click Save and Apply.
Updated 6 days ago