Sto tentando di collegare la funzione ID utente di GA alla mia app iOS, ma non sembra funzionare. Dalla documentazione, abilito una vista (profilo) con ID utente. Quindi, ho impostato il campo UserId.ID utente non visualizzato nel dashboard di Google Analytics (iOS)
Il mio codice: 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
Tuttavia, nella analisi cruscotto:
io non riesco a trovare un posto dove posso vedere l'id utente .
[Imposta l'ID utente in Google Analytics] (https://support.google.com/analytics/answer/3123666) –
Attento Jonny se Google rileva che hai nomi utente nei dati di analisi che elimineranno l'intero account e tutti i tuoi dati. Vedere la sezione 7 dei termini di utilizzo. – TombMedia