Help centerTracking

Consent and GDPR mode

Collection with or without a cookie, and how your banner grants consent.

GDPR mode is in Site settings → Tracking. When it is on, the snippet includes data-require-consent="true".

What changes

  • Without consent — a rotating identifier, no tracking cookie. A visitor’s path is not stitched across days.
  • With consent — a first-party cookie, so the visitor is recognized on return.

The mode does not replace your legal decision. It changes how Cockpiit identifies the visitor.

Grant consent

When your banner (or the Cockpiit banner) gets a yes for measurement:

HTML
<script>
  window.cockpiitConsent(true);
</script>

Call window.cockpiitConsent(false) if the person refuses or withdraws. Place the call after the Cockpiit snippet.

This is not a banner

GDPR mode displays nothing on the site. For a banner hosted by Cockpiit, with copy, buttons, and an impression quota, use the consent banner. The two can run together: a published banner grants consent for you.