After the user logs in, you need to provide the user's uid to the sdk, so that the sdk can use it when sending records.
OmniSegment.login("uid")
When the user logs out:
OmniSegment.logout()
When the user enters a new page, you need to provide the page key to the sdk, so that the sdk can use it to determine whether to display a popup.
OmniSegment.setCurrentPage("page_key")
Note: Before using this feature, you need to integrate Firebase SDK into your project and enable GooFirebase services for your app.
You need to provide the user's Firebase Cloud Messaging Token to the sdk, so that the sdk can use it when sending records and push notifications.
OmniSegment.setFCMToken("FCM Token")
There was an error while loading. Please reload this page.