How lead token can be used with thank you page URL?

How lead token can be used with thank you page URL?

I want to add lead token in the thankyou page url and thank you page is created in the wordpress but when I tried to add and save it, it is not letting me do it. It says I can only add my. token with the url.

Screen Shot 2019-03-06 at 12.12.29 pm.png

Any suggestions how I can do this?

15 REPLIES 15
Level 10 - Community Moderator

Re: How lead token can be used with thank you page URL?

The final lead in the database is not fully resolved at the point the Thank You page is selected.

It would not be possible to reference fields present on an existing lead due to be merged with the posted data. Hence the capability as a whole is not offered.

You can use the fields from the form post itself to select the Thank You URL, of course.

Re: How lead token can be used with thank you page URL?

Thanks Sanford Whiteman​! Got it done by adding custom javascript code finally.

Level 10 - Community Moderator

Re: How lead token can be used with thank you page URL?

Not for fields that weren't in the form post itself, presumably.

Re: How lead token can be used with thank you page URL?

Yeah! We collected the information through form fields and same details was required to populate in the thank you page url. (just because agency needed it)

Level 5

Re: How lead token can be used with thank you page URL?

Hi Sant,

I just came across this post researching exactly the same use case. Could you tell me a little bit more about the JS you required to make it work?

Thanks!

Kind regards,
Katja

Level 10 - Community Moderator

Re: How lead token can be used with thank you page URL?

Are you trying to use a field that was submitted on the form?

Level 5

Re: How lead token can be used with thank you page URL?

A hidden field on the form, yes (copy of the lead id field actually).

Level 10 - Community Moderator

Re: How lead token can be used with thank you page URL?

You can use a standard pattern which I'll add to the Products Blog this wknd.

Level 5

Re: How lead token can be used with thank you page URL?

You're a gem.