
Integrations · Cookie and consent
iubenda, stats marked necessary.
The connector tells iubenda that the cookie-free stats are necessary, with the class its parser skips, so visitors who never click the banner are still counted. Nothing in iubenda’s settings changes.
- Stats scriptMarked necessary
- Events and heatmapsNot held back
- iubenda 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.
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
- 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
// 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' );Does iubenda need changing?
No. Nothing in its settings is changed. The connector uses iubenda’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.