Skip to content

Track consolidated Edit dropdown usage

Enrique Alcántara requested to merge 419271-track-edit-dropdown-actions into master

What does this MR do and why?

In 16.2, we delivered the ability to open workspaces from the consolidated Edit dropdown where users can edit a project or a file using different editors:

Screenshot 2023-07-27 at 11.35.59 AM.png

This merge request adds Snowplow telemetry to track the usage of these options. We are using the following values to conform with the event schema usage recommendation:

User action event.action event.label
Click "Edit Single File" button click_consolidated_edit edit_single_file
Click "Edit in Web IDE" button click_consolidated_edit edit_web_ide
Click "Edit in GitPod" button click_consolidated_edit gitpod
Click "Edit in Pipeline Editor" button click_consolidated_edit pipeline_editor
Click in a workspace click_consolidated_edit workspace

Reasoning We are grouping all clicks to the Edit dropdown using the click_consolidated_edit action. We use the label field to identify the specific editor preferred by the user.

Screenshots or screen recordings

This merge request doesn't introduce user-facing changes.

How to set up and validate locally

  1. If you haven't yet:
    1. Enable Snowplow in your local gdk. The snowplow URL is https://snowplow.trx.gitlab.net
    2. Install the Snowplow analytics debugger to see tracking events.
  2. Click the options available in the Edit dropdown.
  3. Use the Snowplow chrome extension to see the events sent

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #419271 (closed)

Edited by Enrique Alcántara

Merge request reports