5 Replies Latest reply on Jun 24, 2018 4:51 PM by Sean Richards

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

    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.

      Sean