Skip to content

Commit e8b5cdc

Browse files
author
Chris Sperandio
committed
Merge pull request #276 from lucoceano/master
Sets the segment tracker always as default
2 parents 322c174 + 2c42794 commit e8b5cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analytics/Integrations/GoogleAnalytics/SEGGoogleAnalyticsIntegration.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ - (void)start {
4343
}
4444
// Require setup with the trackingId.
4545
NSString *trackingId = [self.settings objectForKey:@"mobileTrackingId"];
46-
[[GAI sharedInstance] trackerWithTrackingId:trackingId];
46+
[[GAI sharedInstance] setDefaultTracker:[[GAI sharedInstance] trackerWithTrackingId:trackingId]];
4747

4848
// Optionally turn on uncaught exception tracking.
4949
NSString *reportUncaughtExceptions = [self.settings objectForKey:@"reportUncaughtExceptions"];

0 commit comments

Comments
 (0)