Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Fix extra long pageVisibilityTracker visible time reporting #177

Merged
merged 4 commits into from
May 23, 2017

Conversation

philipwalton
Copy link
Member

@philipwalton philipwalton commented May 23, 2017

Version 2.1.0 introduced a subtle bug where, if a user loaded a page and then left before the visibility threshold was met, if they returned to the site at a later date, the visibility time reported was the time since the initial visit.

This PR adds more accurate session expiry checking to ensure the reported visible times are within the current session only.

Note: If this bug is affecting the data in your reports, the best way to get around it is to create a segment that excludes any sessions containing visible metrics (per hit) longer than one day (or the session timeout amount, whichever works best).

@philipwalton philipwalton changed the title Fix pageVisibilityTracker bugs Fix extra long pageVisibilityTracker visible time reporting May 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant