How to interpret opt-out/app uninstalls on Batch?
To interpret opt-outs and app uninstalls correctly, on mobile and web push, you need to understand how they're calculated.
To begin with, you have to differentiate and define opt-out users and app uninstalls:
Opt-out users are users who disabled notifications.
App uninstalls refer to users who uninstalled the app.
Opt-out users
You can track your opt-out users in the Analytics → Push tab, in the Audience section (Unsubscribed chart):

Batch can only have information about what's going on in the app. When a user installs and opens the app, we receive a push token from Apple/Google that allows us to communicate with them:

If the user opts out of notifications in the device settings, no information is provided to Batch servers. The actual opt-in status will be updated only when the user opens the app again. Likewise, we do not know in real time when an opt-out user activates push notifications again.
Therefore the Batch database is potentially always "out of synchronization" with reality regarding the opt-in status.
Batch always targets all opt-in and opt-out tokens: it allows us to update the state of the tokens, clean the database and recover the users who would have reactivated the notifications. The notification will never be displayed to an actual opt-out user, it will be blocked by the device.
App uninstalls
There are two pages where you can track your app uninstalls:
Analytics → Profiles, in the Activity section (iOS and Android)


In this example, the Bounced metric shows that 301 users, who were targeted by the push, did not receive it. The Bounces details show the reason for each bounce: here, all of them are flagged as Uninstall (FCMUnregistered on Android, APNS2UnregisteredError on iOS). Uninstalls concern both opt-in and opt-out users, as long as they were targeted by the campaign.

Unlike opt-outs, we receive by return loop the uninstalls that took place between the sending of the last campaign and the campaign of the day. This loop occurs only once a campaign has been sent. That's why you will see uninstalls only on days when a push has effectively been sent.
Web push opt-outs
On web push, an opt-out means the user unsubscribed from web push notifications in their browser, and their token is deleted. You can track these unsubscriptions in two places:
Analytics → Push, in the Audience section (Unsubscribed chart), with the Web platform filter.
In your web push campaign analytics, in the Bounced metric.
As for app uninstalls, browsers send unsubscriptions back to Batch only when a campaign is sent. That's why you will mostly see web push opt-outs on the days you send a campaign.
The behavior depends on the browser:
On Chrome, deleted tokens are sent back to Batch each time a new campaign is sent.
On Firefox, deleted tokens are also sent back each time a former opted-in user visits the website again. That's why you may observe opt-outs even on days when no campaign is sent.
Last updated

