Skip to main content

How to place the Consent Studio cookie declaration on your website

Using a code snippet, you can share an overview of the cookies used on your site.

Thierry Maasdam avatar
Written by Thierry Maasdam
Updated over a month ago

Use the Consent Studio declaration to publicize which cookies your website uses

Introduction

Different privacy regulations often have one thing in common: consent for the processing of your users'/visitors' personally identifiable information must be given freely and in a well-informed manner.

One of our duties in being your CMP of choice, is to help with the latter. We scan your website for cookies and match the cookies that we have detected with the cookies that we already know. These explanations are then translated to the languages that you use in your consent banner and are used to help you declare which cookies you specifically use and what it means to grant consent in the three consent categories β€” functional, analytics and marketing.

Cookie explanations can be shared with your users/visitors in three ways using our platform:

  1. Through the consent banner (in the top right corer there is an overview button);

  2. Through a public web page on https://consent.studio/[your domain] (example: https://consent.studio/vallonic.com);

  3. Through a table that you can place on your website yourself, perhaps in combination with a cookie policy. This table displays an actual representation of the cookies used on your website, combined with contextual information such as a visitor's current Consent ID.

These first two methods are available by default. The last one, the cookie table, requires action from your side.

Placing the cookie declaration on your website

Prerequisites

  • You need to have access to a way to add HTML code where you want your cookie declaration to be put.

Embed code

Use one of following code snippets to have your declaration placed automatically:

Option 1

<div cs-declaration></div>

Option 2

<div id="cs-declaration"></div>

Styling the cookie declaration

At this time, we offer a plain HTML table. You can style this any way you want.

Troubleshooting

β€” "My CMS removes this code when I save the page"

  • If you have been using the first option, with the HTML attribute, please replace it with the second option.

  • If your CMS does not allow empty <div> tags at all and removes them, please put some text inside of it. Three dots, for example:

    <div id="cs-declaration">...</div>
  • If this does not work, please contact our support team, so we can investigate your specific case.

β€” "The cookie declaration is not up-to-date"

Due to caching, a scenario might occur where this late is outdated. Please wait some time for the cookie declaration list to catch up with the actual representation of the cookies used on your website.

Did this answer your question?