Cookies & scanning

Cookie list on your cookie policy

Show an always-current table of your cookies on your own cookie policy page with one line of HTML.

Most laws want you to list the cookies you use, with their purpose and duration. CookieTrue builds that list from your scans and keeps it current.

#Add it to your page

On your cookie policy page, put this where the table should appear:

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

The table fills itself in when the page loads. The CookieTrue script must be on the page too.

#WordPress

In WordPress you can use the shortcode on any page:

[cookietrue_declaration]

#Your own cookies

Add a cookie by hand on the Cookies page when the scanner cannot see it, for example one set only after login. Give it a name, a category, a purpose and a duration.

#Also on your page: change your mind

The cookie policy is a good place for a link that reopens the banner settings:

<a href="#cookietrue-settings">Change cookie settings</a>

See the JavaScript API for more.

Still stuck? Write to [email protected]. A person answers, usually the same day.