Analytics
3K members online now
3K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

How to identify user using user id

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Can Google Analytics track username from a website ?

1 Expert replyverified_user

How to identify user using user id

Top Contributor
# 2
Top Contributor

It shouldnt be used to track a username or any other PII (personally identifiable information) according to the TOS

 

7. Privacy.

You will not and will not assist or permit any third party to, pass information to Google that Google could use or recognize as personally identifiable information. You will have and abide by an appropriate Privacy Policy and will comply with all applicable laws, policies, and regulations relating to the collection of information from Visitors. You must post a Privacy Policy and that Privacy Policy must provide notice of Your use of cookies that are used to collect data. You must disclose the use of Google Analytics, and how it collects and processes data. This can be done by displaying a prominent link to the site “How Google uses data when you use our partners' sites or apps”, (located at www.google.com/policies/privacy/partners/, or any other URL Google may provide from time to time). You will use commercially reasonable efforts to ensure that a Visitor is provided with clear and comprehensive information about, and consents to, the storing and accessing of cookies or other information on the Visitor’s device where such activity occurs in connection with the Service and where providing such information and obtaining such consent is required by law.

 

You must not circumvent any privacy features (e.g., an opt-out) that are part of the Service.

You may participate in an integrated version of Google Analytics and certain DoubleClick and Google advertising services ("Google Analytics Advertising Features"). If You use Google Analytics Advertising Features, You will adhere to the Google Analytics Advertising Features policy (available at support.google.com/analytics/bin/answer.py?hl=en&topic=2611283&answer=2700409) Your access to and use of any DoubleClick or Google advertising service is subject to the applicable terms between You and Google regarding that service.

 

If You use the GA 360 Suite Home, Your use of the GA 360 Suite Home is governed by the Google Analytics 360 Suite Home Terms of Services (or as subsequently re-named) available at https://360suite.google.com/terms (or such other URL as Google may provide) as modified from time to time (the “Suite Home Terms”), but subject to Section 2 of the Suite Home Terms, use of the Service will continue to be governed by this Agreement.

 

https://www.google.com/analytics/terms/us.html

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

How to identify user using user id

Follower ✭ ✭ ☆
# 3
Follower ✭ ✭ ☆

hello, 

Yes, if the user is logged in, you can track the username into a custom dimension.  You can do that either by reading it with jquery or passing it from the dataLayer.