Skip to content

Commit

Permalink
Track navigation to collectible details page
Browse files Browse the repository at this point in the history
  • Loading branch information
vkjr committed Sep 18, 2024
1 parent 44a0843 commit b93b5b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/status_im/contexts/centralized_metrics/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
(get-in db [:profile/login :key-uid])]))
:shell? true}]]]})))

;; Events do nothing but they will be intercepted and tracked
(rf/reg-event-fx :centralized-metrics/navigated-to-collectibles-tab (fn []))
(rf/reg-event-fx :centralized-metrics/collectibles-fetched (fn []))
5 changes: 4 additions & 1 deletion src/status_im/contexts/centralized_metrics/tracking.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
:screen/onboarding.syncing-progress
:screen/onboarding.syncing-progress-intro
:screen/onboarding.syncing-results
:screen/onboarding.welcome})
:screen/onboarding.welcome

;; Collectibles
:screen/wallet.collectible})

(defn track-view-id-event
[view-id]
Expand Down

0 comments on commit b93b5b9

Please sign in to comment.