Share feedback, ideas and get community help

Updated 2 weeks ago

Url variable

At a glance

The community member is asking for help on how to set the current URL to a variable in their Typebot flow. The answer provided by another community member suggests using a "Set variable" block with custom code that returns document.location.href, with the "Execute on client?" option turned on.

Dears, could you help me how set a current url to a variable in my typebot flow, please?

Thanks
Marked as solution
Set variable block with custom code:

Plain Text
return document.location.href


With Execute on client? option on.
View full solution
B
1 comment
Set variable block with custom code:

Plain Text
return document.location.href


With Execute on client? option on.
Add a reply
Sign up and join the conversation on Discord