Android app uninstallation event for analytics
Asked Answered
E

1

7

I wonder what are the ways/patterns to detect app uninstallation for any kind of analytics on android? I know the limitations of ACTION_PACKAGE_REMOVED intent - not received by application being removed. I am using flurry at the moment and have also discovered that they do not provide any kind of support for deinstallation events. This type of event is definitely something you want in your analytics but so far have not found any clear solution. Any ideas?

Eichhorn answered 18/5, 2014 at 19:23 Comment(4)
I don't know if that's what you're looking for, but if in the google play dev' console, you have theses statistics.Shiv
i need to do it in my sdk, so guess it is not possible with play dev console, is it?Eichhorn
If you want to do more than just check theses stats no, you can't.Shiv
Any solution for this would qualify as a security flaw. Apps are not supposed to get control at uninstall time, so they do not attempt to do anything to interfere with the uninstall process.Surinam
H
3

Here's a possible approach. In your Android app, implement support for receiving push messages from Google Cloud Messaging (GGM). Then, implement a server that sends GCM "are you there?" messages to all users at regular intervals (e.g. daily). Google's GCM service will notify your service of all targeted recipients which no longer have your app installed. To correlate uninstall data with other metrics such as app version, user demographics, date of installation, etc, collect that data in your app and supply it to your server when registering for GCM messages. Then when you get notified of an uninstall, match it with the installation data. From there, you could report it to a service like Google Analytics for additional slicing and dicing, graphical visualization, date range comparison, etc.

Hedonics answered 25/2, 2015 at 20:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.