Skip to content

Commit 4b97f53

Browse files
committed
Add legacy section to time-on-page
1 parent c4db251 commit 4b97f53

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/metrics-definitions.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Automatically track the number of file downloads. This feature isn't enabled by
6060

6161
## Funnels
6262

63-
You can follow the visitor journey from a landing page to a conversion with [funnel analysis](funnel-analysis.md).
63+
You can follow the visitor journey from a landing page to a conversion with [funnel analysis](funnel-analysis.md).
6464

6565
## Goals (or Events)
6666

@@ -100,7 +100,17 @@ See all referral sources that are sending you traffic. A source is reported when
100100

101101
## Time on Page
102102

103-
The average amount of time people spend viewing a particular page on your site. Since March 2025, we've improved our methodology by sending multiple `engagement` events per pageview and by triggering an event every time the visitor closes the browser tab or moves the focus away from the current tab. This allows us to provide you with a more precise and reliable measure of user engagement which includes visitors who bounce away from your pages and excludes those who are not actually active on your pages.
103+
The average amount of time spent per visitor viewing a particular page on your site.
104+
105+
Similar to scroll depth, this metric relies on `engagement` events being sent by our tracking script for every pageview. This allows us to provide you with a more precise and reliable measure of user engagement which includes visitors who bounce away from your pages and excludes those who are not actually active on your pages.
106+
107+
<details>
108+
<summary>Legacy time on page metric</summary>
109+
110+
Prior to a tracker script upgrade in March 2025, we used a different method to calculate time on page, instead relying on timestamp of each `pageview` event. This method was less reliable and was unable to provide measurements on pages where visitors bounced.
111+
112+
For dates prior to the new tracker upgrade, the legacy time on page metric is displayed.
113+
</details>
104114

105115
## Total Conversions
106116

0 commit comments

Comments
 (0)