-
Notifications
You must be signed in to change notification settings - Fork 204
Deep link tracking with UTM params #671
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
I want to track utm params on deep links in my react native app. It appears that you can't pass properties to the context via the useAnalytics screen method - only the screenName and options which are passed to the properties object.
Is there a suggested method of doing this?
I also followed the iOS Deep Link Tracking Setup but this conflicts with the changes I made in the AppDelegate.m for react navigation:
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
return [RCTLinkingManager application:application openURL:url options:options];
}
- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
{
return [RCTLinkingManager application:application
continueUserActivity:userActivity
restorationHandler:restorationHandler];
}
Could you suggest how to update my AppDelegate.m to cater for both react navigation & segment in this instance?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request