AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.2K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Identify users via user id

AKT
Visitor ✭ ✭ ✭
# 1
AKT
Visitor ✭ ✭ ✭

Is there any documentation available on how Google determines a "unique user" to assign the user ID to? For example, do they base this on location/IP/etc etc? I get the idea behind what user ID tracking IS, but would like to know the more of "how" 

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author AKT
March 2017

Identify users via user id

Top Contributor
# 2
Top Contributor

Hi @AKT :-)

 

How the User ID works: An overview
The User ID enables the association of one or more sessions (and any activity within those sessions) with a unique and persistent ID that you send to Analytics.

To implement the User ID, you must be able to generate your own unique IDs, consistently assign IDs to users, and include these IDs wherever you send data to Analytics.

For example, you could send the unique IDs generated by your own authentication system to Analytics as values for the User ID. Any engagement, like link clicks and page or screen navigation, that happen while a unique ID is assigned can be sent and connected in Analytics via the User ID.

https://support.google.com/analytics/answer/3123662?hl=en#HowItWorks

 

client ID is a string, randomly generated by analytics.js and stored in a first party browser cookie 
More info on how that works here

https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author AKT
March 2017

Identify users via user id

Top Contributor
# 2
Top Contributor

Hi @AKT :-)

 

How the User ID works: An overview
The User ID enables the association of one or more sessions (and any activity within those sessions) with a unique and persistent ID that you send to Analytics.

To implement the User ID, you must be able to generate your own unique IDs, consistently assign IDs to users, and include these IDs wherever you send data to Analytics.

For example, you could send the unique IDs generated by your own authentication system to Analytics as values for the User ID. Any engagement, like link clicks and page or screen navigation, that happen while a unique ID is assigned can be sent and connected in Analytics via the User ID.

https://support.google.com/analytics/answer/3123662?hl=en#HowItWorks

 

client ID is a string, randomly generated by analytics.js and stored in a first party browser cookie 
More info on how that works here

https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Identify users via user id

AKT
Visitor ✭ ✭ ✭
# 3
AKT
Visitor ✭ ✭ ✭

thanks for the reply, 

 

I understand the Overview page on the Google Support page, but I was wondering if you know HOW google makes the association for users? So if I am on desktop and get associated with a User ID we generation (ex: 8769d), how does google make the connection from that 8769d to myself when I am on a different device?

Identify users via user id

Top Contributor
# 4
Top Contributor

You make the association for google analytics.

You need to be able to assign the userID to a user when they visit your site and then have them recoginized and assigned the same userID if they return to the site.

 

Following article is a long read but worth taking the time, gives some pretty good idea on how it is used and in different ways it can be used.

https://www.optimizesmart.com/complete-guide-cross-device-tracking-user-id-google-analytics/

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Identify users via user id

AKT
Visitor ✭ ✭ ✭
# 5
AKT
Visitor ✭ ✭ ✭

Ah! That explains it - thank you!