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

[UI] goal overview conversion rate not showing correct on the graph #19324

Merged
merged 7 commits into from Jun 14, 2022

Conversation

peterhashair
Copy link
Contributor

@peterhashair peterhashair commented Jun 9, 2022

Description:

Fixes: #18766

The goal conversion rate is looking for nb_visits_converted. that's not added in the getDependentMetrics column. Add it back fixed it.

Review

add reload after option change
@peterhashair peterhashair added this to the 4.12.0 milestone Jun 9, 2022
peterhashair and others added 3 commits June 9, 2022 02:12
@peterhashair peterhashair added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Jun 10, 2022
@peterhashair peterhashair marked this pull request as ready for review June 10, 2022 02:33
@peterhashair peterhashair requested a review from bx80 June 10, 2022 02:45
Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the conversion rate isn't being formatted as a percent on the graph. Here is a goal with a 10.22% conversion rate (as per the sparkline).
image
When I click this goal on the goals overview screen the graph shows a 0.1% conversion rate
Screenshot_20220614_102037

so the metric data is being loaded, but it's not formatted correctly.

@peterhashair
Copy link
Contributor Author

@bx80 ah I couldn't reproduce that on mine, can you check if the sparkline for Feb 2022 matches the data. Maybe the date selector was on Feb, not Jan.

@bx80
Copy link
Contributor

bx80 commented Jun 14, 2022

@peterhashair, my mistake - formatting is working correctly after a cache refresh 👍

@peterhashair peterhashair merged commit ab5a384 into 4.x-dev Jun 14, 2022
@peterhashair peterhashair deleted the m18766 branch June 14, 2022 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show the selected conversion rate on Goals->Overview evolution graph
2 participants