Consent on Close
Quick answer: Consent on Close decides what the banner's close button (the ✕) records. Switched on, closing records the level currently selected. Switched off, closing records a Private choice. It is a Classic engine setting. It is off by default.
Which engine am I on?
In the dashboard, the Banner engine dropdown at the top of Configuration shows Classic or New. If you pasted the snippet yourself, the address contains /v2/ on the New engine. Do not use account creation date or plugin version as a test.
Consent on Close applies on the Classic engine only. Shared overview: Consent configuration.
Turn it on
- Sign in to the dashboard at app.hu-manity.co and select your domain.
- Open Configuration → Behavior and find the Implicit consent card.
- Make sure Hide Close Button is off. When it is on, the banner has no ✕ and the Consent on Close switch is not shown.
- Switch on Consent on Close.
- Click Save. The "Review changes before publishing" window opens. Check the list, then click Publish.
- Test on your live site in a new private window: click the ✕ without choosing a level. The banner closes and a choice is stored. The dashboard preview never records a choice, so test on the live site.
This setting is in the dashboard only. The WordPress plugin's Consent Behavior section has no switch for it.
What gets recorded
- Consent on Close on: closing records the level selected at that moment, the same as pressing Save (default label "Save my preferences"). That is your Default Consent Level unless the visitor changed it, and the Default Consent Level is Private until you change it on Configuration → Behavior.
- Consent on Close off: before the visitor has made a choice, closing records a Private choice, so nothing beyond essential is released. Once a choice is stored, closing only hides the banner.
- Either way Cookie Compliance stores the consent cookie for the Duration you chose, updates Autoblocking and sends the signals to the Consent Modes you have switched on (Google on both plans; Meta and Microsoft on Professional).
- Only an explicit click on the ✕ counts. Timeouts and other passive events do not.
Setup advice
- Where a region requires consent first, leave it off. Closing the banner is not a choice of level. Selecting GDPR, UK PECR or POPIA turns it off, and the dashboard flags it if it is switched on with any of those laws selected. Not legal advice; ask your counsel what applies to you.
- To make visitors pick a level, switch on Hide Close Button. The banner then has no ✕ and the visitor proceeds with a level button.
- Check Default Consent Level if you switch it on: it decides what a close stores.
On the New engine
There is no Consent on Close switch that the New engine obeys. What closing does depends on the visitor's rule: where the region requires consent first, closing before a choice records a Private choice; once a choice is stored, closing only dismisses the banner; where the rule is opt-out, there is no close button until a choice is stored. Hide Close Button still removes the ✕ in every case. On a New-engine site the Consent on Close control is usually hidden; it is shown muted if it is still on and flagged. Your saved value applies again if you switch back to Classic.
Related
Consent Configuration · Refuse Button · Save Consent · Geolocation · Regional cookie banner rules · Proof of consent