Attention: The Marketo Community will undergo scheduled maintenance on Tuesday, August 20th between 10-11 PM PDT. During this time, the Community and its content will not be accessible. We apologize for any inconvenience this may cause.
OK, let me know how it goes! Too hot to bake cupcakes now, though.
Jesus Requena This is an interesting idea. I haven't tried putting a token in the advanced thank you page settings, but my experience is that some system dialogues like this do accept tokens and others (e.g., social button config) do not.
Have you tried using the default token format with mustache braces? e.g., {{lead.whatever}} ?
Please post back if you test this and it works as I'd be curious to know.Sanford Whiteman 's solution is obviously a good option but it would be neat to do this within the interface.
That all being said...I'm curious about this approach in general. How is the token value on the thank you page URL triggering your retargeting?
Perhaps you could instead put a custom HTML element with the call to your retargeting tracking pixel on the thank you page and include the token in that. That will 100% work and you don't need to worry about extra JS or complicated thank you page logic.
Just an alternative approach to consider.
P.S. Jesus Requena, strangely, the system seems to think your first name is a bad word and is converting it to asterisks. How odd.
Hey Justin, yeah we tried that and it didn't work, it shows weird long URL that is not rendering the field value, it's a shame that marketo still doesn't have this functionality built in, many other small tier tools have it.
Sanford Whiteman when you refer to the form success where exactly do we place the code? in the initial form?
All JS enhancements to a form go inside the onReady/whenReady listener (that's the 4th argument to MktoForms2.loadForm or 1st arg to MktoForms2.whenReady).
The former case is for embedded forms on non-Marketo pages (or on Marketo pages if you prefer embedding there for some reason), while the latter is for Marketo LPs only.