google analytics - Make sure the Android application was installed from Play-Store -
i've discovered blackmarket application, rip of google play-store apps, these people take paid app play-store , let users download , use free.
as developer plan on charging buck app, bothers me, , make sure application installed via play-store, or whatever store approve of.
i guess way verify sort of thing via campaign tracking, since google analytics v2, tracking of campaign done in receiver in jar.
is there other way determine origin of installation of app? there way intercept campaign tracking data?
thanks.
check link here. then
packagemanager pm = getpackagemanager(); string installationsource = pm.getinstallerpackagename(getpackagename());
when installed marked, installationsource
return com.google.android%
or com.android.vending%
. changes , have maintain (support) in case of change - otherwise return null (from debugger) or other package name, other application (the undesired ones :))
Comments
Post a Comment