Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User ID not displaying in Google Analytics dashboard (iOS)

I'm trying to link GA's User ID feature to my iOS app, but this doesn't seem to be working. From the documentation, I enables a User ID capable view (profile). Then, I set the userId field.

My code: AppDelegate.m

id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];

// You only need to set User ID on a tracker once. By setting it on the tracker, the ID will be
// sent with all subsequent hits.
[tracker set:@"&uid"
       value:@"userIDTest"];


// This hit will be sent with the User ID value and be visible in User-ID-enabled views (profiles).
[tracker send:[[GAIDictionaryBuilder createEventWithCategory:@"User Test"            // Event category (required)
                                                      action:@"User Sign In"  // Event action (required)
                                                       label:nil              // Event label
                                                       value:nil] build]];    // Event value

However, in the analytics dashboard:

enter image description here

I can't seem to find one place where I can see the user id.

like image 333
JRam13 Avatar asked May 13 '14 15:05

JRam13


People also ask

How do I enable user ID reports in Google Analytics?

Start by going to the Admin view in your Google Analytics account. In the Property section, click on Tracking Info and then on User-ID. There you can enable User ID tracking.

Does Google Analytics show user ID?

A User-ID view is only available to Universal Analytics properties in which User-ID is enabled, and if User-ID is implemented correctly in your tracking code and you otherwise maintain a technical configuration that can support this feature. Learn more about the User ID and how to set up the User ID.


1 Answers

You cannot see the user id in Google Analytics at all. It's only there to unify data across devices. To view the user id, try adding a custom dimension which also records user id. Then you'll have access to view it in the interface.

More details on adding custom dimensions to send user IDs to Google Analytics.

like image 113
dvdsmpsn Avatar answered Sep 22 '22 19:09

dvdsmpsn