Website snippet: connect any site with one line
Put a WhatsApp chat button on your website and turn every enquiry into a message, without a developer for most sites. Works on WordPress, Wix, Shopify, Webflow, Lovable, plain HTML, anything that lets you add a script.
Set it up (two steps)
- In Connect, open Connectors → Websites, type your site's address (like
mysite.com) and tap Connect. - Paste the one line Connect shows you just before the closing
</body>tag, once, so it loads on every page:
<script src="https://connect.nevorai.com/w.js" data-site="nws_YOUR_SITE_ID" async></script>Open your site once. The Websites screen turns green by itself ("We see mysite.com"), and the chat button appears in the corner of your site.
Not a developer? Tap Send to my developer or Copy AI prompt on the Websites screen: it copies a ready message with your exact line.
What it does
- Chat button: a tap opens WhatsApp with your number and a ready message. Works at once. Taps and chats show in your Inbox under "From links".
- Leave your number: a small form with a tick box asking permission to message them. Connect saves the person, tags them (default tag: Website) and starts the follow-up you picked, so the first message goes out at once.
- Catch my site's own forms (optional): any form on your site with a phone field becomes an enquiry too, without changing the form. Passwords, card numbers, ID numbers and one-time codes are never read. Turn it on only if your forms already tell people they will get WhatsApp messages from you.
- The look (title, texts, colour, corner) is set in Connect and reaches your site within a minute. You never edit the site again.
Your own form (custom code)
If your site has its own form (React, Next.js, anything), call this after a successful submit, only when the visitor agreed to get WhatsApp messages:
window.NevoraiConnect?.lead({ name, phone, consent: true, f: { city: "Indore" } });f carries any extra answers (up to 30). The call returns a promise with { ok: true } or { ok: false, error }. There is also NevoraiConnect.open() and NevoraiConnect.close() for the panel.
To start a ready-made follow-up for something that happened (a sign-up, a payment left unpaid, a booking), use an event instead; the matching recipe must be turned on in Connect (Connectors → Recipes):
window.NevoraiConnect?.event("payment_pending", { name, phone, consent: true, f: { amount: "999" } });See Events for the recipes and the other ways to send them.
No website? Share a link
Connectors → Websites → "I don't have a website" makes a page at connect.nevorai.com/join/<code> where anyone can leave their number (with a tick box). Put the link or its QR in an Instagram bio, a Linktree, a WhatsApp status or a poster. The person is saved, tagged and put into the follow-up you picked, exactly like a website enquiry.
From your server (payments, bookings)
The site's own server can send an enquiry to the website's private link (shown under For developers on the Websites screen), or send an approved template with an API key. See Connect API. Keep the link and the key on the server, never in the browser.
curl -X POST "https://connect.nevorai.com/api/hooks/nch_YOUR_PRIVATE_LINK" \
-H "Content-Type: application/json" \
-d '{ "phone": "919876543210", "name": "Ravi", "plan": "Gold" }'How it stays safe
- The site id in the line is public (like a Meta Pixel id). It can only add enquiries and say hello. It cannot read anything, and it never sends free text: what a person gets is what you set up in Connect.
- Enquiries are only accepted from the address you connected (and its subdomains, like
shop.mysite.com). A copy of the line on another site does nothing, and the Websites screen tells you it loaded elsewhere. - Every form needs the person's tick. Robots are filtered out, and there are limits per visitor, per site and per day.
- The same number from one site twice in a day gets the messages once.
Good to know
- Content-Security-Policy: if your site sets one, allow
https://connect.nevorai.cominscript-srcandconnect-src. - Preview addresses: building on a Lovable or Vercel preview link? Add that address as a website now and the real one when it goes live. Each is separate.
- Turn off: switch the site off in Connect and the button disappears and enquiries are ignored, with nothing to change on the site. Removing the website does the same for good.
- Opt-out: anyone who replies STOP gets nothing more, from every route.