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

Comparing segments – no data for conversions #18869

Closed
niklasternstedt opened this issue Mar 2, 2022 · 5 comments · Fixed by #18875
Closed

Comparing segments – no data for conversions #18869

niklasternstedt opened this issue Mar 2, 2022 · 5 comments · Fixed by #18875
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@niklasternstedt
Copy link

Expected Behavior

I would be able to compare two segments regarding conversions and see if search, direct traffic, web pages etc are converting.

Current Behavior

When I choose to compare two segments like computer vs mobile and go to the report goals everything seems fine. But when I scroll down to see how search, direct traffic, web pages etc perform regarding conversions there are no data for conversions, only for visits. It works fine if I only choose one segment.

I succeeded to replicate the bug in your demo environment.

Steps to Reproduce (for Bugs)

  1. Choose a segment and then choose a another one to compare it with.
  2. Go to the report goals.
  3. Scroll down to channel type.
  4. You will see there is no data for conversions, only for visits

Context

I'm trying to compare different segments with each other to try to gain more insights in how one of our clients web is performing.

Your Environment

  • Matomo Version: 4.7.1
  • PHP Version: 7.4.28
  • Additionally installed plugins: custom reports and search engine keywords performance
  • Browser: Brave
  • Operating System: MacOS

Skärmavbild 2022-03-02 kl  08 31 18

@niklasternstedt niklasternstedt added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Mar 2, 2022
@sgiehl
Copy link
Member

sgiehl commented Mar 2, 2022

Thanks for creating the issue. I am able to reproduce that on our demo:
https://demo.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?idSite=1&period=month&date=2022-02-17&segment=&category=Goals_Goals&subcategory=General_Overview&compareSegments%5B%5D=countryCode%3D%3Dnz
This seems to be a bug in compare mode, as both segments that are compared have conversions when viewed without comparing.
@tsteur that is something we should investigate. Not sure if that is a regression, or maybe never worked correctly.

@sgiehl sgiehl added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Mar 2, 2022
@niklasternstedt
Copy link
Author

I think it has worked before.

@sgiehl sgiehl added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Mar 2, 2022
@tsteur tsteur added this to the 4.9.0 milestone Mar 2, 2022
@tsteur
Copy link
Member

tsteur commented Mar 2, 2022

This might be a duplicate of #15849 ? My understanding was it never worked in the first place (and at least seems to have been broken since April 2020 unless it's a different issue)

@sgiehl
Copy link
Member

sgiehl commented Mar 3, 2022

That seems to be the same issue, indeed.

@sgiehl
Copy link
Member

sgiehl commented Mar 3, 2022

I think I found the problem. will prepare a PR to fix that.

@sgiehl sgiehl self-assigned this Mar 3, 2022
@justinvelluppillai justinvelluppillai added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Apr 11, 2022
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. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants