Lead form
The lead form will display a button on your site that will open a lead form where a candidate can leave his phone number.
Last updated
The lead form will display a button on your site that will open a lead form where a candidate can leave his phone number.
Last updated
The code required for the lead form can be accessed by opening the.
In the script you'll find two variables data-flow-id, data-organization-id
. To find out how you can customize your widget read the chapter
You typically want to include scripts in the <head>
section or just before the closing </body>
tag of your HTML document. This ensures that the script is loaded properly when the page is rendered. We recommend splitting the script in two parts; the<div>
and the<script>.
The script tag can be added in the header or at the top of the page. The div needs to be added on the location where you want the button to show because we will fill the content of the div with the button and form.
Copy and paste the provided code snippet into the desired location in your HTML file.
Validate if the value behind the data-flow-id matches the ID of the flow you are trying to connect. Save the changes and validate that the widget is loading in the correct location. Open the chat by clicking the 💬 button and validate if the correct chat is being displayed.
To make sure the lead form shows on all pages of your site the script needs to be added to every page. How to do this varies from site to site. Typically most sites have some sort of content management system that helps adding a script to every page.
If you want to have a seperate flow connected to every page your website will need to have a mapping of the pages and the respective data-flow-id for that site.
You can send custom data to your chatbot using dynamic variables in the script. This can be used to forward data from your jobsite to the chatbot. This can be any textual data like id's, vacancy titles, location names, etc.
You can add custom data to your script by adding data-session variables in the <div>
element of the script. For example: <div data-session-vacancy-id="1234">
Adding this to your script will allow you to use {{session.vacancy_id}}
in your chatbot and have the vacancy id available for fetching resource in the chatbot.