about summary refs log tree commit diff
path: root/src/lib/notifications/notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/notifications/notifications.ts')
-rw-r--r--src/lib/notifications/notifications.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/notifications/notifications.ts b/src/lib/notifications/notifications.ts
index 2a9ed8706..88ebed044 100644
--- a/src/lib/notifications/notifications.ts
+++ b/src/lib/notifications/notifications.ts
@@ -2,6 +2,7 @@ import * as Notifications from 'expo-notifications'
 import {RootStoreModel} from '../../state'
 import {resetToTab} from '../../Navigation'
 import {devicePlatform, isIOS} from 'platform/detection'
+import {track} from 'lib/analytics/analytics'
 
 const SERVICE_DID = (serviceUrl?: string) =>
   serviceUrl?.includes('staging')
@@ -89,6 +90,7 @@ export function init(store: RootStoreModel) {
         store.log.debug(
           'User pressed a notification, opening notifications tab',
         )
+        track('Notificatons:OpenApp')
         resetToTab('NotificationsTab')
       }
     },