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
Segment causes inconsistent average time on page #4719
Comments
Attachment: Page Title with Segment selected (and different usage time) |
Attachment: Page Title without Segment selected |
Attachment: Page Title with Segment selected (and different usage time) |
Attachment: Correction: Page Title with Segment selected (and different usage time) |
I believe we are seeing a different manifestation of the same problem. We want to take advantage of the segmentation feature to send each segments' content manager a monthly report email (html, not pdf) via the built-in reporting tab that has only "Actions: Page titles" chosen. We noticed that the avg. time on page that we saw drilling down from the default "All visits" segment did not match the avg. time spent in our reports for any specified segment, even though the other stats matched. I am able to see the avg. time mismatch between "All visits" and any chosen segment in the Piwik interface as well, so it doesn't look like it's a problem with generating the report. For an example, I have attached two screen shots that I think should be reporting the same information. The file piwik-dsg-segment shows our segment DSG (defined by Page URL here) had an avg. time on page of 20s. In the file piwik-all-visits-dsg, the DSG Home Page statistics match DSG segment's - with the exception that the avg. time on page is reported as 2min 29s. I have re-read the documentation on how to set up segments and tried using various definitions for the segment, but I cannot get the avg. time for a segment to match the avg time that is reported by drilling down from "All visits" under Actions: Page titles. [The stats for my various segment definitions did match each other though!] If I'm missing something, please let me know. Bug #4719 was apparently opened per Stefan's question above and is now a low priority. I have two questions:
Thank you for any assistance you can give me. Cheers, |
I looked into this but unfortunately I'm not sure the correct way we could solve this bug. The SQL Query with segment on page url looks like:
The problem is that the segment on Page URL is applied to this query ( Fix? when we process the average time on page in the Actions Archiver, maybe we could skip and do not apply the Page URL segment - in function |
Thanks for contributing to this issue. As it has been a few months since the last activity and we believe this is likely not an issue anymore, we will now close this. If that's not the case, please do feel free to either reopen this issue or open a new one. We will gladly take a look again! |
There seems to be an issue, when I create a segment so that only the page-titles of pages that contain a certain string inside the URL (for example pageUrl="/cms/" ) are displayed:
The segment works, but it seems to affect the "avg. time on page" values in a strange way.
For example:
A certain Page shows without segment about 22min time on page and with segment it show about 46 seconds (see screenshots). All the other metics seem to be identical, though.
The text was updated successfully, but these errors were encountered: