A GDPR consent log is your proof that a visitor agreed to cookies, or did not. ClearCrumb writes one record for every choice into your own WordPress database, with a hashed consent ID and a shortened, hashed IP address. You pick how long records are kept, and you can search, filter and export them at any time.
What is a GDPR consent log?
Under the GDPR, the site owner must be able to show that a visitor gave consent. The European Data Protection Board explains this duty in its guidelines on consent. A cookie banner alone does not prove anything; a record of each choice does.
ClearCrumb’s GDPR consent log is built in and free. Nothing is sent to an outside service: the records live in a table in your own database (clearcrumb_consent_log, with your table prefix). Each time a visitor makes a choice, for example with Accept all, Reject all or Save my choices, the banner sends the choice to your site and one row is stored.
You will use the log in three situations:
- A visitor asks what they agreed to, or wants proof that they said no.
- A regulator or client asks how you collect and keep consent on the site.
- You want numbers: the ClearCrumb dashboard and its WordPress dashboard widget count accepted, partial and rejected choices from the same records, with GPC opt-outs counted as rejected.
Records from an old banner version are refused, so the log only ever holds answers to the banner your visitors actually saw. To limit abuse, one network can record at most 30 choices in 10 minutes.
What does each consent record store?
Every row in the GDPR consent log holds these fields:
| Field | Example |
|---|---|
| Time (UTC) | 2026-10-10 14:02:11 |
| Consent ID (hashed) | a81f…0c3e |
| Choices | preferences yes · statistics yes · marketing no |
| Kind | all, some, none or GPC |
| Region and country | eu · DE |
| Banner revision | 3 |
| IP (shortened, then hashed) | 7c2e9a10b4f1d8e3 |
No full IP address, name or email is stored. The consent ID is hashed with a secret key that only your site holds. The IP address is first shortened (an IPv4 address loses its last part, an IPv6 address keeps only its network part) and then hashed, and only 16 characters of that hash are kept.
On the Consent log screen, the kind shows as Accepted all, Chose some, Rejected or GPC opt-out. A GPC opt-out is a US visitor whose browser sent the Global Privacy Control signal; see the geo cookie banner guide for how that works.

How long are consent records kept?
You choose how long records are kept under ClearCrumb → Consent log → Keep consent records for. The options are 30 days, 90 days, 6 months, 1 year (the default), 3 years, 5 years, or forever (until you delete the plugin data). Older records are deleted automatically every night.
Keep records as long as you may need to show proof of consent. The default is one year.
Deleting the ClearCrumb plugin also deletes the GDPR consent log table. Export the records first if you may still need them.
How do I find one visitor’s record?
Visitors see their consent ID in the cookie preferences dialog, as “Your consent ID:” followed by 32 letters and digits. If someone asks what they agreed to, ask them to copy that ID.
- Go to ClearCrumb → Consent log.
- Paste the ID into Find a consent ID.
- Read the matching rows: date and time, region, choice, the categories allowed, GPC and the banner version.
The list shows the newest records first, with the consent ID shortened for display. Use Previous and Next to move through longer results. A consent ID that is not 32 letters and digits is flagged straight away, so a mistyped ID does not look like a missing record.
Because only the hash is stored, the search hashes the ID you paste and looks for that. You cannot search by name, email or IP, as none of these are kept. You can also narrow the list by Period (from Today to Last 12 months), Region and Choice.
How do I export the GDPR consent log?
Click Export CSV on the Consent log screen. The file follows the filters you have set, so you can export one period, one region or one visitor’s records. Its columns are time_utc, consent_id, choices, result, gpc, region, country and banner_revision.
You can also export the GDPR consent log from the command line with WP-CLI:
wp clearcrumb log export --format=csv > consent-log.csv
wp clearcrumb log export --days=365 --format=json
--days sets how many days back to export and --format takes csv or json. This is handy for scheduled backups on your server.
The JSON settings export on the Dashboard does not include the consent log; it stays on the site where visitors gave consent. See export cookie banner settings for what that file holds.
ClearCrumb Pro adds a PDF proof of consent for one visitor’s record, which you can send straight to the person who asked.

What happens when you ask everyone again?
Each record stores the banner revision the visitor answered. When the revision goes up, for example after you add a new service or change the purpose of cookies, old answers no longer count and every visitor sees the banner once more. New answers are then logged with the new revision number, so you can always tell which version someone agreed to.
The revision belongs to the site. Importing settings from another site keeps your own revision, your cookie policy link and your consent log, so visitors are not asked again by accident.
To check which services the banner covers before you change anything, run the WordPress cookie scanner. ClearCrumb helps you meet consent rules; it is not legal advice.
GDPR consent log: questions
Where is the GDPR consent log stored?
In a table in your own WordPress database. No records are sent to ClearCrumb or any other service.
Does the log store IP addresses?
Not in full. The IP is shortened and then hashed with your site’s secret key, and only part of the hash is kept. Names and email addresses are never stored.
Is there a limit on how many records the free plugin keeps?
No record limit. Retention is up to you, from 30 days to forever, set under Keep consent records for.
Can a visitor prove which choice they made?
Yes. They share the consent ID from their preferences dialog, and you find it with Find a consent ID on the Consent log screen.