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.
You don't need server-side coding to do what you describe. It can (and on Marketo pages, must) be done in JS.
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
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.
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?
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.
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?
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.