← Back to blog

Collecting Visitor Data Under the GDPR: Why a Simple Contact Form Isn't Simple

A contact form or newsletter sign-up looks like the simplest part of a website. Under the GDPR it starts duties that run for years: a purpose and a legal basis for every field, consent that holds up, information at the moment of collection, and knowing where every copy goes. What small businesses need to have in mind, each point linked to the law.

Also available in: DeutschУкраїнська

November 11, 20268 min readIevgen Reginia (Aimix Founder)Privacy and cookies

A contact form is the most ordinary thing on a website. Name, email, a message, a button. Most website builders give you one in a minute.

Under the GDPR, that button is the start of a chain of duties that runs for years. From the moment someone presses it, you have to be able to say why you hold each piece of their data, show that they agreed where agreement is needed, tell them what happens to it, keep it safe, delete it on time, and find it again when they ask.

This is Part 1 of our series on collecting visitor data. It covers what to think about before and at the moment of collection. Part 2 is about proving consent when someone disputes it, and Part 3 about answering access, erasure and other requests.

Researchers, not lawyers. Aimix studies how website rules are written and applied, and is building these duties into its platform. Each legal statement below links to the provision or rule on legalgraph.org, our open knowledge graph of website law. This is general information, not legal advice.

1. A purpose for every field

The GDPR's first questions are not about checkboxes. They are about why. Personal data must be "adequate, relevant and limited to what is necessary" for the purpose you collect it for: the data minimisation principle.

So go through your form field by field. A phone number for a callback request: needed. A phone number on a newsletter sign-up: hard to justify. A date of birth on a contact form: almost never. Every field you leave out is one you never have to protect, explain, export or delete.

Each purpose needs one of the grounds in Article 6(1). The graph has this as the rule on a lawful basis. For forms, the usual pairs are:

What the form is for Usual legal basis
Answering an enquiry, a quote request, a booking Steps before a contract, Art. 6(1)(b), or legitimate interests, Art. 6(1)(f)
A newsletter or other marketing Consent, Art. 6(1)(a)
Passing the contact to a partner Consent, Art. 6(1)(a)
Keeping records you are obliged to keep Legal obligation, Art. 6(1)(c)

The important consequence: one form can have several purposes, each with its own basis. Someone who asks for a quote has not agreed to your newsletter. If you want both, you need to ask for the second separately.

Where you rely on consent, it has to meet the conditions the GDPR sets, and the graph splits them into separate rules:

  • A clear action. The person ticks the box; you don't tick it for them. The Court of Justice decided in Planet49 that a pre-ticked box is not valid consent.
  • Specific. One consent per purpose, not one box for "newsletter, partner offers and surveys" (rule).
  • Separate. Asked apart from other matters, not hidden in the terms (rule).
  • Freely given. You may not make your service depend on consent that the service doesn't need (Article 7(4), rule).
  • As easy to withdraw as to give, and the person must be told so beforehand (Article 7(3)).
  • Provable. You must be able to demonstrate that the person consented. Part 2 of this series is about what that means in practice.

A very common mistake is a mandatory checkbox "I have read and accept the privacy policy". Informing people is your duty, not something they consent to. That box adds nothing for the contact request, and it does not count as consent for anything else.

4. Information at the moment of collection

When you collect data from a person, you must tell them, at that moment, who you are, why you collect the data, on what basis, who receives it, how long you keep it and what their rights are: the list in Article 13, and the graph's privacy information rule. In practice: a short sentence next to the form and a link to the privacy policy.

There is a detail that matters later. Your privacy policy and your consent texts change over time. When a dispute comes two years from now, the question is not what your policy says today, but what this person saw when they pressed the button. If you can't answer that, your consent is hard to prove.

5. Newsletters: in Germany, double opt-in

For advertising emails, Germany's UWG requires the recipient's prior express consent, with a narrow exception for existing customers. The established way to show that consent came from the owner of the address is DOI: a confirmation email with a link, and only after the click does the address go on the list.

The BGH, Germany's Federal Court of Justice, explained the limits of that procedure in its leading ruling on proving consent: the confirmation shows the address owner agreed to emails, but it does not prove consent to phone calls, and each person's declaration has to be documented in full. We look at what that means for your records in Part 2.

6. Where the data goes next

The form's data rarely stays in one place. A typical small business setup:

  • the submission lands in a form tool's inbox,
  • a notification email copies it to one or more mailboxes,
  • the email address goes to a newsletter tool,
  • a webhook or an integration copies the contact into a CRM,
  • someone exports a spreadsheet for a campaign.

Each of these is a copy you are responsible for. Each provider that processes data for you needs a data processing agreement, and each processing activity belongs in your record of processing. And when someone asks you to delete their data (Part 3), you have to find all of these copies.

7. How long you keep the form data

Data may be kept only as long as the purpose needs it: the storage limitation principle. A contact request that led nowhere does not need to be kept for five years. A newsletter subscriber who unsubscribed should leave your active list, while you keep a minimal record that they withdrew (Part 2 explains why).

Set a retention period for each kind of submission, and make sure something actually deletes the data when the period ends. A policy that says "12 months" while the inbox keeps everything forever is worse than no policy.

Why GDPR-compliant forms are harder than they look

None of the points above is difficult on its own. What makes forms hard is that the duties don't end when the form is sent:

  • the wording of consents and policies changes, and you must still know which version each person saw;
  • the data multiplies across tools, and each copy has to be found again;
  • proof is needed years later, often after the person who built the form has left;
  • requests arrive at random, with a one-month deadline.

A small business that builds this from a form plugin, a newsletter tool and a spreadsheet ends up maintaining a compliance system by hand. That is exactly the part we want to take off their hands.

What we are building into Aimix

Aimix is building forms where these duties are part of the form, not an afterthought:

  • Consent items per purpose, never pre-ticked, each with its own wording, and every change to that wording kept as a new version;
  • Double opt-in built in for marketing consents, with a withdrawal link in every confirmation;
  • One place for the data, which knows where each submission was sent: notification, webhook or CRM;
  • Proof of consent and privacy requests handled on the platform, which the next two parts of this series describe.

Our aim is that a small business gets a compliant form the same way it gets a form at all: by adding it to the page.

Check which rules apply to you

Which of these rules apply depends on where you are and what you do. The checklist on legalgraph.org asks a few questions and lists the matching rules, each linked to its provision. For the wider picture of the GDPR on a website, see our GDPR website compliance checklist, and for cookies, Cookie Banner Rules 2026.


This article provides general information about the GDPR and does not constitute legal advice. For your specific situation, consult a qualified lawyer.