Update Analytics Dashboards' viewed/created/edited tracking events
What does this MR do and why?
Passes dashboard's title to label
property and introduces monthly/weekly count metrics for the following tracking events:
user_viewed_builtin_dashboard
user_viewed_custom_dashboard
user_viewed_dashboard
user_created_custom_dashboard
user_edited_custom_dashboard
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No visual changes.
How to set up and validate locally
To set up Product Analytics feature:
- Follow these instructions to setup Product Analytics in GDK.
- Onboard
Product Analytics
by setting up the feature at Project > Analytics > Analytics dashboards.
To verify that the dashboard's title is being passed to each event's label
property:
- Navigate to Project > Analytics > Analytics dashboards.
- View any dashboard marked with
Created by GitLab
to trigger theuser_viewed_builtin_dashboard
event. - Click on
New dashboard
to create a new dashboard. - Create a new dashboard to trigger the
user_created_custom_dashboard
event. - Open your newly created custom dashboard to trigger the
user_viewed_custom_dashboard
event. - Edit your newly created custom dashboard to trigger the
user_edited_custom_dashboard
event. - Viewing any analytics dashboard should also trigger the
user_viewed_dashboard
event.
Related to #463076 (closed) and https://gitlab.com/gitlab-data/product-analytics/-/issues/1829#note_1928445735
Edited by Rudy Crespo