Aller au contenu

Les articles d'aide existent en allemand et en anglais. Vous les lisez ici en anglais.

Consentement

How does Metrunio take the decision from my consent tool?

Through the consent bridge, without you calling metrunio.setConsent yourself: for thirteen tools this small additional script reads the decision from your banner and passes it to Metrunio, including every later withdrawal. The installation code in the portal contains it as soon as you choose your tool in the consent step, and the Shopware plugin adds it by itself.

Do I have to call metrunio.setConsent myself if I use Usercentrics, Cookiebot, Complianz, Borlabs Cookie, Real Cookie Banner or another common consent tool?

Tooldata-sourceAnalytics (default)Marketing (default)
Shopware cookie managershopwarecookie metrunio-analyticscookie metrunio-marketing
Usercentricsusercentricsservice “Metrunio”service “Metrunio Marketing”
consentmanagerconsentmanagerpurpose “Messung” or “Measurement”purpose “Marketing” or “Advertising”
Cookiebotcookiebotcategory statisticscategory marketing
CCM19ccm19embedding “Metrunio”embedding “Metrunio Marketing”
OneTrustonetrustgroup C0002, or 2 in older accountsgroup C0004, or 4 in older accounts
Complianzcomplianzcategory statisticscategory marketing
Borlabs Cookie (version 3 or later)borlabsservice with the ID metrunioservice with the ID metrunio-marketing
CookieYes (version 3 or later)cookieyescategory analyticscategory advertisement
Real Cookie Bannerrealcookiebannerservice with the unique name metrunioservice with the unique name metrunio-marketing
WP Consent API (for example with WPConsent)wpconsentapicategory statisticscategory marketing
Google Consent Modegoogleanalytics_storagead_storage
IAB TCF 2.2tcfpurposes 1 and 8purposes 1 and 7

Analytics means: visits, basket and purchase may be measured and linked. Marketing adds ad contacts and the report back to advertising platforms. The bridge reports both separately.

Adding it

If you choose a tool from the table in the consent step of the portal, the line is already in the installation code. By hand it looks like this, right after the Metrunio code:

<script async src="https://YOUR-MEASUREMENT-ADDRESS/v1/consent-bridge.js" data-source="usercentrics" data-cookieconsent="ignore" data-uc-allowed="true" data-cmp-ab="1" data-ot-ignore consent-skip-blocker="1"></script>

If your service, purpose or category has a different name, name it yourself: data-analytics="Web analytics" data-marketing="Advertising". Separate several names with commas; each of them must be granted. Separate spellings of the same entry with a vertical bar, such as “Messung|Measurement”. The bridge finds an entry by its ID or its name, regardless of upper and lower case.

In a tag manager, set window.metrunioConsentBridgeConfig = { source: "usercentrics" } before loading, then load the same file. With data-source="auto" or no setting, the bridge looks for the tool itself: first the tools with their own interface, then the Shopware cookie manager, then the WP Consent API, and last TCF and Google Consent Mode.

Notes on individual tools

  • OneTrust: the bridge looks for the groups of the standard template, C0002 and C0004, and also recognises the IDs of older accounts, 2 and 4. You do not need to enter anything for this. If your account lists both IDs as separate groups, a direction only counts as granted when both are granted. If your groups have entirely different IDs, enter their ID or their name, such as data-analytics="Performance Cookies".
  • Complianz: if Complianz enables statistics without consent (statistics set up as privacy friendly), Metrunio does not measure statistics there, because nobody chose. Set Complianz to require consent for statistics.
  • Real Cookie Banner and Borlabs Cookie ask per service. Add a service “Metrunio” with the unique name or ID metrunio, plus metrunio-marketing for marketing.
  • The bridge reads Borlabs Cookie according to the vendor’s documentation. Use the consent check below to see whether your choice arrives.
  • WP Consent API: choose it only if your tool is not in the table, such as WPConsent. Complianz and CookieYes serve it as well, but CookieYes writes its defaults there before any choice; so choose the tool itself.

What the bridge does not do

  • It never assumes consent. As long as the banner reports no decision, Metrunio sends nothing.
  • If it cannot find a service, purpose or category in the tool, that direction counts as refused. So add Metrunio to your tool.
  • Consent that arises without a click does not count: implicit consent from Usercentrics and Cookiebot, the Google Consent Mode default (“consent default”), a TCF response saying the GDPR does not apply, OneTrust templates without consent, the Country Bypass of Real Cookie Banner and categories a tool enables by itself.
  • With TCF, the purposes your tool collects for your own website (publisher purposes) count, not the consents for vendors. Set them up in your tool, otherwise Metrunio does not measure.
  • If it cannot find the tool for ten seconds, it writes a warning to the browser console and keeps looking, less often, until a minute has passed since loading. In the portal this shows as “no events”.

Legal note

Whether Metrunio has to appear in your banner as a separate service with a description of its purpose is something to settle with your privacy counsel. The bridge’s defaults assume that it does.

