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

"Viewed before 'Goal XYZ' rate" is often 0% #19616

Open
utrautmann opened this issue Aug 10, 2022 · 10 comments
Open

"Viewed before 'Goal XYZ' rate" is often 0% #19616

utrautmann opened this issue Aug 10, 2022 · 10 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Data Integrity & Accuracy
Milestone

Comments

@utrautmann
Copy link

This issue is related to the new 4.11 feature described here:
#2030 (comment)

Expected Behavior

The "Viewed before Goal XYZ rate" should "The ratio of conversions of Goal XYZ where this page was viewed prior to converting."

My understanding is that "was viewed prior to converting" means "was viewed in the visit prior to converting."
I hope this is right.

Current Behavior

I found a lot of page urls that were in the visit before the conversion and have now a"Viewed before a rate" of 0% and can't explain me this zero value.

See this screenshot please. This goal has 54 conversions.
The red marked page url has 22.64 conversions but 0% view prior rate.

grafik

@utrautmann utrautmann added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Aug 10, 2022
@bx80
Copy link
Contributor

bx80 commented Aug 11, 2022

Hi @utrautmann, thanks for reaching out.

You are correct, "was viewed prior to converting" does mean "was viewed in the visit prior to converting." 👍

Some of the values used to calculate the 'viewed before' rate are generated during the archiving process. It's possible that conversions created prior to upgrading to version 4.11 do not have the archived values needed to correctly calculate the percentage.

If you choose a time period after you upgraded to 4.11, such as yesterday, do you still see any unexpected 0% 'viewed before rates'?

If not then I'd suggest invalidating and re-processing archives for the time period you want to view., This should make sure all the values needed to calculate the 'viewed before' rate are present, which should hopefully fix the problem.

Otherwise let us know and we can investigate further.

@bx80 bx80 added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Aug 11, 2022
@utrautmann
Copy link
Author

Hi @bx80 ,

the time that I choose in the screenshot was for 09/Aug/2022. I 've upgraded Matomo to 4.11 at 05/Aug/2022, so I think all report metrics were created after the upgrade.

I will look for another example with a more manageable amount of visits and goals - hopeful it helps you.

@utrautmann
Copy link
Author

utrautmann commented Aug 11, 2022

Hi @bx80 ,
here comes a simple example. I anonymized some informations.
We had 8 conversions yesterday for the goal "Klick auf Link zu uni-assist.de"

grafik

Let's take a deeper look to the first red marked URL. "Viewed before ... rate" is 0, but conversions are 0.5.
24 pageviews and 19 unique pageviews (this value we don't see here actually because of #19615 )
grafik

So I've extracted the visitor log for this first URL.
Please checked the attached PDF. The concrete URL is highlighted:
FireShot_Capture_2022-08-10 - Webanalytik-Berichte - Matomo_.pdf

We have 2 visits where the goal was achieved, but only one visit, where the page impression was prior the goal conversion.
8 conversions overall and 1 conversion with a page impression with this URL( view before... rate --> 1/8 = 0.13%)

Edit:
The visit with the page impression prior the goal conversion has also a page impression for this URL after the goal conversion.
Maybe here is the problem:
grafik

I hope my interpretation is correct, that something is wrong here.

Regards
Udo

@bx80
Copy link
Contributor

bx80 commented Aug 11, 2022

Hi @utrautmann,

Thanks for the extra information, that's really helpful! 🙂

It definitely looks like there is something wrong here, I'll investigate further 👍

@bx80 bx80 added Bug For errors / faults / flaws / inconsistencies etc. and removed Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Aug 16, 2022
@bx80 bx80 added this to the 4.12.0 milestone Aug 16, 2022
@bx80
Copy link
Contributor

bx80 commented Aug 16, 2022

@justinvelluppillai I've added this to the current milestone since it's a potentially high impact issue with a new feature.

@utrautmann
Copy link
Author

I would like to ask what the status is here? The problem is still there and shows incorrect values.

@bx80
Copy link
Contributor

bx80 commented Oct 20, 2022

Hi @utrautmann, thanks for your patience. Tests on small datasets are not showing this problem, but we've identified performance issues when archiving page goals for larger datasets which could result in the goals data being incomplete and result in the incorrect value you are experiencing. A performance fix is being worked on at the moment which should hopefully resolve this issue.

@sgiehl
Copy link
Member

sgiehl commented Nov 23, 2022

@bx80 I'll assign this one to you for now, so you can catch up with @utrautmann one the performance fix is ready and released.

@mattab mattab modified the milestones: For Prioritization, 4.13.2 Dec 1, 2022
@mattab
Copy link
Member

mattab commented Dec 1, 2022

This can also be reproduced in our Matomo reports, shared the details with Ben.

@mattab mattab modified the milestones: 4.13.2, 5.1.0 Dec 1, 2022
@mattab mattab added the 5.1.0 label Jan 4, 2023
@mattab mattab removed the 5.1.0 label Aug 4, 2023
@MatomoForumNotifications

This issue has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/meaning-of-goals-by-pages-report/52485/3

@ronak-innocraft ronak-innocraft added this to the 5.2.0 milestone Apr 10, 2024
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. c: Data Integrity & Accuracy
Projects
None yet
Development

No branches or pull requests

8 participants