Latest News, Updates, Tutorials and much more



How to Record and Download Visitor Cookie Consents?

CookieScript allows you to collect and record visitor consents.

How to enable visitor Cookie Consent recording?

Consent recording can be enabled for each item individually. Just check set the "Record user consents" option:

consents option

How to download the consent log?

You can download the consent log in your CookieScript item by going to the User consents menu item. You can then choose a period for which you want to generate the Consent Log:

consents download

You will also see the status of your current Consent Record option (if it is enabled or not).

Consents are synchronized every 20 minutes, so it can take up to 20 minutes for particular consent to appear in the report.

What information is collected in the consent log? 

A ZIP file will be downloaded automatically. The ZIP file contains a list of zipped CSV files, one for each day for the chosen period. 

Inside a CSV file you will find a list with the following data for each Cookie Consent or rejection:

  1. Unique key that is saved in visitor's cookies. This key can be used to check if the user actually gave consent.
    User action (accept / reject). 
  2. Masked IP address of a visitor. The last digits are set to 0, so it is not considered private data.
  3. Date and time when the user clicked the button. Date and time currently is taken from the user browser, so you have to adjust for possible timezone differences
  4. Page where consent was given
  5. User browser agent 
  6. Categories that the user selected (if you allow visitors to select cookie categories). If at least one category besides strictly necessary is chosen, action (2) is set to "Accept". If no categories are accepted, action is set to "Reject"
  7. Text of Cookie Consent box that user agreed/disagreed to

As you can see, none of the data above can be considered private data, so you do not need any extra consent from the user to use Cookie-Script

How can the user validate his consent?

If the user wants to validate his consent, he needs to provide his Consent ID key. This is a unique identifier for each consent and it is stored as a first column in the consent log. User can find his unique consent key in the following places: 

  • About cookies tab in the Cookie Banner. Consent ID is shown right after the text explaining what cookies are.
  • On the Cookie Policy page right above the cookie declaration table.
If consent ID is not visible for you, you might need to re-save your Cookie-Script item.


After the user requests to validate his consent with the Consent ID key, you can find his consent information in the log by this unique Consent ID.

New to CookieScript?

CookieScript helps to make the website ePrivacy and GDPR compliant.

We have all the necessary tools to comply with the latest privacy policy regulations: third-party script management, consent recording, monthly website scans, automatic cookie categorization, cookie declaration automatic update, translations to 34 languages, and much more.