I would also like to see an answer to this! :)
I’m imagining there might be some way for wordpress to dynamically adjust the hidden value in the embedded link to match the value of the url parameter. This would help me a lot with our chat-style inquiry form that is embedded in our footer for the entire site.
Here’s what I’ve learned:
@mathio may be able to help with this!
Yes, you can use transitive search params to pass params from host page to your embed.
What do you mean by passing params via internal anchor? Do you have any example of what you want to achieve? Can you share your website too?
@mathio - Web site is https://driveforsaferroads.com/
In the hero section, there’s a blue button LET’S GET STARTED that is an anchor link https://driveforsaferroads.com/#howitworks] to the HOW IT WORKS section on this page.
In this section, there is a CTA that opens the TypeForm modal. If the UTM params are on the query string, then the transitive search params work! Happiness.
However, I’m struggling to get the UTM params to properly set on the anchor link in the hero section.
Any suggestions on how to make this work will be appreciated.
Thanks,
Graham
I think you would need to build this integration manually. You could use JavaScript API of Typeform Embed SDK. You would need to populate hidden field values based on the URL by yourself.
Here is an example of how this could work:
https://glitch.com/edit/#!/tf-custom-hidden-fields