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
- We need instrumentation for the new "AI Impact" page.
- We need to refresh the old VSD instrumentation.
Proposal
Dashboard viewed events
Modify the following events by passing the dashboard's name to the label
property:
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
- 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 |
- 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
- 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:
- Understand the user engagement with the vsd page.
- Understand the user engagement with the "AI Impact" page.
- Understand the user engagement with custom_dashboard.
- 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
- https://gitlab.com/gitlab-data/product-analytics/-/issues/1829+
- "AI Impact view" Beta - adding new VSD page (#451482 - closed) • Libor Vanc, Alex Pennells • 16.11
- VS Dashboard: Add usage tracking. (#384010 - closed) • Felipe Cardozo • 16.0 • On track
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
g_metrics_ai_impact_page
p_metrics_ai_impact_page
Edited by Rudy Crespo