Update the VSD instrumentations (post 17.0 release)

Problem to solve

Currently, for the new "AI Impact" page we don't have page visits/usage data.

Objectives

Proposal

Dashboard viewed events

Modify the following events by passing the dashboard's name to the label property:

Event name Label Total or unique count Time Frame Additional Properties Location
user_viewed_builtin_dashboard dashboard name both weekly & monthly project, root project group, pricing tier https://gitlab.com/gitlab-org/gitlab/-/blob/f4b0255bcc7764aa064e7e99743f50d169be5574/ee/app/assets/javascripts/analytics/analytics_dashboards/components/analytics_dashboard.vue#L146-146
user_viewed_custom_dashboard dashboard name both weekly & monthly project, root project group, pricing tier https://gitlab.com/gitlab-org/gitlab/-/blob/f4b0255bcc7764aa064e7e99743f50d169be5574/ee/app/assets/javascripts/analytics/analytics_dashboards/components/analytics_dashboard.vue#L144-144
user_viewed_dashboard dashboard name both weekly & monthly project, root project group, pricing tier https://gitlab.com/gitlab-org/gitlab/-/blob/f4b0255bcc7764aa064e7e99743f50d169be5574/ee/app/assets/javascripts/analytics/analytics_dashboards/components/analytics_dashboard.vue#L141-141
user_created_custom_dashboard dashboard name both weekly & monthly project, root project group, pricing tier https://gitlab.com/gitlab-org/gitlab/-/blob/f4b0255bcc7764aa064e7e99743f50d169be5574/ee/app/assets/javascripts/analytics/analytics_dashboards/components/analytics_dashboard.vue#L284-284
user_edited_custom_dashboard dashboard name both weekly & monthly project, root project group, pricing tier https://gitlab.com/gitlab-org/gitlab/-/blob/f4b0255bcc7764aa064e7e99743f50d169be5574/ee/app/assets/javascripts/analytics/analytics_dashboards/components/analytics_dashboard.vue#L286-286

We'll also need to generate total monthly/weekly count metrics for all of them (they already have unique count metrics). Also, we need to verify that the additional properties already come out of the box with Internal Tracking events.

Dashboard table metric clicked events

  1. Create the following event, generate total/unique metrics for both monthly and weekly time periods and store its name in a constant EVENT_LABEL_CLICK_METRIC_IN_DASHBOARD_TABLE
Event name Label Property Total or unique count Time Frame Additional Properties
click_metric_in_dashboard_table metric's name table's name both weekly & monthly project, root project group, pricing tier
  1. Update the VSD comparison table's metric cell click handler to track the above event and pass the following name to the property: vsd_comparison_table
  2. Add a click handler to the AI Impact table's metric cells, track the above event and pass the following name to the property: ai_impact_table

Questions we'd like to answer:

  1. Understand the user engagement with the vsd page.
  2. Understand the user engagement with the "AI Impact" page.
  3. Understand the user engagement with custom_dashboard.
  4. Tracking product metrics GMAU for groupoptimize.

Next iterations:

Adding these new events and identifier:

Event name Identifier/ label Total or unique count
user_viewed_dashboard_panel (or visualization panel name both

Related to

Click to expand

Event Description Event Name Additional Properties Total or unique count Time Frame
Count of unique visits to group AI Impact page g_metrics_ai_impact_page project, root project group, pricing tier, process mode of resource group, both monthly
Count of unique visits to project AI Impact page p_metrics_ai_impact_page project, root project group, pricing tier, process mode of resource group, both monthly
Edited by Rudy Crespo