Skip to content
Consent management

consentmanager boxes, declined through their own button

consentmanager is a German CMP found on many small and mid-sized company sites through its CMP-id scheme. Its box is plain DOM, the recogniser presses the no button, and your agent gets a page with no banner in its candidate list.

Inside one observe call

The same four moves every recogniser makes, with consentmanager’s specifics.

  1. Detect

    The #cmpbox or #cmpwrapper element identifies consentmanager. Without it, the recogniser stays out of the way.

  2. Decline

    The no button (.cmpboxbtnno or #cmpbntnotxt) is pressed. consentmanager has no JavaScript route in the table, so the button is the only path, and that is fine: it is the same button a visitor presses.

  3. Confirm

    The box must leave the page. If it stays, observe says so.

  4. Continue

    Candidates are collected from the page as it now is; the box’s buttons never reach your agent.

Recogniser facts

Detected by #cmpbox or #cmpwrapper
Reject path .cmpboxbtnno or #cmpbntnotxt
Accept path .cmpboxbtnyes or #cmpbntyestxt, only with consent: accept
API None used
Considered done when The detected element is gone
Typical hosts Company sites, associations and local services in the DACH region

As of 2026-09-04

Reject the banner as part of observe

import { Browserberg } from '@browserberg/sdk';

const bb = new Browserberg({
  apiKey: process.env.BROWSERBERG_API_KEY,
  baseUrl: 'https://browserberg.com',
});

const session = await bb.sessions.create();

// A company site running consentmanager.
await session.act({ steps: [{ action: 'navigate', value: 'https://www.metallbau-schmidt.example/' }] });
const page = await session.observe({ consent: 'reject' });

// The banner was answered before candidates were collected.
console.log(page.url, page.candidates.length);

Questions engineers ask

The box asks for a choice per purpose. Does the autopilot pick per purpose?

No. It declines everything non-essential through the no button, which is what a visitor who refuses does. Per-purpose choices are a task for consent: off plus your own steps.

consentmanager sometimes shows the box inside an iframe. Is that handled?

The recogniser looks in the top document. A box rendered in a same-origin frame falls to the heuristic, which searches frames; a cross-origin frame cannot be reached from the page and observe reports the banner as present.

How do I know a page had a banner at all?

Compare observe results with consent: off and the default. Or read the response note: when a recogniser acted, the page it returned is the one after the action.

Is the list of recognised CMPs maintained?

Yes. Selectors are versioned facts about third-party products; every entry fails safe when a vendor renames things, and updates ship with the browser bundle.

Try it on a Mittelstand site

Five browser hours, no card. The banner is the first thing observe handles.