Integrations · Cookie and consent

CookieYes, stats marked necessary.

The connector tells CookieYes that the cookie-free stats are necessary, by putting the snippet in its Necessary category, so visitors who never click the banner are still counted. Nothing in CookieYes’s settings changes.

Switches itself onNo cookiesSettings untouched
On this websiteCookieYes
  • Stats scriptMarked necessary
  • Events and heatmapsNot held back
  • CookieYes settingsUnchanged

No cookies and no personal data.

Illustration

At a glance

Counted without waiting for the banner.

What changes for a consent tool on a client’s website.

  • No cookies

    Visitors are counted with a daily rotating, salted hash.

  • Switches itself on

    The connector names the consent tools it finds.

  • Settings untouched

    Only the tool’s own hooks and markers are used.

  • Everyone counted

    Visitors who never click the banner are still counted.

What changes

How the stats are marked necessary.

In the consent tool’s own way, on the client’s website.

ItemHowDetails
Markerdata-cookieyes="cookieyes-necessary"Puts it in CookieYes’s Necessary category, which always runs
What it coversThe tracking scriptSo events, forms, heatmaps and surveys run too
SettingsNothing is changedOnly CookieYes’s own markers are used

Where it shows

What isn’t held back.

Without this, a consent tool may hold back anything from the tracking domain.

  • The stats

    Page views, sources and visits.

  • Events and forms

    Form sends, shop events and outbound links.

  • Heatmaps and recordings

    Where visitors click and scroll.

  • Surveys

    Feedback buttons and surveys.

  • Location

    The location check for each visit.

  • Every visitor

    Including those who never click the banner.

Other consent tools

Using a tool that isn’t listed?

A consent tool not listed may hold the snippet back until consent, so visitors who never agree aren’t counted. Settings › Health › Debug says when this happens.

  • Mark the tracking domain as necessary in that tool
  • Mark the script as necessary too
  • The connector’s settings name the tools it found
Read the consent docs →
Consent tools handled for youAutomatic
  • Must-Have CookieNecessary
  • CookiebotNecessary
  • CookieYesNecessary
  • iubendaNecessary
  • TermlyNecessary

Asking for consent first

Wait for consent, if the advice says so.

If a client’s legal advice is to wait for consent anyway, one filter lets consent tools hold the stats back.

  • Cookie-free stats should still be in the privacy policy
  • About & privacy has ready text to paste
  • On your own WordPress, use the second filter
No cookie banner →
functions.phpPHP
// On the client's WordPress (connector): let consent tools hold the stats back.
add_filter( 'nahnu_analytics_connector_consent_essential', '__return_false' );

// On your own WordPress (Nahnu Analytics).
add_filter( 'nahnu_analytics_consent_essential', '__return_false' );

Questions

CookieYes questions

Something else? Ask us.

Does CookieYes need changing?

No. Nothing in its settings is changed. The connector uses CookieYes’s own markers.

Why is this needed?

Consent tools block what they don’t recognize. Without it, visitors who never click the banner wouldn’t be counted.

Can I wait for consent instead?

Yes. One filter on the client’s WordPress lets consent tools hold the stats back.

Do the stats still go in the privacy policy?

Yes. About & privacy has ready text to paste, saying what is counted and that no cookies are set.

Try it on every client site.

Unlimited websites, every feature, one license.