SOLVED

Autofill with Cookie Value

Go to solution
Highlighted
Anonymous
Not applicable

Re: Autofill with Cookie Value

Any thoughts on how to modify the script so it will update the UTM values if a user returns with another UTM value.  For example, if the initial visit includes utm_source=linkedin and the second visit is utm_source=facebook.  The current script records utm_source=linkedin, but does not update to utm_source=facebook. How can I adjust the script, so it would update to utm_source=facebook?

Highlighted
Level 10 - Community Moderator

Re: Autofill with Cookie Value

If you want people's most recent touch on a single origin only (not across origins like pages.example.com and www.example.com, but only on www.example.com) then you don't even need to use cookies. In this blog post I provided an ultra-slim alternative.

Otherwise, I'd use an attribution library that can maintain multiple historical sources, translate referrers into friendly names, stuff like that.

Highlighted

Re: Autofill with Cookie Value

Hi, Im trying to implement this in our system. I get the cookie to grab the UTM values and keep it when going to other sites. The problem is to get the cookie to write the info onto the hidden fields. Do I need to set two hidden fields one "orginal utm" and one"last utm"? Would be lovely if someone could do a more step to step guide, or if anyone have time to guide me over chat/pm - thanks

Highlighted

Re: Autofill with Cookie Value

Hey Erik,

Yes, I created "original UTM" fields and included both "original" and "last" utm as hidden fields on forms. You will autofill the "Last" utm fields with URL Parameters and autofill the Original utm fields with your stored Cookie values.

Highlighted

Re: Autofill with Cookie Value

Did you also succeeded to do cross domain tracking? Our mainsite is on .com meanwhile our marketo lp are on .eu

Re: Autofill with Cookie Value

reply from Trevor Parsell<https://nation.marketo.com/people/4ed5c3be285642baea928d908bbd728046252be1?et=watches.email.thread> in Products - View the full discussion<https://nation.marketo.com/message/187820-re-autofill-with-cookie-value?et=watches.email.thread#comm...>

Highlighted
Level 10 - Community Moderator

Re: Autofill with Cookie Value

Did you also succeeded to do cross domain tracking? Our mainsite is on .com meanwhile our marketo lp are on .eu

This is a very, very different objective and requires a specialized JavaScript solution.

Also, since you're on .eu, are you setting your Munchkin domainLevel correctly?

Highlighted

Re: Autofill with Cookie Value

Hi

Yes the munchkin tracking is working as it should so no problem with that. I’m rather new with the company and the implementation of marketo was done before I started. But is it possible? Is it an own js for the domain tracking or should it be implemented in the existing script?

<https://nation.marketo.com/?et=watches.email.thread>

The Marketo Marketing Nation Community <https://nation.marketo.com/?et=watches.email.thread>

Re: Autofill with Cookie Value

reply from Sanford Whiteman<https://nation.marketo.com/people/63ea064b55e61d1184c4e1e1cc5ee59b25d3a3a1?et=watches.email.thread> in Products - View the full discussion<https://nation.marketo.com/message/187884-re-autofill-with-cookie-value?et=watches.email.thread#comm...>

Highlighted
Level 10 - Community Moderator

Re: Autofill with Cookie Value

Yes the munchkin tracking is working as it should so no problem with that.

It's not so much whether it's working on a single domain (hostname) as whether it's working across subdomains of your private domain, see: https://blog.teknkl.com/munchkin-2-letter-tlds-broken/. For example, though you may only be using partner.zyxel.eu, I can see that your sessions wouldn't be shared with www.zyxel.eu should you start using that domain (and of course aren't shared with www.zyxel.com, but sharing across subdomains of zyxel.eu is as simple as changing your Munchkin config).

Is it an own js for the domain tracking or should it be implemented in the existing script?

Not sure if I understand the question but there is no built-in support in the Munchkin library for tracking across different private domains. This is all done using custom development.

Re: Autofill with Cookie Value

Is there a way to start a provate conversation around this?

Highlighted
Level 10 - Community Moderator

Re: Autofill with Cookie Value

Sure, we follow each other so you can DM.