Go live on a client site
A 15-minute checklist for the first real install. It confirms leads arrive, are scored, reach the team, and still get through when things go wrong.
1. Set up the website in Leadvane
- Websites → Add website. Under Allowed domains put the client's domain (
client.comcoverswww.client.comand other subdomains) and, while testing,localhost:3000or whatever port you use. - Fill in Ideal customer. AI scoring uses it.
- Notifications → Add notification: connect Slack or Telegram (or add an email) and press Test. You should see the sample lead within seconds.
2. Install, in the way that suits the site
| The site is… | Use |
|---|---|
| Plain HTML, WordPress theme, Webflow embed | The HTML form snippet. Keep its action and method, so the form still posts if scripts are blocked. |
| Already has forms (Contact Form 7, Elementor, WPForms, Wix, Squarespace) | The Existing forms snippet: one script tag with data-auto-capture="on". No changes to the forms. |
| React, Next.js, Vue, any app | @leadvane/sdk; see React & Next.js. |
| Can't run scripts: Instagram or WhatsApp bio, QR code, email signature | Turn on Hosted form and share the Hosted link. |
| A server, CRM or form builder with webhooks | POST to the Submit API. |
3. Check the install
Add data-debug to the script tag and open the browser console on the client's site. You'll see one of:
[leadvane] capturing form "contact"
[leadvane] ready: v0.2.0, endpoint https://leadvane.…workers.dev, 0 queued
[leadvane] https://client.com is not in this website's allowed domains. Add it in Leadvane → Websites.
[leadvane] site key pk_… is not recognised by https://…Remove data-debug once leads arrive.
4. Send real test leads
- Submit the form with your own details. It should appear under Leads within a second, with a score a few seconds later, and in Slack or Telegram.
- Open the lead. Under Activity you'll see where it came from (
meta.via:embed,auto,react,hosted,native,beaconorapi), the page and any UTM tags. - Press Won in Slack or Telegram and check the lead's status changed in the dashboard.
5. Test the fallbacks
| Try this | What should happen |
|---|---|
| DevTools → Network → Offline, then submit | The visitor sees "we'll send this as soon as you're back". Go back online: the lead arrives within seconds, once. |
| Submit, then close the tab straight away | The lead still arrives (keepalive, then sendBeacon on page hide). |
| Block the Leadvane domain in DevTools (Network request blocking), submit, unblock, reload | The lead is queued and delivered on the next page load. |
| Turn JavaScript off and submit the HTML form | The browser posts the form, Leadvane redirects back with ?lead=ok. |
| Submit twice quickly, or retry the same submission | One lead. Every attempt carries the same id. |
6. Before you hand it over
- Remove
localhostentries from Allowed domains. - Turn on Require a consent checkbox if the form doesn't already have one (DPDP Act).
- Add an Uptime monitor for the site, and invite the client under Team.
- Mark a few leads Won or Lost over the first weeks: scoring learns from them.