Storing Referer UTM Last Touch in Javascript to feed lead source data | Community
Skip to main content
Sean_Richards
Level 4
June 23, 2018
Question

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

  • June 23, 2018
  • 1 reply
  • 2866 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Sean_Richards
Level 4
June 23, 2018

Despite having searched many times on the community before for terms like "UTM tracking" etc, I did a search for just "UTM" and found this: Re: UTM parameters not firing on Marketo form submissions

https://nation.marketo.com/message/185563-re-utm-parameters-not-firing-on-marketo-form-submissions#comment-185563

It think this has exactly what I was looking for.

Thank you!

Sean Richards
Grégoire_Miche2
Level 10
June 23, 2018

Hi Sean,

One of the best solutions for this is @Inga Romanoff​'s Conversion Path.

-Greg

Sean_Richards
Level 4
June 24, 2018

Hi Grégoire,

No budget at the moment and it's our first attempt at MT attribution, so happy to start from the basics before attempting to go the the next level

Sean Richards