Skip to main content
Set up and adjust a cookie policy

Learn how to set up and adjust a cookie policy.

Updated this week

Cookie Information gives you two important features to help with privacy compliance such as a cookie policy. This feature allows you to add a dynamic cookie policy to your page, displaying all information on scanner-detected and custom cookies.

In this article, we’ll show you how to set up and adjust your cookie policy.

Before you start

Here are a few things to know before you start:

  • Before adding a cookie policy to your website, check that the consent popup is set up.

  • Make sure that the languages set in the script’s data-culture attribute match the languages set up in the platform. To check the setup, go to Consent solutions > Choose your consent solution> Settings > General.

Set up a cookie policy

To set up a cookie policy, follow these steps:

1. Add the following cookie policy script

<script id="CookiePolicy" src="https://policy.app.cookieinformation.com/cid.js" data-culture="EN" type="text/javascript"></script> to your web page's. Add the script in the <body> tag of the page where you want to show it.

Note: The data-culture = "EN" attribute controls the language that the popup will appear in on the site – in this example, it will be displayed in English. To change the language, set the data-culture attribute to a different language code.

Make sure that the languages set in the script’s data culture attribute match the languages set up in the platform. For more details, see this article.

Example:

2. Copy a code from the table below and set it as the data-culture attribute for your desired language.

Language codes

Data culture

Language

Data culture

Language

AR

Arabic

LT

Lithuanian

BG

Bulgarian

LV

Latvian

CA

Catalan, Valencian

MS

Malay

CS

Czech

NB

Norwegian Bokmål

DA

Danish

NN

Norwegian Nynorsk

DE

German

NO

Norwegian

EL

Modern Greek

NL

Dutch, Flemish

EN

English

PL

Polish

ES

Spanish, Castilian

PT

Portuguese

ET

Estonian

RO

Romanian

FI

Finnish

RU

Russian

FR

French

SK

Slovak

HE

Modern Hebrew

SL

Slovene

HI

Hindi

SQ

Albanian

HR

Croatian

SR

Serbian

HU

Hungarian

SV

Swedish

ID

Indonesian

TH

Thai

IS

Icelandic

TR

Turkish

IT

Italian

TW

Taiwanese

JA

Japanese

UK

Ukrainian

KO

Korean

VI

Vietnamese

KL

Greenlandic

ZH

Chinese

3. Done.

Related articles

Did this answer your question?