Sitata / titanium-google-analytics

Google analytics for Appcelerator Titanium
MIT License
92 stars 47 forks source link

Analytics UserID #66

Open atomicbarry opened 7 years ago

atomicbarry commented 7 years ago

Using iOS as the sample: User ID

We have an internal titanium app that we wish to track specific users. We've set up the user policy & configured our Analytics account.

I can't see a method to call the iOS equivalent of

[tracker set:kGAIUserId 
       value:user.id];

-(void)setUser:(id)args in the analytics proxy class for iOS calls [tracker set:@"&uid" value:userId];, but I'm not sure if @"&uid" and kGAIUserId are equivalent. Our testing appears to indicate this isn't the case.