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

Cross device tracking with User ID

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi All, I have a query regarding Cross device tracking with User ID. I have followed all the steps mentioned in the link


On the above link more to #3 Generate User ID and push it into data layer


Here I am unable to find what code would be implemented, Can anyone help me in this.


Thank You

1 Expert replyverified_user

Re: Cross device tracking with User ID

Top Contributor
# 2
Top Contributor
Hi Chetna,

the code is dependant on your backend system - meaning the code renders the user Id by querying your database in order to make it available to ga or gtm. In order to do so you should probably contact your web dev support.

Kind regards,
Web analyst @

Re: Cross device tracking with User ID

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thank you Zorin for the reply

I consulted the developer and added the code in the GTM and created a separate View in GA for UserID, but still no data is fetched in Google Analytics.