Skip to content

Import sidebar_tracking.js in all contexts to capture user events

Mike Greiling requested to merge mg-enable-sidebar-user-tracking-globally into master

What does this MR do and why?

Currently data-track-* properties associated with the left navigation sidebar trigger user event tracking in the context of projects. This change enables event tracking on the group sidebar as well as the "your work" sidebar (#384342 (closed)).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Set up Snowplow tracking in your local GDK instance
  2. Install the Snowplow debugger Chrome extension
  3. Navigate to your local GDK and sign in
  4. Visit any page where the group sidebar or "your work" sidebar is visible
  5. Open the snowplow debugger panel
  6. Click on a menu item and observe that an appropriate event label is logged in the snowplow debugger

MR acceptance checklist

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

Merge request reports