Klickbee Tracking Help

Cookie declaration

Let Klickbee Tracking write your cookies page for you, from the pixels you added, and keep it up to date. Embed it on your site or link the hosted page.

The cookie declaration is the content of your cookies page, generated by Klickbee Tracking: the tools your site loads, the cookies they set, why, and for how long. It is built from the ad pixels you added in Klickbee, so it stays up to date on its own: add a pixel and the page follows. It works like the cookie lists of tools such as CookieFirst, and it is available on the Free plan.

What it lists

  • Audience measurement (Klickbee Tracking). Klickbee's own measurement sets no cookies. The declaration says so, and lists what it keeps in the browser's storage instead: kb_anon_id (anonymous id, until the visitor clears their browser data), kb_session_id (one visit, until the tab is closed), kb_pixel_consent (the consent banner choice, 6 months) and kb_consent (on sites that ask for consent before measuring).
  • The tools behind your pixels, grouped by purpose (analytics, advertising, CRM, visitor identification, session recording, tag management, other), each with its provider, a link to its privacy policy and its cookies: name, purpose, duration, and whether the site or the provider sets it.
  • Cookies you declared by hand or classified from detection (see below).
  • A Last updated date and, when the consent banner is on, the visitor's current choice with a Change my choices button that reopens the banner.

It is shown in English, French or Spanish.

The vendor catalogue

Klickbee recognises the tools behind your pixels with a built-in catalogue:

  • Meta, Google Ads and LinkedIn pixels are matched by their platform.
  • Custom code pixels are matched when their code loads a known tool: Google Analytics, Google Tag Manager, Microsoft Clarity, Microsoft Advertising (UET), HubSpot, Hotjar, TikTok Pixel, Apollo.io, Happierleads or RB2B.

The catalogue is deliberately conservative: a cookie is listed only when the vendor's own documentation names it, and a duration only when the vendor documents one. When a vendor does not document its cookies publicly, the tool is listed with "For the cookies this tool uses, see the provider's policy", rather than with invented cookies.

It covers what Klickbee knows about

The declaration lists the tools you manage in Klickbee, and the cookies you declare or classify. A tool you added to your site some other way (a chat widget, embedded videos, another tag manager) is not listed unless you declare it. Check the result before you rely on it: your obligations remain yours, see Privacy and consent.

Where to find it

Open Pixels in the sidebar, then the Cookie declaration tab. It has:

  • Publish it: the embed element and the hosted page address, with copy buttons.
  • Cookie detection and Detected cookies: see below.
  • Cookies declared by hand: for custom pixels.
  • Preview: what visitors see, in your language.

Owners and admins can change these settings. Other members see them read-only.

Publish it on your site

You have two options, and you can use both.

Embed it in your cookies page

Paste this element where the declaration should appear, on a page that loads the Klickbee tracker (your cookies page or your privacy policy):

<div data-klickbee-cookies></div>

With the npm package and React, use the component instead:

import { CookieDeclaration } from "@klickbee-agency/tracking/react";

export default function CookiesPage() {
  return <CookieDeclaration />; // lang="fr" to force a language
}
  • The tracker fetches the declaration and renders it in the element, in the page's language (the element's data-lang, else <html lang>, else the browser's language, else English).
  • It uses your page's font and colours, and the tables stack on small screens.
  • If the declaration cannot be loaded, the element keeps whatever you put inside it, such as a fallback link.
  • On a single-page app, an element added after the page loaded is rendered by the React component, or by calling klickbee.renderCookieDeclarations() (npm: tracking.renderCookieDeclarations(element)).

Tracker version. The embed needs tracker version 0.6.9 or later. With the script tag, you get it automatically. With the npm package, run npm i @klickbee-agency/tracking@latest and redeploy.

Every site also has a ready-made page, always up to date:

https://tracking.klickbee.com/c/<projectKey>

<projectKey> is your site's public key. The tab shows the full address with an Open the hosted page link. Add ?lang=en, ?lang=fr or ?lang=es to force a language.

The consent banner links to this page with a Cookie declaration link, next to your privacy policy link if you set one.

Your pixels can set cookies that the catalogue does not know about. Cookie detection finds them for you.

Check Detect the cookies my pixels set under Cookie detection. It is off by default. When it is on:

  • It runs only after the visitor has accepted your pixels. Without consent, nothing is checked or sent.
  • The tracker compares the cookie names on your domain right before the pixels load with the names a moment later, and reports the new names only: never their values, and nothing about the visitor. At most one report per page view, 50 names at most.
  • It needs your site's Allowed origins (Settings → Projects). Reports are then accepted only from your own site, so no other page can add names to your list. Until you set them, the tab asks you to with Set the allowed origins.

Triage detected cookies

Detected names appear under Detected cookies, with how often and when they were last seen. A detected name is never published until you classify it, because anyone could report a name. For each one, choose:

  • Set by one of your pixels, with a purpose and a duration;
  • This site's own cookie, with a purpose and a duration;
  • Ignore (not listed);
  • or leave it Not classified (not published).

A name that belongs to a tool already on your declaration is marked Declared with that tool. When a name looks like a known tool's cookie, Klickbee suggests it ("Looks like a ... cookie"): click Confirm followed by the tool's name only if that tool really runs on your site.

A name not seen for 90 days is removed.

Declare cookies by hand

For a custom pixel Klickbee does not recognise, add the cookies its provider documents under Cookies declared by hand: pick the Pixel, then enter the Cookie name, Purpose and Duration, and click Add the cookie. They are shown exactly as you write them, in every language, under the pixel's name.

A custom pixel's name is shown publicly on your declaration as the tool's name, so give it a name your visitors understand.

Ask Claude

If you connect Claude, it can read the declaration (get_cookie_declaration) to audit it against your pixels, turn detection on or off, classify detected cookies and declare cookies for a custom pixel.

On this page