Sub topic 4
What makes consent valid
This chapter assumes you know what a marketing email list is, what personal data is (an email address counts), and how to read a simple HTML form. It covers the test that GDPR and the UK GDPR apply to consent, how to check a sign-up request against that test, and the errors that most often make consent invalid. It is general education, not legal advice.
Why the definition matters
Under GDPR, consent is "any freely given, specific, informed and unambiguous indication of the data subject's wishes" shown by a statement or a clear affirmative action (Article 4(11)). Under the ePrivacy rules, which cover electronic marketing in the EU and UK, the same standard applies to marketing email in most cases. The UK's PECR points to the UK GDPR definition.
Each word in that definition is a separate test. If a request fails any one of them, the consent is not valid, and every email sent on the strength of it is sent without a legal basis. Two consequences follow:
- A list built on invalid consent cannot be fixed by adding an unsubscribe link later.
- The burden of proof is on you. You must be able to show that the person consented (Article 7(1)). Recording proof is covered in a later chapter.
CAN-SPAM in the US does not require consent before sending, and CASL in Canada has its own rules for express and implied consent. This chapter uses the GDPR standard because it is the strictest of the three and a good design target for a global list.
The four tests
Freely given
The person must have a real choice. Consent is not free when:
- It is a condition of something unrelated. Requiring a newsletter opt-in to download a whitepaper, finish a purchase, or create an account is the classic case. GDPR Article 7(4) says regulators must take account of whether a service is made conditional on consent to processing that is not necessary for it.
- There is a clear imbalance of power. Employers and public authorities asking staff or citizens to consent are the usual examples. Consumer marketing is rarely affected, but a company with a dominant market position should be careful.
- Refusing has a penalty. If declining means a worse service, a hidden fee, or a nagging pop-up that returns on every page, the choice is not free.
- The person cannot say yes to one thing and no to another. Bundled consent fails this test and the next one.
A discount in exchange for signing up is a gray area. Regulators in several countries have accepted it where the offer is clear and the person is not otherwise disadvantaged, and have criticized it where the incentive is so large or so coercive that the choice is not real. Make the incentive modest, describe it honestly, and state that the person can still use the service without it.
Specific
Consent must be tied to a defined purpose. "Email me the monthly product newsletter" is specific. "Contact me about offers from us and our partners" is not, because it covers several purposes and several senders.
Practical rules:
- One checkbox for one purpose. If you want to send a newsletter and also share addresses with a partner, use two checkboxes.
- Do not hide marketing consent inside a general acceptance of terms and conditions.
- If you later want to use the address for a new purpose, such as SMS or targeted advertising, you need fresh consent for it. The original consent does not stretch.
Informed
The person must know what they are agreeing to before they agree. At a minimum, state:
- Who you are (the organization collecting the consent).
- What you will send and how often, if that is not obvious.
- That they can withdraw at any time.
- Where to find the full privacy notice.
Put this at the point of collection, in plain language, not only in a policy page. Legal jargon, tiny print, and wording that hides the commercial purpose ("Stay in the loop!") all weaken the claim that the person was informed.
Unambiguous
There must be a clear affirmative action. Ticking an unticked box, clicking a button labeled for the purpose, or choosing "Yes" in a toggle that defaults to off all qualify. The Court of Justice of the EU confirmed in the Planet49 case (2019) that pre-ticked boxes do not produce valid consent. Silence, inactivity, and continuing to browse do not either.
Note that "unambiguous" is about the action, not the interface. A tick box placed next to a button that says "Submit" is clear only if the label next to the box states the purpose.
Valid and invalid requests compared
| Feature | Likely valid | Likely invalid |
|---|---|---|
| Checkbox state | Unticked | Pre-ticked |
| Purpose | One stated purpose per box | "Offers from us and selected partners" |
| Placement | Separate from terms and conditions | Inside "I accept the terms" |
| Conditionality | Sign-up works without ticking | Download or checkout blocked unless ticked |
| Wording | "Email me the monthly Example Co. newsletter" | "Keep me updated" |
| Withdrawal | Stated at the point of collection | Not mentioned |
| Evidence | Wording and time stored | Only "opted in: true" stored |
Applying the tests to a real form
Here is the form from the topic's example, which passes the tests:
<form action="/subscribe" method="post">
<label for="email">Email address</label>
<input type="email" id="email" name="email" required>
<label>
<input type="checkbox" name="consent_newsletter" value="yes">
Email me the monthly Example Co. product newsletter. You can unsubscribe at any time.
</label>
<p>We use your email address only to send the newsletter. See our <a href="/privacy">privacy notice</a>.</p>
<button type="submit">Subscribe</button>
</form>Checking it against each test:
- Freely given: The checkbox is not
required. The email field is required, but only because you cannot send anything without it. Hold on, though: if this form's sole purpose is the newsletter, the person who gives an email address and leaves the box unticked has asked for nothing. Your server code must treat a missingconsent_newslettervalue as "do not subscribe", not as an error that forces them to tick. - Specific: The label names one purpose and one sender.
- Informed: The label identifies the sender and the content, the unsubscribe right is stated, and the privacy notice is linked.
- Unambiguous: The box is not pre-ticked, so ticking it is the affirmative action. No
checkedattribute is present.
A server-side check keeps the form honest. A request without the consent value must not add the address to the list:
def handle_subscribe(form: dict) -> str:
email = form.get("email", "").strip()
if not email:
return "error: email required"
if form.get("consent_newsletter") != "yes":
return "not subscribed: consent not given"
return f"pending confirmation for {email}"
print(handle_subscribe({"email": "[email protected]"}))
print(handle_subscribe({"email": "[email protected]", "consent_newsletter": "yes"}))Running this prints:
not subscribed: consent not given
pending confirmation for [email protected]Common errors
- Pre-ticked boxes, or boxes ticked by script. A default of "checked" in HTML, or JavaScript that ticks the box on page load, invalidates the consent. Review client-side code, not only the template.
- Consent hidden in terms. "By signing up you agree to our terms and marketing emails" is bundled consent.
- Inferring consent from a purchase or a business card. In the EU and UK this is not consent. The soft opt-in exception for existing customers has its own conditions and is covered in a separate chapter.
- Making the box mandatory. A required marketing checkbox on a checkout form fails the freely given test.
- Changing the purpose after collection. A person who agreed to a newsletter has not agreed to targeted ads built from their browsing.
- Assuming old consent still counts. Consent collected before May 2018 under looser standards often does not meet the GDPR definition.
- Treating a "yes" as permanent. Consent can be withdrawn at any time, and withdrawing must be as easy as giving it (Article 7(3)). A long-ago "yes" with no activity is weak evidence of ongoing willingness.
Edge cases
Children. If you offer an online service directly to a child, GDPR Article 8 sets an age threshold between 13 and 16, depending on the member state, below which a parent or guardian must give or authorize consent. Marketing emails to young audiences need extra care in both wording and verification.
Consent for a different language or market. The request must be understandable to the person reading it. A sign-up form shown to French residents in English only is weak on the informed test.
Forms that collect several things. A contact form that asks for a message and offers a newsletter should separate them. Sending the reply the person asked for does not need consent. The newsletter does.
Legitimate interests. GDPR allows other legal bases, and some marketing under GDPR can rely on legitimate interests. For electronic marketing to individuals in the EU and UK, however, the ePrivacy rules usually require consent, or the narrow soft opt-in, before you send. Do not assume legitimate interests lets you email a stranger.
Opt-out regimes. In the US under CAN-SPAM, a person who never consented can still lawfully be emailed if the message meets the content rules and honors unsubscribes. Even so, a consent-grade request is worth using, because it reduces complaints and keeps your sender reputation healthy.
A short checklist
- Is the box unticked, in the HTML and after scripts run?
- Does one box cover one purpose and one sender?
- Is the sign-up or purchase possible without ticking it?
- Does the text next to the box say who, what, and that withdrawal is possible?
- Is the privacy notice linked at the point of collection?
- Can you show later which wording the person saw and when they agreed?
Exercise
A checkout page has a pre-ticked box reading "I agree to the terms and to receive offers from Example Co. and our trusted partners." Name the tests it fails and describe a compliant replacement.
Show answer
It fails unambiguous (pre-ticked box, so no affirmative action), specific (terms and marketing are bundled, and "our trusted partners" adds other senders and purposes), and freely given (consent to marketing is tied to the purchase). It is also weak on informed, because the partners are not named. A compliant replacement keeps the terms acceptance as a required step for the purchase, and adds a separate, unticked, optional checkbox such as "Email me offers from Example Co. You can unsubscribe at any time," with a link to the privacy notice. Partner marketing would need its own checkbox naming the partners, or should be dropped.
Exercise
In the Python example, why does handle_subscribe return "not subscribed" when consent_newsletter is missing, instead of treating the request as an error or subscribing the person anyway?
Show answer
A missing value means the person did not take the affirmative action. Subscribing them anyway would rely on silence, which is not valid consent. Treating it as an error would push people to tick the box to get past it, which undermines the freely given test. The correct behavior is to leave the person off the list and not penalize them.