feat(analytics): onboarding checklist Segment events (TMCU-680)#29824
Conversation
…new props and loading states
…ceWait functionality
…o use popularNetworks from useNetworkEnablement
…ance, streamline WalletHomeOnboardingSteps logic
…s to onboarding steps and AccountGroupBalance component
…discovery failures
…teps to handle transition states more effectively
…ling and Rive state management for smoother transitions
…ing animation and interaction mocks with requestAnimationFrame handling
…e onboarding steps with security data handling in TokenListItem
…HomeOnboardingSteps for improved fund step handling and navigation flow
…resolve conflicts Co-authored-by: wachunei <1024246+wachunei@users.noreply.github.com>
- HOME_VIEWED with interaction_type onboarding_checklist and section_name per step - RAMPS_BUTTON_CLICKED with location onboarding_checklist on fund primary - SWAP_BUTTON_CLICKED location override for checklist trade primary - ActionLocation.ONBOARDING_CHECKLIST; tests
|
bugbot run |
Portfolio header paths used bare AccountGroupBalance and always-mounted AssetDetailsActions; align with legacy content cluster so main actions hide during the checklist and coordinated exit callbacks reach AccountGroupBalance.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d64c94f. Configure here.
…ng hold state in WalletHomeOnboardingSteps
…ask/metamask-mobile into TMCU-610-shadowbox-checklist-logic
…countGroupBalance component
…ts for improved onboarding flow
|
@copilot resolve the merge conflicts in this pull request |
…onboarding-checklist-segment-events
|
@copilot resolve the merge conflicts in this pull request |
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Co-authored-by: wachunei <1024246+wachunei@users.noreply.github.com>
Resolved and pushed in |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
Performance Test Selection: |
|




Description
Stacked on
TMCU-610-shadowbox-checklist-logic(parent PR #28851).Reason: TMCU-680 requires Segment-oriented tracking for the new wallet home post-onboarding checklist so product can measure funnel performance.
Solution:
interaction_type: onboarding_checklist,section_nameper step (on_ramp,first_trade,notifications), and the same contextual fields as other home impressions (entry_point,visit_number,app_session_id, etc.) viauseWalletHomeOnboardingChecklistHomeViewed.location: onboarding_checklistplus standard ramp props (ramp_type,region,ramp_routing,is_authenticated,preferred_provider,order_count) viauseWalletHomeOnboardingChecklistFundPresswired fromAccountGroupBalance.swapButtonClickLocationOverridesolocationisonboarding_checklistwithout changing bridge session attribution (useSwapBridgeNavigation+goToSwapsFromOnboardingChecklistinWallet).ActionLocation.ONBOARDING_CHECKLIST— Shared enum value for theonboarding_checklistlocation string.Changelog
CHANGELOG entry: Recorded analytics events for the wallet home post-onboarding checklist (Home Viewed per step, Ramps Button Clicked, Unified SwapBridge Button Clicked with onboarding checklist location).
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TMCU-680
Refs: #28851
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Adds new analytics events and changes swap/on-ramp click attribution paths; risk is mainly incorrect event properties or over/under-firing rather than user-facing breakage.
Overview
Adds Segment-style analytics for the wallet home post-onboarding checklist: fires
HOME_VIEWEDwhen each checklist step is shown (withinteraction_type: onboarding_checklistand step-specificsection_name).Wraps the checklist fund primary action to emit
RAMPS_BUTTON_CLICKEDwithlocation: onboarding_checklistbefore navigating to buy, and updates swaps navigation to accept a per-calllocationoverride so checklist trade clicks reportonboarding_checklistwithout altering bridge session attribution. Also introducesActionLocation.ONBOARDING_CHECKLISTand wires the new callbacks throughAccountGroupBalance/Wallet, with new/updated unit tests for these tracking behaviors.Reviewed by Cursor Bugbot for commit 5ab8549. Bugbot is set up for automated code reviews on this repo. Configure here.