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

Highlighted

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

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

5 REPLIES 5
Highlighted

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

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#c...

It think this has exactly what I was looking for.

Thank you!

Highlighted

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

Hi Sean,

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

-Greg

Highlighted

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

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

Highlighted

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

Hi Sean

Inga used to provide an open source version of the solution. Check if this still available.

-Greg

Highlighted

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

Thanks Greg, I've reached out to ask