AnsweredAssumed Answered

Storing Referer UTM Last Touch in Javascript to feed lead source data

Question asked by Sean Richards on Jun 23, 2018
Latest reply on Jun 24, 2018 by Sean Richards

Hi Marketo Community,


I am seeking out complete examples of people's website Javascript libraries that they use to capture the UTM Last Touch in a cookie to enable it to fill source data on form submit.


I know that so many companies have good lead source and UTM reporting capabilities and a cornerstone to this is ensuring that the actual UTM referrer is captured when the lead first arrives at your website, and not overwritten with subsequent page visits.


If you could please share your code it would be greatly appreciated!


Thanks in advance.