Share feedback, ideas and get community help

D
F
M
a
g

Get URL of host page

I'm looking to get the url of the host page for an embedded bot, using JS added to the typebot embed code and set along with the other parameters. Just looking for feedback, is this the most sensible way to send the url to the bot server? I'm trying to build contextual responses based on the url the user is on.
B
R
2 comments
A set variable block with the following custom value: document.location.href don't forget to enable the "Execute on client" option
Thanks. Simple enough.
Add a reply
Sign up and join the conversation on Discord
Join