Push notifications only work if the device is registered with the right identifier. When registration quietly fails, nothing crashes and nothing logs an error. Users simply stop receiving messages, and your open rate drifts down for reasons nobody can name.
PostHog’s Android SDK 3.75.0 (and core 6.48.0) adds a new route for this. When you enable firebase_messaging_installation_id_enabled, the SDK registers the Firebase Installation ID (FID) instead of the deprecated getToken() value. Forwarding onRegistered to registerPushNotificationToken(installationId, appId) also refreshes the subscription even if the FID has not changed. That is a real change in how your push audience is built, so it deserves its own measurement.
Without it, you cannot tell a genuine drop in engagement from a gap in registration. The two look identical in a campaign report and need very different fixes.
Data Points to Track
push_registration_method(fcm_token, firebase_installation_id), set on every registration eventpush_registration_result(success, failed, skipped_already_delivered, retry_pending)push_registration_attemptnumber, so retry backoff is visibleregistration_trigger(app_start, on_registered_callback, token_refresh, manual)installation_id_changed(true / false) compared with the previous launchnotification_permission_state(granted, denied, not_asked)sdk_version,app_versionandos_api_levelon each eventpush_deliveredandpush_opened, joined back to the registration method
Setup Steps
- Upgrade the PostHog Android SDK to 3.75.0 or later (core 6.48.0 or later for shared code).
- Enable the flag
firebase_messaging_installation_id_enabledfor a small share of users first, using a feature flag so you can compare against the old method. - Forward the callback. In your Firebase messaging service, pass the
onRegisteredresult toregisterPushNotificationToken(installationId, appId). - Emit a registration event after each attempt with the properties above. Record failures as well as successes.
- Tag the cohort. Add
push_registration_methodas a user property so later delivery and open events can be split by it. - Build a comparison: registration success rate, delivered rate and open rate for each method, by app version.
- Set an alert for any rise in
retry_pendingevents lasting more than a day.
Actionable Insights
Begin with the registration success rate by method. A new method should match the old one within a point or two. If it is clearly lower, check that onRegistered is wired up on every path, including cold starts from a background launch.
Next, look at skipped_already_delivered. A high share is healthy, since it means the SDK is avoiding duplicate work. A share of zero suggests the app is re-registering on every launch, which wastes calls.
Then compare delivery and open rates for the two groups. If delivery holds steady but opens fall, the identifier is fine and your message content or timing is the issue. If delivery itself falls, treat it as an infrastructure problem and roll back the flag.
Finally, watch users with notification_permission_state set to denied. They will never register successfully, so exclude them from success rates or your numbers will look worse than reality.