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_dashboarduser_viewed_custom_dashboarduser_viewed_dashboarduser_created_custom_dashboarduser_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 Analyticsby 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 GitLabto trigger theuser_viewed_builtin_dashboardevent. - Click on
New dashboardto create a new dashboard. - Create a new dashboard to trigger the
user_created_custom_dashboardevent. - Open your newly created custom dashboard to trigger the
user_viewed_custom_dashboardevent. - Edit your newly created custom dashboard to trigger the
user_edited_custom_dashboardevent. - Viewing any analytics dashboard should also trigger the
user_viewed_dashboardevent.
Related to #463076 (closed) and https://gitlab.com/gitlab-data/product-analytics/-/issues/1829#note_1928445735
Edited by Rudy Crespo