Re: Set up a Hidden Field

Yanir_Calisar2
Level 3

Re: Set up a Hidden Field

Please try the updated link.

If that doesn't work try:

UTM Capturing and Storing in Cookies

Anonymous
Not applicable

Re: Set up a Hidden Field

Capture.PNG

Anonymous
Not applicable

Re: Set up a Hidden Field

On the first interaction of the lead (visitor) with your website, you can check for the query string. If the query string is present, you can then just continue appending it to all the URLs that lead (visitor) is browsing through.

I wanted similar option in different scenario and I did that. With little server side coding that is possible.
Hope this will give you at least some direction.

SanfordWhiteman
Level 10 - Community Moderator

Re: Set up a Hidden Field

You don't need server-side coding to do what you describe. It can (and on Marketo pages, must) be done in JS.

Anonymous
Not applicable

Re: Set up a Hidden Field

Thanks Kundan, could you please share the how did you do append the query string to all the URL's, like the code and where have you put that code

SanfordWhiteman
Level 10 - Community Moderator

Re: Set up a Hidden Field

This is not the move, Addy. Yanir's cookie forwarder is simpler and less prone to error. Appending data to all your links is not necessary *unless* they are exit links (leaving the parent domain and thus crossing the cookie barrier). Dynamically created links are particularly hard to manage in this way.

Anonymous
Not applicable

Re: Set up a Hidden Field

Thanks San, it makes sense.. I could not see the coding by Yanir.. as git-hub is blocked, I'll get IT to unblock it and have a look at Yanir code so where  will the codes be added do I need to create fields in Marketo?

SanfordWhiteman
Level 10 - Community Moderator

Re: Set up a Hidden Field

You'll create hidden fields as you normally would, then because the values are being preserved in individual cookies you'll set the AutoFill source to each cookie name.

David_Jackman1
Level 2

Re: Set up a Hidden Field

Hey Sanford. Thanks for your input on this topic. I have a similar need to track attribution, organic visits vs. digital/social ad sources, but am I right in thinking that if we cookie them, and one of the leads happens to be in/belong to an EU country, and they end up not double-opting in, that we risk gdpr compliance issues?

SanfordWhiteman
Level 10 - Community Moderator

Re: Set up a Hidden Field

Yes, if you don't get opt-in before setting cookies, if the transaction is subject to a jurisdiction in which that matters, then... it matters.