I’m trying to populate a hidden form field ‘client_id’, made available using Google Tag Manager. So, on Window Loaded I have this variable: 1st Party Cookie string ‘GA1.2.703537689.1505909694’.
How do I grab this bit “703537689.1505909694” and automatically populate a hidden field in a form with id ‘client_id’.
The reason I am doing this is because I need to tie offline conversions (all our sales happen offline) to online lead generation. Once we have a client_ID tied to a customer in our system, we are able to accurately calculate ROI.