Resolve "Add missing snowplow tracking to primary navigation"
What does this MR do and why?
Fires structured snowplow events for actions which currently lack them. Specifically, this adds events to the main menu toggle button (the hamburger icon), and the focus state of the global search input.
Screenshots or screen recordings
after global search focus |
---|
after global search blur and menu toggle |
---|
How to set up and validate locally
- Set up Snowplow tracking in your local GDK instance
- Install the Snowplow debugger Chrome extension
- Navigate to your local GDK and sign in
- Visit any page where the top navigation menu is visible
- Open the snowplow debugger panel
- Click on the navigation menu toggle and notice the
click_nav
event is firing with labelhamburger_menu
- Click on the global search input and notice the
focus_input
event is fired with labelglobal_search
- Click anywhere else to blur the field and notice the
blur_input
event is fired with labelglobal_search
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #376712 (closed)
Edited by Mike Greiling