Sub topic 3
Comparing segments and applying filters
This chapter assumes you can build a closed funnel exploration in GA4, know the difference between an event and a parameter, and have Analyst access to a property or the demo property.
Comparing segments and applying filters
A segment is a group of users who share a condition, such as users from a paid campaign. Add segments in the Segments panel of the Funnel exploration, then compare each segment's completion rate against the others. A filter removes users from the funnel entirely, for example to keep only users in one country. Use segments to compare groups. Use filters to change which users are counted.
Seeing what users do after a step with next action
Next action shows the event users trigger after a chosen step. Use it to find where users go instead of the next step you expected. After "addtocart", for example, you may find many users triggering "pageview" on the cart page rather than "begincheckout".
Trended funnels: watching conversion over time
A trended funnel plots each step's completion rate by day or week. Use it to check whether a change, such as a new checkout page, altered conversion. Compare periods of equal length before you draw conclusions.
Turning a funnel step into an audience
Select a step and create an audience from it. GA4 fills the audience with users who reached that step, for example users who began checkout but did not purchase. Audiences in GA4 collect users only from the point of creation forward, so they do not include past behavior. You can then use the audience for remarketing or further analysis.
Exporting and sharing a funnel exploration
Share an exploration by link with colleagues who already have access to the property. You can also export the report data. Recipients who lack property access cannot open the link.
Data retention, thresholds and sampling
Explorations use event-level data, so they cannot report on events older than the property's event data retention period, which is either 2 months or 14 months. Google hides user-level results when a group is too small to protect individual privacy. This is called thresholding. Very large queries can also be sampled, which means the result estimates values from a subset of events. Check the report for a sampling notice before you trust exact figures.
Running a funnel report with the Data API
The runFunnelReport method is available in the v1alpha version of the Data API, so its fields may change. Send a POST request to https://analyticsdata.googleapis.com/v1alpha/properties/PROPERTY_ID:runFunnelReport with a body like this one:
{
"dateRanges": [{ "startDate": "28daysAgo", "endDate": "yesterday" }],
"funnel": {
"isOpenFunnel": false,
"steps": [
{ "name": "Add to cart", "filterExpression": { "funnelEventFilter": { "eventName": "add_to_cart" } } },
{ "name": "Purchase", "filterExpression": { "funnelEventFilter": { "eventName": "purchase" } } }
]
}
}Troubleshooting funnel numbers that look wrong
Check these causes in order:
- The date range and comparison period.
- Event names, which must match the data stream exactly.
- Whether the funnel is open or closed.
- Whether sampling or thresholding applies.
| Symptom | Likely cause | Check |
|---|---|---|
| A step shows zero users | Event name typo or event not firing | Realtime report |
| Results drop after a date | Event data retention window | Property data retention setting |
| A later step exceeds the first | Open funnel allows entry at any step | Open or closed setting |
Exercise
Mobile users complete checkout at 12% and desktop users at 30%. Which steps do you take first to find the cause?
Show answer
Apply a mobile segment and a desktop segment to the same funnel, then compare completion rates for each step. Use next action after the step with the largest drop to see where mobile users go instead. Then check the mobile events and sampling notice before you act on the result.