The LP platform is an online website (landing page) builder.
To transfer data from the registration form from the LP Platform to the BotHelp subscriber profile, you need to set up the following work scenario:
- The subscriber is directed to a website with a registration form from the LP Platform.
- Fills out the form and presses the button to confirm.
- After successfully filling out the form, you will be automatically redirected to the "Thank you" page.
- On the "Thank you" page, the subscriber opens and launches the BotHelp bot via the BotHelp widget buttons
- Done! The data from the form has been saved in the subscriber's .
What needs to be done to make this form data transfer scenario work:
1. In the “LP Platform” website builder, create the first page and add a standard registration form from the “Forms” section.
2. In the settings of the added registration form:
- Add fields to fill in with the types Email, Name, Phone .
- In the settings of each field, be sure to fill in the "Field ID (for integrations)" field.
- For the Name , enter the value "name".
- For the Email , enter the value "email".
- For the Phone , specify the value "phone".
- In the "Redirect Address" field, paste the script:
http://thankyoupage.ru<%= send.hit.uri + (send.hit.uri === '/' ? '?' : '&') %><%= new URLSearchParams(send.fields.filter((v) => v.value && v.id).reduce((acc, v) => (acc[v.id] = v.value, acc), {})) %>
IMPORTANT! thankyoupage.ru
link, insert the address of your "Thank you" page. The "Thank you" page must be created separately. After filling out the form, subscribers will be redirected to this page.
- If necessary, you can add a custom field to the registration form and also pass its value to BotHelp.
- In the settings of this field, you also need to specify its “Field ID (for integrations)”.
- Important: for this to work, your BotHelp account must already have a custom field with the same name.
- For example, you added a field with the ID "city" to the registration form. If your BotHelp account has the same custom field, the value from the registration form will be written to the subscriber's profile in this custom field "city".
- If necessary, you can add a mask for entering the phone number in the registration form. Detailed instructions here: link .
- Save and publish the page - the page with the form is ready.
3. In the website builder “LP Platform”, create a second page – “Thank you”.
- Add the "HTML code" block from the "HTML" section.
- the widget button for subscribing to the bot into the block content
Done! Now you have a bundle: a page with a registration form + a “Thank you” page from which subscribers can go to bots.
If you have not found the answer to your question, ask us in the chat inside your account or write to BotHelpSupportBot or to hello@bothelp.io
Get 14 days of full functionality of the platform for creating mailings, autofunnels and chatbots BotHelp.