Google Tag Manager & Cookies For Referrer/Query Etc

- 1 answer

I want to store the Referer in a cookie (using GTM) so that I can recall this on my lead form and input the information into a hidden field so the info is stored on my CRM.

I want the referer to provide the Full URL

I want the information to be saved on the first visit and not overwritten as they navigate the website.

I need help with the GTM part and writing this information into the Cookie and not overwriting it with every new page that's loaded on our site.



Lunametrics have created a brilliant way of recreating he utm cookie which will help you store all of this information. Just upload the details in to your GTM

Im not attributed to them in any way