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

Improve dashboard main graph - revenue metrics, nulls #5153

Merged
merged 3 commits into from
Mar 6, 2025
Merged

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Mar 6, 2025

Changes

This PR improves main graph by:

  • showing revenue with relevant currency symbol when hovering a data point
  • showing - instead of 0 for visit duration, scroll depth when hovering a data point with no visit data

image
image

This is preparatory work for new time-on-page metric (which will be graphable).

@macobo macobo added the preview label Mar 6, 2025
@macobo macobo requested review from ukutaht and RobertJoonas March 6, 2025 09:59
Copy link

github-actions bot commented Mar 6, 2025

Preview environment👷🏼‍♀️🏗️
PR-5153

macobo added 2 commits March 6, 2025 12:06
This has no effect on existing APIs as:
- Comparisons/empty data point logic only affects APIv1 which does not expose revenue metrics

Also changes semantics for visit_duration to be more in-line with the
rest.
- Graph tooltip for revenue metrics now shows revenue with the relevant
  monetary unit.
- Graph tooltips for scroll depth, visit duration and so on now shows `-`
  instead of 0 on dates where no relevant visits occurred.
@macobo macobo marked this pull request as draft March 6, 2025 10:27
@macobo macobo marked this pull request as ready for review March 6, 2025 10:38
@macobo macobo added this pull request to the merge queue Mar 6, 2025
Merged via the queue into master with commit 694bd6f Mar 6, 2025
8 checks passed
@macobo macobo deleted the graphing-nulls branch March 6, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants