Consent form for
your website.
One line of code gives you a WhatsApp opt-in form with the wording, checkbox and data-rights text built in. Enter your details, copy the code and paste it into your site.
- 1Copy your codeFill in your business name and privacy link above. Your code appears, ready to copy.
- 2Paste it where you want the formOpen the page of your website where the form should appear, add a custom-code block, and paste.
- 3Customers sign upVisitors tick the box and enter their number. Nurdge keeps a record of each opt-in.
<script src="https://YOUR-NURDGE-HOST/embed/nurdge-consent.js" data-business="Orchid Spa" data-privacy="https://example.com/privacy" data-country="NG" data-key="YOUR_KEY" async></script>
Paste it into your website where the form should appear. The YOUR_KEY is replaced by your own key after you subscribe.
Live preview
Preview mode: nothing you enter here is saved or sent.
What it does
A form, not a new website.
The code adds one sign-up form at the spot where you paste it. Nothing else changes.
It does
- Shows a WhatsApp sign-up form exactly where you paste the code
- Works on any page, including a new page you create just for it
- Keeps its own record of every opt-in: the wording, the time and the page
- Leaves everything else on your website alone
It does not
- Create a new page for you (you add it to a page you choose)
- Change or replace the contact form you already have
- Send sign-ups to your contact-form email inbox (they go to Nurdge)
Using it next to your contact form? That works well: put the Nurdge form below or beside your contact form. They stay two separate forms. Adding the consent checkbox inside your own form is planned for later, not available yet.
Where to paste it
Add it to your website.
Pick your website builder. Menu names can differ slightly by theme and plan.
WordPress
- Open the page you want to edit and add a block.
- Choose “Custom HTML”.
- Paste your code into the block and update the page.
Wix
- Open the page in the editor and click Add (+).
- Choose “Embed code”, then “Embed HTML” (or “Custom code”).
- Paste your code, apply, and publish.
Squarespace
- Edit the page and add a block.
- Choose “Code” and turn off “Display source”.
- Paste your code and save.
Shopify
- Open the theme editor for the page.
- Add a “Custom Liquid” (or “Custom HTML”) section.
- Paste your code and save.
Webflow
- Open the page in the Designer.
- Add an “Embed” element where the form should go.
- Paste your code, save, and publish.
A website written in HTML
- Open the page file.
- Paste the code where the form should appear.
- Upload the file.
What the form includes
Built to be compliant by default.
- Consent wording that names you and the channel“I agree to receive a WhatsApp message from your business asking about my visit. Reply STOP any time to opt out.”
- An unticked checkbox, kept apart from your termsNothing is pre-ticked, and the form won’t submit until the box is ticked. A privacy-policy link sits next to it.
- A phone field with a country codeChecked for a valid format before anything is sent, so typos and junk numbers are caught.
- Opt-out and data rights in plain wordsYou are the data controller and Nurdge processes the data for you. Customers are told they can see, correct or delete their data, or withdraw consent, any time.
It also asks the customer to confirm on WhatsApp (when you add your number), which proves the number is theirs, and it stores the wording they saw, the time and the page, so you have a record of every opt-in. It won’t render without a business name and a privacy link.
If something goes wrong
Quick fixes.
Nothing appears on my page
Some website builders block custom code on their cheaper plans, or strip script tags. Check your plan, preview the published page (not the editor), and make sure you pasted the whole code, from <script to </script>.
It says the form is not set up
The form needs a business name and a link to your privacy policy. Check both are filled in when you generate your code. It will not show without them, on purpose.
My website has strict security settings
If your site uses a Content Security Policy, ask whoever manages it to allow scripts from the address in your code.