Automatic blocking

Some tools hold back third-party scripts until consent. If they held back Metrunio, the page views before the choice and a later withdrawal would be lost. The installation code therefore carries the exemptions these tools know on its script tags: data-cookieconsent="ignore" (Cookiebot), data-uc-allowed="true" (Usercentrics), data-cmp-ab="1" (consentmanager), data-ot-ignore (OneTrust) and consent-skip-blocker="1" (Real Cookie Banner). The script then loads right away, but until the choice in the banner it stores nothing on the device and sends no events.

Complianz and CookieYes know no such exemption. Complianz only blocks Metrunio if you add it in the Script Center; then allow the measurement address and metrunio.init (whitelist). CookieYes only holds back the script if a cookie entry carries an address pattern of the measurement address and the installation code comes after the CookieYes script. Leave the pattern empty and place the installation code high up in the head of the page.

Legal note

Loading the script before consent follows the assessment that loading alone is not yet an access to your visitors’ devices under section 25 TDDDG: until the decision it stores nothing there and sends no events. If the assessment changes, the exemptions change with it. Settle it with your privacy counsel.

Checking it

Open your website with ?metrunio-consent-check=1 at the end of the address, for example https://your-shop.com/?metrunio-consent-check=1. The bridge then shows a small panel at the top right: which tool is configured and which one is detected, which services or categories it looks for, whether your tool knows them and which decision is present. Only you see the panel, it sends nothing, and it updates as soon as you choose in the banner.

The browser console shows the same under metrunioConsentBridge.status(). In the portal, the live test shows the page views with their consent status; withdraw consent and the next view is missing.

Dernière vérification le 15 oct. 2026

Dans le portail client

Go to setup

Également demandé

  • Set up the consent bridge
  • Usercentrics: add a service for Metrunio
  • Connect CCM19 to Metrunio
  • Pass Cookiebot consent to Metrunio
  • consentmanager: which purpose applies to Metrunio?
  • Take over Google Consent Mode
  • TCF: why purposes 1 and 8?
  • Why does Metrunio not measure although the banner was accepted?
  • Shopware cookie manager and Metrunio
  • Complianz: which category applies to Metrunio?
  • Borlabs Cookie: add a service for Metrunio
  • Real Cookie Banner: add the service metrunio
  • CookieYes: which category applies to Metrunio?
  • OneTrust: which group applies to Metrunio?
  • Does the bridge recognise OneTrust groups 2 and 4?
  • Does Metrunio read the WP Consent API?
  • Does my consent tool block the Metrunio script?
  • How do I check that the bridge finds my consent tool?

Articles connexes

  • How do I connect my consent tool?

    Which consent tools behind my cookie banner are supported, and how do I map the categories?

    In “Setup” you select your consent tool, the tool behind your cookie banner; for the common systems the categories are pre-filled. Other CMPs and custom consent APIs can be mapped freely.

  • What happens when consent is withdrawn?

    A visitor withdraws consent. What happens to the data?

    From the moment of withdrawal nothing more is stored, and queued reports to advertising platforms no longer go out. Metrunio then automatically deletes what that browser reported under the withdrawn purpose, usually within a few minutes, and you do not need to create a request. Metrunio also deletes ad contacts from pixel, tag and click redirect that are linked to this browser; all other ad contacts stay.

  • How do I check my consent status?

    How do I make sure consent takes effect correctly?

    With two checks that show different things. The rule check under “Setup → Consent” runs six cases against your saved setting, without your website. Whether the website reports consent and withdrawal correctly only shows in the live test with real page views: for each signal the time, source and reported consent status.

  • How do I set up Metrunio in Shopware 6?

    How do I install and connect the Metrunio plugin for Shopware?

    You install the “Metrunio” plugin in Shopware 6, click “Connect to Metrunio” in its settings and confirm the website in the portal. From then on the plugin measures visits, takes the consent decision from your consent tool and reports orders, cancellations and refunds straight from the shop server.

  • How do I set up Metrunio in WordPress and WooCommerce?

    How do I install and connect the Metrunio plugin for WordPress?

    You install the “Metrunio” plugin in WordPress, click “Connect to Metrunio” under “Settings → Metrunio” and confirm the website in the portal. From then on the plugin measures visits and takes the consent decision from your consent tool. With WooCommerce it also reports orders, cancellations and refunds straight from the server.

  • How do I install the code snippet?

    How do I install Metrunio without a tag manager?

    The finished code block is in the portal under “Setup → Snippet” and contains site ID and collector address. You see the write key only once, when it is created; if it is no longer known, the code carries the placeholder YOUR_WRITE_KEY and a button next to it creates a new one. The block belongs immediately before the closing head tag and loads asynchronously.

Voyez ce que racontent vos données.

Explorez d’abord la démo. Un compte personnel n’est actuellement disponible que sur invitation.

Ouvrir la démoDemander un accès