Cookies used by CookieHub

To prevent the CookieHub widget from repeatedly appearing for the same user, the cookie choices must be stored in a first-party cookie within the user's browser. The cookie is set to expire after one year by default but can be adjusted in the dashboard, the CookieHub tag in Google Tag Manager or by modifying the cpm variable in the inline HTML code.

Our aim is to store only necessary information and to be transparent about the data collected and processed. Detailed information about the CookieHub cookie structure and the purpose of each section can be found below.

To avoid issues caused by special characters that are not permitted in cookies, the cookie value is base64 encoded. The base64 encoded value will resemble the following:

eyJhbnN3ZXJlZCI6dHJ1ZSwicmV2aXNpb24iOjMsImRudCI6ZmFsc2UsImFsbG93U2FsZSI6dHJ1ZSwicmVnaW9uIjoiRzAiLCJ0b2tlbiI6IkVqN2FEb0dna2xLbVpUSEVZTWxQTE1Sc1pnOFVGY0hNZkNxblA4N1U3SWhKZnZhY25kTkYxMFlLUHRYcXIxclciLCJ0aW1lc3RhbXAiOiIyMDIyLTEyLTE3VDIzOjE3OjA1LjMxOFoiLCJhbGxBbGxvd2VkIjp0cnVlLCJjYXRlZ29yaWVzIjpbXSwidmVuZG9ycyI6W10sInNlcnZpY2VzIjpbXSwiaW1wbGljaXQiOmZhbHNlfQ==

Once decoded, the value will be structured as a JSON object, similar to this:

{

"answered":true,

"revision":3,

"dnt":false,

"allowSale":true,

"region":"G0",

"token":"Ej7aDoGgklKmZTHEYMlPLMRsZg8UFcHMfCqnP87U7IhJfvacndNF10YKPtXqr1rW",

"timestamp":"2022-12-17T23:17:05.318Z",

"allAllowed":true,

"categories":[],

"vendors":[],

"services":[],

"implicit":false

}

Below is a table that outlines the different properties of the JSON object used by CookieHub, along with their respective details and purposes:

Property Details / Purpose
answered Indicates whether the user has made any cookie choices in the CookieHub widget, including allowing all categories, denying all categories or allowing some categories.
revision By default, the value of this property is 1. However, if the "Reset consents" button is clicked in the CookieHub Dashboard, the value is increased by 1 each time. If the value of this property is set to a lower number than the current revision for the domain, the user will be prompted to make his or her cookie choices again.
dnt If the user's browser sends the "do-not-track" (DNT) flag, this value will be set to true. CookieHub respects the DNT flag and doesn’t automatically load cookie categories used for tracking if the DNT flag is sent.
allowSale This property is only used when the CCPA policy framework is active. It is set to false if the user has opted-out of the sale of personal information.
region This property displays the region code detected from the user's IP address.
token A unique token created for each user that can be used to look up the user's consent in the consent log.
timestamp The date and time when the last change to user consent was made is displayed in this property.
categories This property lists the categories enabled for the domain. If the "allAllowed" property is set to true, this property is empty.
vendors This property lists the vendors enabled for the domain. If the "allAllowed" property is set to true, this property is empty.
services This property lists the services enabled for the domain. If the "allAllowed" property is set to true, this property is empty.
implicit This property is set to true if implicit consent type was enabled, resulting in cookies being set prior to consent.

Still need help? Contact Us Contact Us