Sub topic 15
Handle privacy notices and consent
This chapter assumes you have a landing page with a lead form (see the call-to-action and form chapter) and analytics or conversion tracking installed (see the measurement chapter). You should know what a cookie is and what a tracking script does. This is a practical guide, not legal advice. Rules differ by country and by the type of data you collect, so confirm your final setup with whoever handles legal matters at your organization.
Why a campaign page needs this
A landing page collects personal data in two ways:
- Directly. The visitor types a name or email into your form.
- Indirectly. Your analytics tool, ad pixels, and embedded videos set cookies or read device identifiers as soon as the page loads.
Both ways can fall under privacy laws such as the GDPR in the EU and UK, the CCPA/CPRA in California, and similar laws elsewhere. Platforms that serve your ads, such as ad networks and social networks, also require you to disclose tracking and often require consent. A page that breaks these rules can be rejected from ad platforms, penalized by regulators, or distrusted by visitors.
Key terms
| Term | Meaning |
|---|---|
| Personal data | Any information that identifies a person or could be linked to one, such as an email address, IP address, or cookie ID. |
| Privacy notice (or privacy policy) | A public page that explains what you collect, why, who receives it, how long you keep it, and how people can exercise their rights. |
| Consent | A visitor's clear, specific, voluntary agreement to a stated use of their data. |
| Lawful basis | The legal reason you are allowed to process data. Consent is one. Contract and legitimate interest are others. |
| Cookie banner (consent banner) | A prompt that asks visitors to accept or reject non-essential cookies and trackers. |
| Strictly necessary cookie | A cookie the site needs to function, such as one that keeps a form session alive. These usually do not need consent. |
Step 1: Publish a privacy notice
Create a privacy page and link to it from the landing page footer and next to the form. Most builders have a legal-pages feature or a template. Many organizations already have a company-wide notice. If so, link to it instead of writing a new one.
A useful notice for a campaign page covers:
- Who you are. Your organization name and a contact address.
- What you collect. The form fields, plus technical data such as IP address, browser, and campaign (UTM) values.
- Why you collect it. For example, "to send you the guide you requested" and "to measure which campaigns work."
- Who receives it. Your email platform, CRM, analytics provider, and ad platforms.
- How long you keep it. A retention period, such as "24 months after your last interaction."
- Visitor rights. Access, correction, deletion, and withdrawal of consent, and how to ask.
Write it in plain language. A notice nobody can read does not meet the goal of informing people.
Step 2: Make form consent honest
Your form is where consent most often goes wrong. Follow these rules:
- Collect only what the campaign needs. If you only need an email to send the offer, do not ask for a phone number.
- Place a short notice by the button. For example: "We use your email to send the guide. See our Privacy Notice."
- Use a separate, unticked checkbox for marketing emails. If you plan to send newsletters beyond the offer itself, ask for that agreement separately. Do not pre-tick the box, and do not bundle it with accepting terms.
- Keep the offer independent of optional consent. Where the law requires consent to be freely given, you should not block the download because someone declined the newsletter.
- Record the consent. Store the timestamp, the page URL, and the exact checkbox wording with each submission, if your builder or CRM allows it.
A typical form fragment looks like this:
<form action="/submit" method="post">
<label for="email">Email</label>
<input id="email" name="email" type="email" required autocomplete="email">
<label>
<input type="checkbox" name="marketing_opt_in" value="yes">
Yes, send me occasional news and offers. I can unsubscribe at any time.
</label>
<p class="form-note">
We use your email to send the guide you requested.
Read our <a href="/privacy">Privacy Notice</a>.
</p>
<button type="submit">Send me the guide</button>
</form>Notice that the checkbox has no checked attribute. In a builder, you will usually reproduce this with a checkbox field and a rich-text note, and map the checkbox to a field in your email or CRM tool so the answer travels with the lead.
Step 3: Decide what needs a cookie banner
Sort every script on the page into one of two groups.
| Group | Examples | Typical treatment |
|---|---|---|
| Strictly necessary | Form session, load balancing, security | Allowed without consent. Mention in the notice. |
| Non-essential | Analytics, ad pixels, heatmaps, embedded social video | In regions that require it, load only after the visitor opts in. |
Many builders include a built-in consent banner. If yours does not, use a consent management tool. The important behavior is blocking: non-essential scripts must not run until the visitor agrees. A banner that only displays a message while the trackers already fire does not protect anyone.
Good banner design:
- "Accept" and "Reject" are equally easy to click.
- Choices are explained in plain words.
- The visitor can change their mind later through a link such as "Cookie settings" in the footer.
- The banner does not cover the hero or the form on small screens, which would hurt conversion and usability.
Step 4: Connect consent to your tracking
Consent changes your data. If a visitor rejects analytics, they will not appear in your reports, so your measured visits and conversions will be lower than reality. Plan for this:
- Compare trends over time, not exact totals against other sources.
- Expect form submissions in your CRM to exceed conversions in analytics, because the form data was provided directly.
- Do not work around a rejection, for example by sending the same data through a different tool.
The following snippet shows the pattern for loading a script only after consent. The onConsent function name stands for whatever event your consent tool provides. The analytics script URL is a placeholder.
function loadAnalytics() {
if (document.getElementById('analytics-script')) return;
const script = document.createElement('script');
script.id = 'analytics-script';
script.src = 'https://analytics.example.com/tracker.js';
script.async = true;
document.head.appendChild(script);
}
function onConsent(choices) {
if (choices.analytics === true) {
loadAnalytics();
}
}The flow at a glance
Common mistakes
- Trackers fire before consent. Test by opening the page in a private window and checking the browser's network tab before clicking anything.
- Pre-ticked boxes or "by continuing you agree" wording for marketing consent.
- A privacy link that goes nowhere, or a notice that does not mention the tools you actually use.
- Forgetting embeds. A video or map embed can set cookies of its own.
- Adding a new pixel later without updating the notice and banner categories.
- Keeping data forever. Set up deletion or retention rules in your CRM.
Pre-launch checks for this chapter
- The privacy notice is published and linked in the footer and near the form.
- The form collects only needed fields, and the marketing checkbox is unticked.
- In a private window, no analytics or ad requests appear before you accept.
- Rejecting the banner keeps them off, and accepting turns them on.
- A "Cookie settings" link lets visitors change their choice.
- The CRM stores the marketing opt-in answer with each lead.
Exercise
Your landing page has an analytics script and an ad pixel in the page head, and a cookie banner that shows "We use cookies" with an OK button. In a private window, you see requests to both tools before you click anything. What is wrong, and what two changes fix it?
Show answer
The banner is informational only, so the non-essential scripts run before the visitor has agreed. First, change the setup so the analytics script and ad pixel are blocked until the visitor accepts, for example by using the builder's consent feature or a consent tool that gates them. Second, give the visitor a real choice, with equally easy Accept and Reject buttons and a later "Cookie settings" link. Then retest in a private window to confirm no requests appear before consent.
Exercise
A teammate wants a single pre-ticked checkbox that reads "I agree to the terms and to receive marketing emails." Give two problems with this and a better design.
Show answer
The box is pre-ticked, so it is not a clear, active choice. It also bundles two separate agreements, accepting terms and receiving marketing, into one. A better design is a short notice by the button that links to the privacy notice, plus a separate unticked checkbox for marketing emails. The download should work whether or not that box is ticked, and the answer should be saved with the lead.