Embed widget

A ready-made, accessible lead form in your workspace's colours. Paste one tag where the form should appear.

Add it to your page

Use a public key. Add your website to the key's allowed origins first; test keys may also use http://localhost.

HTML
<div id="visaflow-form"></div>
<script
  src="https://visaflow.work/embed/form.js"
  data-key="vf_test_pub_xxxxxxxx_PASTE_THE_REST_OF_YOUR_KEY"
  data-target="#visaflow-form"
  data-api="https://api.visaflow.work"
  async></script>

Attributes

Attributes
AttributeWhat it does
data-keyYour public key.
data-targetCSS selector of the element the form is placed in.
data-apiThe API host. Keep the value from the snippet.

What it does for you

  • Shows name, phone and email, then your workspace's lead fields, with clear labels and inline errors.
  • Adds the captcha, a hidden spam trap and your consent text with a required checkbox.
  • Sends each submission once (a new Idempotency-Key per submit) and shows a thank-you message.
  • Sets no cookies and stores nothing in the visitor's browser.

Try it

Open the demo page with a public test key: https://visaflow.work/embed/demo.html?key=vf_test_pub_xxxxxxxx_...

Prefer your own HTML? Post to the same endpoint with a public key. See the Quickstart for the request.