-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Enable by default the Heart beat timer to process a more accurate time on page and visit duration #8225
Comments
two opinions made earlier #7207: --possible math for user exit rate-- For google e.g. it is important how long the user stays on page. So this valuable resource should be honored by Pwiki statistics. |
We should announce this far in advance, maybe a couple of times and in the newsletter as it can cause serious performance problems. Even if you have only 5000 visitors on your website at the same time and suddenly all start pinging every 15 seconds on top (constantly) this adds over 300 tracking requests per second (if they stay for 15 seconds or longer on a page). If you're unlucky and have eg an ad on TV or so, you might get suddenly 1000-5000 visitors (or more) within 2 or 3 seconds on your website. They would start pinging at the same time so you might have suddenly 1000 or 3000 requests per second more. Same procedure after sending loads of newsletters. Many users will open at the same time and it will be much harder to handle peaks. 15 seconds on page sounds like a lot but can be reached easily, especially when you link to a form. In both cases I had those kinda problems in the past so adding additional load without expecting it can be problematic. |
make this option optional: let us set the ping time and to enable the feature, with warning. If you are happy you can just auto monitor the server load and switch off hearthbeat when an high server load occurs. @tsteur please keep your workflow fluid, no time for fears that block developing a excellent feature. |
HI, When you visit a webpage/one page for 30 seconds are you then a dropout visitor? I the moment piwik both mark them as droped out. --possible math for user exit rate/drop out rate-- For google e.g. it is important how long the user stays on page. So this valuable resource should be honored by Pwiki statistics. |
I suggest we do this post- 3.0.0 - so moving into |
@Tobias-Conrad IIRC, Google considers a visit as bounced if the visitor doesn't access a second page. |
Google considers a visit as bounced if the visitor doesn't access a second page. What google consider,is relevant for the year 2005,not for today anymore,when we have AJAX,and user can practically submit comment,into same page,without reloading the page.An good example of this is FACEBOOK,but they are many nowdays actions that can be performed into an page,like an social share,tweet,print,etc actions that means the user did interact with the webpage. If the user interact with the webpage,or submit an comment but does not reload the webpage because the webpage is using AJAX,i don`t think this should be considered BOUNCE,as the user did interact with your webpage in an way or another. More then that imagine an website with lots of pages,an news website,were people just come to read,that news,because only that news they need,in this case it will be only 1 pageview,an google will consider this an bounce,but maybe the user stayed on the page 1 minute or 10 minutes,to read that,neither that visit is not an bounce,that |
PR #8213 is relevant to this issue but it wasn't merged as is. |
Hi! We tried to add "heartbeat" functionality to our website (with Piwik 2.14.1), and we also send custom variables from every page. The issue we faced is that after enabling "heartbeat": when user on the page, the time spent (seen in Visitor Log) is correct, but when user goes to another page, the time spent on previous page is reset to 1s (or sometimes to other very small value). So, the resulting calculations of time spent became even worse that before enabling "heartbeat". Does anyone else have similar issues? Thanks in advance! |
@Kendigan |
@Kendigan I suggest to create a new issue for this so someone might have a look at it |
@Kendigan "What could we do wrong if nobody else has similar issues?" Is there any news on this topic? Is it now working for you? |
There seems to be a issue regarding bounce rate which may also affect the discussion within this one #9199 |
(fyi Feature is now documented at Accurately measure the time spent on each page) |
many thanks for documenting this! |
I just realized it misses a documentation here: http://developer.piwik.org/guides/tracking-javascript-guide (how to change interval) @hpvd it's partially document here: http://developer.piwik.org/api-reference/tracking-javascript (search for |
@hpvd @tsteur thanks for the review. Doc updated @ http://developer.piwik.org/guides/tracking-javascript-guide#accurately-measure-the-time-spent-on-each-page |
also created New FAQ: How do I improve accuracy of “Time spent on page” and “Visit duration” metrics? and improved doc |
maybe, |
before enabling heartbeat by default, one should have a look on this one: |
please add some information in docu of heartbeat function regarding
edit: just opend a new ticket on this topic: #9516 |
If we decide to enable Heartbeat by default, we need to update this (new) faq: How do I accurately measure the time spent by visitors on my pages, including the time spent on the last page of their visit? |
I wish to avoid opening new issue, but this is something I was thinking all along. Plus, with heartbeat, Average Time on Page in Pages table is completely inaccurate (useless, practically), as it still treats single page visits as 0:00 s. |
Note: the title says to process a more accurate time on page and visit but heartbeat does currently not update the time on page. |
The goal of this issue is to enable by default the Heart beat timer feature, which lets Piwik JavaScript tracking client send ping requests every N second. By enabling this feature by default we will provide more accurate accurate time on site and time on page.
Steps;
enableHeartBeatTimer
just like we writeenableLinkTracking
Follows up #8069 #2041 #8218 #8223
The text was updated successfully, but these errors were encountered: