Analytics and Tracking

Consent Log

Also called consent records, proof of consent

A dated record of each consent choice a visitor or customer makes, kept so a business can prove consent was valid under UK GDPR.

Quick facts: Consent Log

Category
Analytics and Tracking
Also called
consent records, proof of consent
Level
Intermediate
Affects
UK GDPR compliance, cookie consent, email marketing permissions, complaint handling
Where to see it
CMP consent log or records export, CRM or email platform subscriber records, cookie settings panel
In this article4
  1. How a consent log works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A consent log is a dated record of every consent decision people make on your website or in your marketing: what they agreed to or refused, when, how, and what they were shown at the time. It is the evidence behind a cookie banner or a newsletter sign-up box, and the thing you produce if anyone asks you to prove consent was given.

When a visitor clicks Accept or Reject, or saves custom choices on a banner, the consent management platform writes an entry. A useful entry holds:

  • a pseudonymous consent ID, usually also stored in a cookie on the visitor’s browser so the two can be matched later;
  • the date and time of the decision;
  • the choice for each category, such as analytics granted and marketing refused;
  • how the choice was made: Accept all, Reject all or individual toggles;
  • the version of the banner text and cookie policy on screen at that moment;
  • the domain or page where the decision happened.

Withdrawals and changes are logged the same way. If someone opens the cookie settings link in your footer three weeks later and switches marketing cookies off, that is a new entry, and the earlier one is kept rather than overwritten.

Email and SMS consent works on the same principle but usually lives in your CRM or email platform rather than the CMP. For a newsletter sign-up you would record the form used, the exact wording beside the tick box, the timestamp and, if you use one, the confirmation click from a double opt-in email.

Why it matters

Under UK GDPR, a business relying on consent must be able to demonstrate that it was given. The burden sits with you, not with the customer. If a complaint reaches the Information Commissioner’s Office, or a customer asks why they received marketing emails, saying that your banner asks everyone is only an assertion. A log entry showing the date, the wording and the choice is evidence.

The ICO’s guidance on consent is practical about what to keep: who consented, when, how, what they were told, and whether they have since withdrawn. A consent log is simply the system that answers those five questions for each person.

It has a commercial use too. Your log tells you what share of visitors accept analytics and marketing cookies, which explains why GA4 and the ad platforms show fewer visits and conversions than your sales records. Without that figure, it is easy to blame a campaign for a gap the banner created.

Common mistakes

  • Logging accepts but not rejects. A refusal is a consent decision too, and you need it to show you respected it.
  • No record of the wording. Banner text gets edited. If you cannot show what a visitor saw in March, a log entry from March proves little.
  • Retention left to the vendor’s default. Some CMP plans keep logs for a limited period. Check the period matches your own retention policy and covers the life of the consent cookie.
  • Storing more than you need. Full IP addresses and detailed browser data are rarely needed to prove consent. Data minimisation applies to the log itself.
  • Email consent scattered across tools. Sign-ups from a website form, a shop checkout and an event list end up in different places with different evidence, or none.

How to act on it

Start by finding your logs. Most CMPs have a consent log or records export in the dashboard. Open it and confirm three things: rejections and withdrawals appear, each entry carries a banner version, and you know how long entries are kept.

Then test it. Visit your own site in a private window, reject everything, note the time and the consent ID shown in the cookie settings panel, and find that entry in the log. Repeat with Accept all. If you cannot find yourself, nobody else could find anyone either.

For email, export a handful of subscribers and check each has a source, a date and the consent wording. Where that evidence is missing for older contacts, take advice before mailing them: the ICO treats an email asking people to opt back in as marketing in its own right, so it needs a lawful basis as well.

Checking consent records is part of the measurement set-up I review before running paid campaigns through my performance marketing service, because the same consent decisions decide what your tracking can record.

Do and do not

Do

  • Log rejections and withdrawals as well as acceptances
  • Store the banner and policy version with every entry
  • Test the log by finding your own consent decision in it

Do not

  • Rely on a vendor's default retention period without checking it
  • Store full IP addresses unless you genuinely need them
  • Email people without consent to ask them to opt back in

Questions people ask about this

How long should I keep consent records?

UK GDPR does not set a fixed period. Keep each record for as long as you rely on that consent, plus a reasonable time afterwards to deal with any complaint or query, and write the period into your retention policy. For cookie consent, the record should last at least as long as the consent cookie on the visitor's browser.

Does a small business website need a consent log?

If the site sets cookies that need consent, or collects consent for marketing emails, you need to be able to show that consent was given, whatever the size of the business. The effort can be proportionate: for most small sites, the built-in log of a reputable consent platform plus the sign-up records in your email tool are enough, as long as you have checked they hold the right details.

Is a consent log itself personal data?

Usually, yes. A consent ID tied to a browser, with timestamps and sometimes an IP address, can identify a person indirectly, so UK GDPR applies to the log. Mention it in your privacy notice, protect access to it and keep it no longer than you need. A visitor can ask for their own record through a subject access request.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.