Rastreamento de desinstalações
Saiba como configurar o rastreamento de desinstalação por meio do SDK do Braze. Para obter informações gerais, consulte Guia do Usuário: Desinstalar o rastreamento.
Setting up uninstall tracking
Step 1: Set up FCM
The Android Braze SDK uses Firebase Cloud Messaging (FCM) to send silent push notifications, which are used to collect uninstall tracking analytics. If you haven’t already, set up or migrate to the Firebase Cloud Messaging API for push notifications.
Step 2: Manually detect uninstall tracking (optional)
By default, the Android Braze SDK will automatically detect and ignore silent push notifications related to uninstall tracking. However, you choose to manually detect uninstall tracking using the isUninstallTrackingPush()
method.
Because silent notifications for uninstall tracking are not forwarded to any Braze push callbacks, you can only use this method before you pass a push notification to Braze.
Step 3: Remove automatic server pings
A silent push notification will wake your app and instantiate the Application
component if it app isn’t already running. So, if you have a custom Application
subclass, remove any logic that automatically pings your servers during your Application.onCreate()
lifecycle method.
Step 4: Enable uninstall tracking
Finally, enable uninstall tracking in Braze. For a full walkthrough, see Enable uninstall tracking.
Tracking uninstalls can be imprecise. The metrics you see on Braze may be delayed or inaccurate.
guide/swift/analytics/tracking_uninstalls.md developer_ %}