Installation Event Tracking
Events are all the actions performed by the user on the mobile application. CEE SDK enables you to record user events and later learn more about your app’s usage patterns and to segment your users, target, and personalize messaging based on the events performed by them.
Track App Update And Install Event
If you want Smartech to handle App Update and Install events then you can add method trackAppInstallUpdateBySmartech in didFinishLaunchingWithOptions in AppDelegate class
[[Smartech sharedInstance] trackAppInstallUpdateBySmartech];
//Implementation of method
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[[Smartech sharedInstance] initSDKWithDelegate:self];
[UNUserNotificationCenter currentNotificationCenter].delegate = self;
[[Smartech sharedInstance] trackAppInstallUpdateBySmartech];
return YES;
}
Smartech.sharedInstance().trackAppInstallUpdateBySmartech()
//Implementation of method
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Smartech.sharedInstance().initSDK(with: self)
UNUserNotificationCenter.current().delegate = self
Smartech.sharedInstance().trackAppInstallUpdateBySmartech()
return true
}
SmartechSDK.trackAppInstallUpdateBySmartech();
After implementing the above method whenever the user will launch the app after launching the app with CEE SDK for the first time, the event for that user will be sent to CEE panel as the app installed.
If you have a logic implemented in your code to track App Install and Update then you can use two methods trackAppInstall and trackAppUpdate.
//To send App Install event
[[Smartech sharedInstance] trackAppInstall];
//To send App Update event
[[Smartech sharedInstance] trackAppUpdate];
//To send App Install event
Smartech.sharedInstance().trackAppInstall()
//To send App Update event
Smartech.sharedInstance().trackAppUpdate()
//To send App Install event
SmartechSDK.trackAppInstall();
//To send App Update event
SmartechSDK.trackAppUpdate();
Updated 6 months ago