Consent Logs

CookieRay Team
•
2 min read

Consent Logs

Consent Logs give you a searchable record of the consent choices visitors make. Each event is captured with enough detail to demonstrate what was agreed to, while keeping personal data to a minimum.

What gets logged

Every consent event records an identifier, the status, the granted categories, the visitor’s country when your host or CDN provides one, the page URL, and a timestamp. The banner version is stored with each record but is not shown in the admin list or in exports.

This lets you see not just that consent was given, but which categories were granted and on which page.

The status shows as Accepted All, Rejected All or Custom Selection.

Searching and filtering

Search matches the consent ID, the user ID and the page URL. You can filter by date range (From and To) and by consent type (Accepted All, Rejected All or Custom Selection).

Exporting

You can export consent records in two ways:

  • Export as CSV β€” downloads up to 500 of the most recent records that match your current search and filters. Columns: date and time (UTC), user ID, consent ID, status, categories, country and page URL. Narrow the date range and export again to get older records.
  • Download PDF receipt β€” for one record. Receipts are generated in your browser using a bundled jsPDF library.

Retention and purging

Old logs are purged automatically by WP-Cron, based on the retention period you set under Settings β†’ Consent Storage β†’ Storage Duration (30 to 3650 days; the default is 365). Set the retention period to match your record-keeping requirements, and CookieRay will clean up entries older than that window.

Privacy of identifiers

CookieRay is built to avoid storing raw personal data in logs:

  • IP addresses are not stored raw. Instead, a one-way SHA-256 hash is derived from the IP address and user-agent. It is a pseudonymous identifier, not anonymous data.
  • The user-agent is stored as a short hash prefix only (16 characters), not in full.

This keeps your logs useful for demonstrating consent while minimizing the personal data they contain.

Was this article helpful?

Your response is saved on this device.