Reputation: 1698
Im using google analytics in my ios program to gets user Events.
this my code for capturing user interaction in my View :
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
NSString* uniqueIdentifier = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
id tracker = [[GAI sharedInstance] defaultTracker];
[tracker set:@"&uid"
value:uniqueIdentifier];
[tracker send:[[GAIDictionaryBuilder createEventWithCategory:@"CategoryVisit"
action:@"CategoryName"
label:self.catname
value:self.code] build]];
}
now how can i filter in admin panel base on event value ?? there is only filter base on "Action,Category,Label".
also is there possible way to filter base on uid ???
Upvotes: 1
Views: 6103
Reputation: 735
The event value is a metric so you won't view it in the dimensions tab.
Filter based on uid? The User ID? Nope that is not possible. However, you can do the following hack:
Upvotes: 1
Reputation: 8907
First of all, event value is a metric, so you won't see it under the dimension tab. Second of all, &uid is a user ID and should have an associated custom dimension. It could be sent with the event hit which you would be able to show in the custom report.
Upvotes: 5