From e176a08f51343506cf6b16e46f6b0723d3bc7db6 Mon Sep 17 00:00:00 2001 From: Zihe Jia <36679208+zihejia@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:45:38 -0800 Subject: [PATCH] automatically collecting common mobile events is a legacy feature so make it false by default to be consistent. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 949f9623..7ca67589 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ To initialize the library, add `#Import "Mixpanel/Mixpanel.h" into "AppDelegate. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... - [Mixpanel sharedInstanceWithToken:@"YOUR_API_TOKEN" trackAutomaticEvents:YES]; + [Mixpanel sharedInstanceWithToken:@"YOUR_API_TOKEN" trackAutomaticEvents:NO]; ... } ```