Home / Fix guides / Analytics, cookies and GDPR

How to add a GDPR consent checkbox or privacy notice to your contact form

Every form that collects personal data should tell people, right where they type, what you will do with it and link to your privacy policy. A consent checkbox is needed for some forms (like newsletter signups) but not always for a simple contact form.

This problem is easy to spot: a visitor reaches a form asking for a name, email address or phone number, and there is no sentence near the button explaining what happens to that information. No link to a privacy policy, no checkbox, nothing. Many sites have a privacy policy somewhere in the footer, but the form itself says nothing.

This page explains what is actually expected, how to check your own forms, and how to fix them on common platforms. It is general information, not legal advice. If your situation is unusual (health data, children, sensitive categories), ask a qualified person.

Notice or checkbox: what is the difference?

These two things get mixed up, and the mix-up leads to a lot of unnecessary checkboxes.

  • A privacy notice tells people who you are, why you collect their data, how long you keep it and how to contact you. Under GDPR you should give this information when you collect the data. On a form, that usually means a short sentence and a link to your full privacy policy next to the submit button.
  • A consent checkbox is how you ask for permission when consent is your legal basis for using the data. It must be a clear, active choice: an unticked box that the visitor ticks themselves.

For a plain contact form where someone asks a question and you reply, consent is often not the legal basis you rely on (replying to an enquiry is usually covered by other bases, such as legitimate interests or steps before a contract). In that case a notice with a link is the core requirement, and a checkbox is optional. Some businesses add one anyway to be safe, which is fine as long as the form still works properly.

A checkbox is normally needed when you want to use the details for something extra, such as a newsletter, marketing emails, or passing the data to a third party. That permission must be separate from the enquiry itself. Do not bundle it into one box, and do not pre-tick it.

Why it matters

  • Trust: a form that explains itself looks more honest, and people hesitate less before sending it.
  • Legal risk: data protection regulators in the EU and UK expect clear information at the point of collection. Missing notices are among the easiest things for a complaint to point at.
  • Marketing lists: if you add form submissions to an email list without proper consent, you may not be allowed to email those people, and your email provider may object.

How to check your own forms for free

  1. Open your site in a private browser window and visit every page with a form: contact, quote request, booking, newsletter signup, checkout, login or account creation, and any popups.
  2. Next to each submit button, look for a sentence about how data is used and a link to your privacy policy.
  3. Click that link. It should open a real, current policy that mentions form submissions.
  4. For any signup that adds people to a mailing list, check that there is a separate, unticked checkbox or an equally clear opt in.
  5. Check forms in footers, sidebars and popups too. They are often added by different tools and are easy to forget.
  6. Look at the form on a phone. Notices sometimes disappear or get cut off on small screens.

If you want this checked across the site as part of a wider review, week 27 of SiteMonday covers GDPR and cookie consent and reports on missing notices as part of that check.

How to fix it in general

  1. Decide the purpose of each form: answering a question, taking a booking, or joining a list.
  2. Write one or two plain sentences, for example: "We use your details only to reply to your enquiry. Read our Privacy Policy." with the last words linked.
  3. Place it directly above or below the submit button, not hidden in the footer.
  4. For marketing or newsletters, add a separate unticked checkbox, such as "Yes, send me news and offers by email", and do not make it required for sending the form.
  5. If you do add a required consent checkbox to a contact form, keep the wording specific and link to the policy.
  6. Make sure your privacy policy actually lists the data each form collects, who receives it (for example your email or CRM provider) and how long you keep it.

If you are comfortable editing HTML, the pattern looks like this:

<label>
  <input type="checkbox" name="marketing_consent" value="yes">
  Yes, send me news and offers by email. See our <a href="/privacy-policy/">Privacy Policy</a>.
</label>

Note there is no checked attribute, so the box starts empty.

Common platforms

Menu names change between versions and themes, so look for the idea rather than the exact label.

  • WordPress: Contact Form 7 has an acceptance field (the [acceptance] tag). WPForms and Gravity Forms have GDPR or consent field options, and plain text or HTML fields work for a notice. Full steps are in the WordPress guide.
  • Elementor: the Form widget has an Acceptance field type, and you can add an HTML field for a notice. See the Elementor guide.
  • Wix: in the form editor, add a checkbox or consent element and edit its text to include a link to your policy.
  • Squarespace: the form block lets you add a checkbox field, and you can put a notice in the form's description or footer text.
  • Webflow: add a checkbox to the form element in the Designer, set its label with a link, and mark it required only if consent is truly needed.
  • HubSpot: forms have legal consent options in the form settings, where you can show a notice and add consent checkboxes.
  • Shopify: the theme editor controls some signup text, and customer privacy settings cover cookie banners. Adding a checkbox to a contact form often means a small theme code edit, or an app.

Tools that send form data to a third party, such as an email marketing service, should also be named in your privacy policy.

How to confirm the fix worked

  1. Reload each form in a private window and confirm the notice and link show up.
  2. Click the privacy link to verify it opens the right page, not a 404.
  3. Submit a test entry with the checkbox ticked, then one with it unticked (if optional) and check that the result is what you intended.
  4. Check your email tool or CRM: contacts who did not tick the marketing box should not appear on the mailing list.
  5. Where your form tool stores consent (many record the checkbox answer with the submission), confirm the entry shows it.

How to stop it coming back

  • Add the notice to your form template or saved form block so new forms start with it.
  • Whenever you add a new form, popup or signup tool, test it with the checklist above.
  • Review your privacy policy once a year, and whenever you add a new tool that receives form data.
  • Remember that forms are only part of the picture. Cookies and tracking scripts need their own attention, for example cookies set before consent.

Fixing the forms is a ten minute job for most sites. The part that takes thought is deciding what each form is for and writing a notice that matches.

Step by step for your platform

Questions

Do I need a consent checkbox on a contact form?

Not always. For a form used only to answer an enquiry, a clear privacy notice with a link is usually the main requirement, and a checkbox is optional. You normally need a separate, unticked checkbox if you also want to send marketing emails.

Can the consent checkbox be pre-ticked?

No. Consent under GDPR needs a clear, active choice, so the box must start unticked and the visitor must tick it themselves.

Should the checkbox be required to submit the form?

Only if consent is the legal basis for the form itself. A marketing or newsletter checkbox should be optional, so people can still send their enquiry without ticking it.

Is a link to the privacy policy in the footer enough?

Usually not for forms. The information should be available where the data is collected, so put a short sentence and link next to the submit button as well.

Does this apply if my business is outside the EU?

GDPR can apply if you offer goods or services to people in the EU or UK, or monitor their behaviour, wherever you are based. If you have visitors there, it is sensible to add notices.

What should the privacy policy say about forms?

It should list what each form collects, why, who receives the data (such as your email or CRM provider), how long you keep it and how people can ask for access or deletion.

Related problems