Analytics
2K members online now
2K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

how to track lead id in google

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

i have been using google universal analytics through google tag manager

 

i want to track individual leads by passing my CRM generated Lead id through datalayer in google analytics so that i could track each lead id with the source it came from in google analytics

 

could you help me with the best way to do this.

 

1 Expert replyverified_user

Re: how to track lead id in google

Top Contributor
# 2
Top Contributor
Hi Tarun,

I'd do that with a session-scope data-layer delivered custom dimension in GTM [1].

Christoph

[1] https://support.google.com/analytics/answer/6164990?hl=en

Re: how to track lead id in google

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Tarun,

Keep in mind that if you're using Salesforce as your CRM the lead ID queried via API will carry an extra 3 characters at the end of the ID for a total of 18, causing it to get represented differently than the 15 character ID that would appear through the native UI reporting.