SOLVED

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

Go to solution
SanfordWhiteman
Level 10 - Community Moderator

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

OK, let me know how it goes! Too hot to bake cupcakes now, though.

Justin_Norris1
Level 10 - Champion Alumni

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

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.

Justin_Norris1
Level 10 - Champion Alumni

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

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.

Anonymous
Not applicable

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

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.

Anonymous
Not applicable

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

Sanford Whiteman​ when you refer to the form success where exactly do we place the code? in the initial form?

SanfordWhiteman
Level 10 - Community Moderator

Re: Insert a URL Parameter into thank you page URL (using advanced choice options)

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.

See Forms 2.0 » Marketo Developers.