Consent log
Keep a record of every choice visitors make
Privacy laws such as GDPR expect you to be able to show that a visitor agreed before you used their data. The consent log keeps a record of every choice visitors make in the banner, so you have evidence of consent when a customer, a partner or a regulator asks.
What is recorded
Each time a visitor accepts, rejects, chooses categories or opts out of the sale of their data, the log records:
- Time - when the choice was made.
- Choice - Accepted all, Rejected all, Chose categories, or Opted out of sale.
- Categories - what was allowed (Yes or No): preferences, analytics, marketing, and sale of data. GPC is added when the visitor's browser sent a Global Privacy Control signal.
- Region - the visitor's country or state code as Shopify reports it, for example
DEorUSCA. - Version - the consent version the choice was made under (see Ask every visitor again).
- Page - the page the visitor was on.
- Consent ID - Shopify's own ID for the visitor's consent, which you can match to a visitor's consent in Shopify.
No names, email addresses or other customer details are recorded.
Find a record
Open Consent log in the app. Filter by Consent ID, Choice, Region (a code such as DE or USCA), and a From and To date, then select Filter. The page shows 50 records at a time. Use Newer and Older to page through the results.
Export to CSV
Select Export CSV to download the records that match your filters, for example to answer a request or keep your own copy. The file has one row per choice, with the time, consent ID, choice, each category, consent version, region, page and GPC.
Settings
Under Consent log settings:
- Record visitors' choices - turn the log on or off. While it is off, new choices are not recorded.
- Keep records for - 30 days, 90 days, 1 year or 5 years. Older records are deleted every night. Keep them as long as you may need to show consent, and no longer.
Select Save.
The consent log needs the banner embed on in your published theme. If no records arrive, see The consent log is empty.