Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

average time on page determined by using unique pageviews #9583

Closed
hpvd opened this issue Jan 20, 2016 · 3 comments
Closed

average time on page determined by using unique pageviews #9583

hpvd opened this issue Jan 20, 2016 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@hpvd
Copy link

hpvd commented Jan 20, 2016

in actions/pages

"average time on page" is determined by using count of "unique pageviews"
shouldn't it use "(all) page views"?

please see attachment

2016-01-20_10h59_26

@hpvd
Copy link
Author

hpvd commented Jan 20, 2016

may be this is also done

  • for determination of other values within statistic (bounce rate, exit rate, avg. generation time)?
  • within other statistic pages?

@tsteur
Copy link
Member

tsteur commented Jan 20, 2016

I can confirm it is using the unique values. In https://github.com/piwik/piwik/blob/2.16.0-b4/plugins/Actions/Columns/Metrics/AverageTimeOnPage.php#L36-L39 it mentions to use nb_visits which seem to be unique pageviews in the context of Actions.

image

image

It is using 39 for $visits which is unique pageviews. Marking it as a bug unless this is actually expected

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 20, 2016
@mattab mattab added this to the 2.16.0 milestone Jan 22, 2016
@mattab
Copy link
Member

mattab commented Jan 30, 2016

Great find @hpvd !

@tsteur tsteur self-assigned this Jan 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants