What you need
- a Veriqa server with a channel enabled;
- hosting where you can run a server-side handler, for example in PHP;
- access to the page with the form.
Steps
1
Decide whether you need a sign-in
A confirmed submission without a sign-in and a sign-in with channel linking are different
solutions; they are compared in
Two ways.
2
Deploy the server and enable a channel
Follow the self-hosted quickstart and Channel setup.
3
Declare a client for the handler
The client’s
redirect_uri is a regular page of your site where the visitor returns —
step 4 of the self-hosted quickstart.4
Put the handler next to the form
A button under the form starts the sign-in, and the handler exchanges the code for tokens and
checks them — The flow.
5
Store the confirmation with the lead
Save
sub and channel_type next to the lead; the bot flag lets you drop a lead before it is
stored — What the site gets.How to check
Fill in the form, press the button under it and confirm the submission in the messenger. The lead should be stored withsub and channel_type, and no session should open on the site.
Next steps
- Your own buttons on your own page — a button for a specific messenger under the form;
- Sign-in and channel linking — if your site has user accounts;
- Leads and feedback without CAPTCHA — what the use case gives you as a whole.