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

trackPageView with a parameter forces avg_time_on_page to 1s #7027

Closed
appzk opened this issue Jan 15, 2015 · 8 comments
Closed

trackPageView with a parameter forces avg_time_on_page to 1s #7027

appzk opened this issue Jan 15, 2015 · 8 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@appzk
Copy link

appzk commented Jan 15, 2015

See http://stackoverflow.com/questions/27899717/piwik-trackpageview-2-different-results

There are 2 different result on the trackPageView function. The difference occurs when using a variable in the callback.

_paq.push(['trackPageView','Variable']);

The variable avg_time_on_page is always 1 sec.

_paq.push(['trackPageView']);

Without arguments the avg_time_on_page value is correct.

@mnapoli mnapoli added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 30, 2015
@mnapoli mnapoli changed the title Piwik trackPageView 2 different results trackPageView with a variable set avg_time_on_page to 1s Jan 30, 2015
@mnapoli mnapoli changed the title trackPageView with a variable set avg_time_on_page to 1s trackPageView with a parameter set avg_time_on_page to 1s Jan 30, 2015
@mnapoli mnapoli changed the title trackPageView with a parameter set avg_time_on_page to 1s trackPageView with a parameter forces avg_time_on_page to 1s Jan 30, 2015
@appzk
Copy link
Author

appzk commented Feb 7, 2015

thanks for following up

@mattab
Copy link
Member

mattab commented Feb 19, 2015

@mnapoli could you reproduce this issue? because i couldn't...

@mattab mattab closed this as completed Feb 19, 2015
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Feb 19, 2015
@bglxx
Copy link

bglxx commented Feb 19, 2015

after update to 2.11.0 we have the same problem:

on dashboard all avg_time_on_page is 2 sec back to start of project in 2013

when you are clicking on "Visitors" you will see in the lower part "Report"
the small graph "2 mis 15s average visit duration" and when you clicking on
that graph, you will see the "Evolution over the period" in the upper part

  • but now with all visits at 2 sec since project start

2015-02-19 4:35 GMT+01:00 Matthieu Aubry notifications@github.com:

@mnapoli https://github.com/mnapoli could you reproduce this issue?
because i couldn't...


Reply to this email directly or view it on GitHub
#7027 (comment).

@mattab
Copy link
Member

mattab commented Feb 19, 2015

can you try to reproduce this issue in a new site with a simple HTML page, and post here the steps? if we can reproduce for sure we'll fix it. thanks

@mattab mattab reopened this Feb 19, 2015
@mattab mattab removed the worksforme The issue cannot be reproduced and things work as intended. label Feb 19, 2015
@mattab mattab added this to the Short term milestone Feb 19, 2015
@bglxx
Copy link

bglxx commented Feb 19, 2015

okay, i will reproduce it within the next hour and give you the reply.

@bglxx
Copy link

bglxx commented Feb 19, 2015

same result:

err_04
I've added a new website to a subdirectory, changed the domain name and result is the same. look here
err_05

@bglxx
Copy link

bglxx commented Feb 19, 2015

I've opened a new bug about 2 hrs ago because this bug influences not only average time on site. I've seen also influences to unique visitors line in graph, but this depends on the graph period settings

@mattab
Copy link
Member

mattab commented Feb 19, 2015

Ok let's follow up in #7247 - please comment in this issue if you have the same bug: #7247

@mattab mattab closed this as completed Feb 19, 2015
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Feb 19, 2015
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. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

4 participants