-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Add mode selection analytics tracking (#614)
### TL;DR Added analytics tracking for mode selection events in trip planner ### What changed? - Added new analytics events: `ModeClickEvent` and `ModeSelectionDoneEvent` - Integrated mode selection tracking in TimeTableViewModel - Added new UI event `ModeClicked` to handle mode selection visibility - Connected mode click analytics to the UI through TimeTableScreen and TimeTableDestination ### How to test? 1. Open trip planner 2. Click on mode selection button 3. Verify analytics event is fired with correct fromStopId, toStopId, and displayModeSelectionRow state 4. Select/deselect different transport modes 5. Verify mode selection analytics event fires with correct unselected modes ### Why make this change? To track user interaction with transport mode selection, providing insights into how users filter their journey planning options and which transport modes are commonly excluded from searches.
- Loading branch information
1 parent
163f0cc
commit e763f3a
Showing
5 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters