Ready for the new Google Consent Mode v2?

Starting from March 13, 2024 you have to use Google Consent Mode v2 to comply with the latest regulations

×
Latest News, Updates, Tutorials and much more

Blog

Hero

How to Record and Download Visitor Cookie Consents?

Websites use cookie banners to place cookies and collect website users’ data. However, to use cookies, websites need to get Cookie Consent from users.

Cookie Consent refers to an action of allowing a website to place cookies in website users' browsers to collect data about them. This isn't a recommendation. It is a legal requirement by most data privacy laws.

Cookie Consent requirements for websites are the following:

  • Prior Cookie Consent is needed. Get cookie consent before you use cookies or activate any trackers on your website to collect personal data.
  • Use granular cookie consent principle. Your Cookie Banner must have options to select categories of cookies, which means that users can freely select what type of cookies they agree.
  • User consent must be given freely, which means it cannot be forced or pushed for in any way from your side.
  • Record cookie consent for proof of compliance.
  • Store cookie consent safely since it is considered sensitive legal document.
  • Users should be able to withdraw cookie consent from your website easily, at any time, and without any explanation.
  • Renew cookie consent at least once per year.

CookieScript allows you to collect, record, and later download, if needed, website users' cookie consent. 

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 10 minutes, so it can take up to 10 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 CSV files, one for each day for the chosen period. 

When downloading consents, you can also select to combine all consents into one file.

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: 

  • Inside 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.