Sub topic 14
Interpreting the numbers and avoiding common mistakes
This chapter assumes you can open the Pages and screens and Events reports and know the definition of an engaged session. It also assumes you know what a key event is. The earlier chapters explained how each metric is calculated. This one covers why two numbers that look comparable often are not, and how to check a figure before you act on it.
Start with the denominator
Most misreadings come from not knowing what a metric is divided by. Check the denominator before you compare two figures.
| Metric | Calculation | Typical place you see it |
|---|---|---|
| Engagement rate | engaged sessions / sessions | Traffic acquisition, Landing page |
| Bounce rate | sessions that were not engaged / sessions (1 − engagement rate) | Custom reports, Explorations, Data API |
| Average engagement time per active user | total user engagement time / active users | Pages and screens, Reports snapshot |
| Average engagement time per session | total user engagement time / sessions | Traffic acquisition, Landing page |
| Average session duration | session duration / sessions | Explorations, Data API (`averageSessionDuration`) |
Engagement time and session duration are different measurements. Engagement time counts only the time a page or app screen is in the foreground. Session duration runs from the first to the last event of the session, so it includes any time the page sat in a background tab. Never compare the two directly.
Rates are weighted, not simple averages
Engagement rate and bounce rate are ratios. If you export rows and average the percentages, the result will be wrong, because each row has a different number of sessions.
Suppose a landing page report has these rows:
| Landing page | Sessions | Engaged sessions |
|---|---|---|
| /pricing | 100 | 80 |
| /blog/post-a | 900 | 360 |
The simple average of 80% and 40% is 60%. The real engagement rate is (80 + 360) / (100 + 900) = 44%. Always sum the numerators and denominators, then divide.
The following Python code does this on rows returned by the Data API. It uses only the standard library.
rows = [
{"landingPage": "/pricing", "sessions": 100, "engagedSessions": 80},
{"landingPage": "/blog/post-a", "sessions": 900, "engagedSessions": 360},
]
total_sessions = sum(r["sessions"] for r in rows)
total_engaged = sum(r["engagedSessions"] for r in rows)
engagement_rate = total_engaged / total_sessions
bounce_rate = 1 - engagement_rate
print(f"Engagement rate: {engagement_rate:.1%}")
print(f"Bounce rate: {bounce_rate:.1%}")The script prints an engagement rate of 44.0% and a bounce rate of 56.0%. The same rule applies to average engagement time: weight each row by its users or sessions, and never average the averages.
Totals that do not add up
Several columns look additive but are not.
- Users per page. One user can view many pages. The sum of the Active users column over all pages is larger than the property's total active users. GA4 counts each user once in the total row and once per page in every row.
- Sessions per page. A session that touches three pages counts toward each of them. This is also why the Pages and screens report has no meaningful "bounce rate" per page. A session belongs to the whole visit, not to one page.
- Events per user. The Events report shows event count and total users side by side. Dividing one by the other gives the average number of times a user triggered the event. It does not tell you how many users did it more than once.
- Rows labeled "(other)". When a report has a very high-cardinality dimension, such as full URLs with query strings, GA4 may group the tail of the rows into "(other)". Dimensions such as the page path with parameters stripped, or an Exploration, usually reduce this.
How landing pages distort engagement
A landing page is the first page of a session. Landing page engagement describes how that entry point performs, while Pages and screens describes all views of a page, whether or not it started a visit. A page can have strong views per user in Pages and screens and a weak engagement rate as a landing page. People may reach it from search and leave quickly, but it may also be a normal step in a longer journey.
Compare a landing page only with other landing pages that draw a similar kind of traffic. A blog post that answers one question will naturally have a higher bounce rate than a pricing page, and that does not make the post a failure. Also look at the sessions column. An engagement rate of 90% over 12 sessions is not reliable evidence of anything.
Settings and events that change engagement
Three kinds of changes can move engagement metrics without any change in visitor behavior.
- Marking a key event. Any session containing a key event counts as engaged. If you mark an event that fires automatically on page load, such as
scrollon a short page, every session that triggers it becomes engaged. Bounce rate then falls, and the number is misleading. - Changing the engaged-session timer. The default is 10 seconds and the setting is under the data stream's tag settings. Raising it to 30 seconds reclassifies short visits as bounces from that point on. A trend line that crosses the date of the change shows an artificial jump.
- Tagging changes. A duplicate GA4 tag, or a single-page application that fires
page_viewtwice per route change, inflates views and makes sessions look like they have two page views. Two page views make a session engaged. The result is a bounce rate near zero, which is much more likely to be a tagging fault than a success.
Custom dimensions and timing
A custom event parameter becomes reportable only after you register it as a custom dimension. Registration is not retroactive, so the parameter has no data in reports for earlier days. Reports and the Data API may also take 24 to 48 hours to show a new dimension. If your placement values from the newsletter_signup event do not appear on the day you register the dimension, wait before assuming the code is broken.
Each property has a limit on custom dimensions, and a parameter with unbounded values, such as a user's email or a timestamp, fills the report with "(other)" rows. It also creates a privacy problem. Register only parameters with a small, predictable set of values.
Why the Data API may not match the interface
Pulling the same numbers with the Data API is a useful check, and small differences are normal. Common causes:
- Date ranges. The interface and the API both use the property's reporting time zone, but a request such as
yesterdaycan include data that is still being processed. Compare completed days. - Thresholds and sampling. Reports that include demographic or Google signals data can be suppressed below privacy thresholds. Explorations can be sampled. The API returns metadata that tells you when this happened.
- Different metric names. The report column "Average engagement time per active user" has no single matching metric. In the API you fetch
userEngagementDuration(total seconds) andactiveUsersand divide them yourself. - Row limits. The
limitfield caps the rows returned. A request for ten rows gives you ten rows, whatever the total is.
A request that lets you recompute engagement by landing page looks like this:
{
"dateRanges": [{ "startDate": "28daysAgo", "endDate": "yesterday" }],
"dimensions": [{ "name": "landingPage" }],
"metrics": [
{ "name": "sessions" },
{ "name": "engagedSessions" },
{ "name": "engagementRate" },
{ "name": "bounceRate" },
{ "name": "userEngagementDuration" }
],
"orderBys": [{ "metric": { "metricName": "sessions" }, "desc": true }],
"limit": 10
}Check that engagedSessions / sessions equals engagementRate for each row. If it does, your reading of the definitions is correct.
A diagnostic path
When a number looks wrong, work through the causes in order, from the cheapest check to the most expensive.
Summary of common mistakes
- Comparing average engagement time per active user with a per-session figure.
- Averaging percentages instead of weighting by sessions.
- Adding up per-page users or sessions and expecting the property total.
- Marking a self-firing event as a key event and reading the lower bounce rate as success.
- Reading a trend across a change in the engaged-session timer.
- Trusting rates built on very few sessions.
- Expecting a new custom dimension to show past data.
Exercise
A landing page report shows two rows. /guide has 200 sessions and 150 engaged sessions. /offer has 800 sessions and 320 engaged sessions. What is the combined engagement rate and the combined bounce rate? Why is the simple average of the two row rates wrong?
Show answer
Combined engaged sessions are 150 + 320 = 470 out of 200 + 800 = 1,000 sessions, so the engagement rate is 47% and the bounce rate is 53%. The simple average of 75% and 40% is 57.5%, which is wrong because it gives /guide the same weight as /offer even though /offer has four times as many sessions.
Exercise
After you mark scroll as a key event on a site where most pages are short, the property's bounce rate drops from 55% to 12% in one week, and visitor numbers are unchanged. What most likely happened, and what should you do?
Show answer
Any session with a key event counts as engaged, and scroll fires automatically on many short pages, so nearly every session now qualifies as engaged. The visitors did not change. Remove scroll as a key event, or choose an event that reflects a real goal such as a form submission, and annotate the date so trends are not compared across the change.
Exercise
Pages and screens shows an average engagement time of 40 seconds for /blog/post-a. The Landing page report shows 22 seconds for the same page. Give one reason both can be correct.
Show answer
The Pages and screens figure divides total engagement time by active users, while the landing page figure divides by sessions. Also, the Pages report includes every view of the page, while the landing page report includes only sessions that began on it. Different denominators and different populations give different values.