Đo lường lượt Gỡ cài đặt

Measure App Uninstalls

iOS

First method

AppsFlyer enables you to measure app uninstalls. To handle notifications it requires to modify your AppDelegate.m. Sử dụng didRegisterForRemoteNotificationsWithDeviceToken để đăng ký tính năng gỡ cài đặt.

Ví dụ:

@import AppsFlyerLib;

...

- (void)application:(UIApplication ​*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *​)deviceToken {
// notify AppsFlyerLib
 [[AppsFlyerLib shared] registerUninstall:deviceToken];
}

Read more about Uninstall Measurement: Appsflyer SDK support site

Second method

Pass the device token to AppsFlyer

Ví dụ:

appsFlyer.updateServerUninstallToken(deviceToken, (success) => {
  //...
});

Measure app uninstalls Android

Update Firebase device token so it can be sent to AppsFlyer

Ví dụ:

appsFlyer.updateServerUninstallToken(newFirebaseToken, (success) => {
  //...
});

Read more about Android Uninstall Measurement: Appsflyer SDK support site