# Consent-Auto-Blocking für seatsandsofas.de

seatsandsofas.de: 25 Auto-Blocking-Regel(n) für Skripte, Iframes und Tag-Manager-Trigger aus SaferPage-Dienstsignalen.

> Auto-Blocking-Regeln sind Betreiber-Vorlagen. Produktivbetrieb braucht CMP-Freigabe, Tests je Consent-Zustand, CSP-/Tag-Manager-Abgleich und fachliche Freigabe.

## Regeln
- NEXT_LOCALE (*.seatsandsofas.de): Kategorie komfort, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="komfort" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="komfort" data-src="https://seatsandsofas.de/..." src="about:blank" title="NEXT_LOCALE"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.komfort equals true.
- Google AdSense (*.pagead2.googlesyndication.com): Kategorie marketing, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="marketing" data-src="https://pagead2.googlesyndication.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="marketing" data-src="https://pagead2.googlesyndication.com/..." src="about:blank" title="Google AdSense"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.marketing equals true.
- Google AdSense (*.ade.googlesyndication.com): Kategorie marketing, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="marketing" data-src="https://ade.googlesyndication.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="marketing" data-src="https://ade.googlesyndication.com/..." src="about:blank" title="Google AdSense"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.marketing equals true.
- Google Maps (*.maps.googleapis.com): Kategorie marketing, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="marketing" data-src="https://maps.googleapis.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="marketing" data-src="https://maps.googleapis.com/..." src="about:blank" title="Google Maps"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.marketing equals true.
- Google Tag Manager (*.googletagmanager.com): Kategorie marketing, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="marketing" data-src="https://googletagmanager.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="marketing" data-src="https://googletagmanager.com/..." src="about:blank" title="Google Tag Manager"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.marketing equals true.
- _ga (*.seatsandsofas.de): Kategorie statistik, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..." src="about:blank" title="_ga"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.statistik equals true.
- _ga_HX8YTLCNJT (*.seatsandsofas.de): Kategorie statistik, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..." src="about:blank" title="_ga_HX8YTLCNJT"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.statistik equals true.
- _pk_id.3.1f01 (*.seatsandsofas.de): Kategorie statistik, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..." src="about:blank" title="_pk_id.3.1f01"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.statistik equals true.
- _pk_ses.3.1f01 (*.seatsandsofas.de): Kategorie statistik, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="statistik" data-src="https://seatsandsofas.de/..." src="about:blank" title="_pk_ses.3.1f01"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.statistik equals true.
- FPID (*.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..." src="about:blank" title="FPID"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- FPLC (*.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..." src="about:blank" title="FPLC"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- api.cookieconsent.io (*.api.cookieconsent.io): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://api.cookieconsent.io/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://api.cookieconsent.io/..." src="about:blank" title="api.cookieconsent.io"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- bat.bing.com (*.bat.bing.com): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://bat.bing.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://bat.bing.com/..." src="about:blank" title="bat.bing.com"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- bat.bing.net (*.bat.bing.net): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://bat.bing.net/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://bat.bing.net/..." src="about:blank" title="bat.bing.net"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- cdn.seatsandsofas.com (*.cdn.seatsandsofas.com): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://cdn.seatsandsofas.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://cdn.seatsandsofas.com/..." src="about:blank" title="cdn.seatsandsofas.com"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- cdn.seatsandsofas.de (*.cdn.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://cdn.seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://cdn.seatsandsofas.de/..." src="about:blank" title="cdn.seatsandsofas.de"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- cdn.trustindex.io (*.cdn.trustindex.io): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://cdn.trustindex.io/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://cdn.trustindex.io/..." src="about:blank" title="cdn.trustindex.io"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- cms.seatsandsofas.com (*.cms.seatsandsofas.com): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://cms.seatsandsofas.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://cms.seatsandsofas.com/..." src="about:blank" title="cms.seatsandsofas.com"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- cookie-consent-io-timestamp (*.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..." src="about:blank" title="cookie-consent-io-timestamp"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- data.seatsandsofas.de (*.data.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://data.seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://data.seatsandsofas.de/..." src="about:blank" title="data.seatsandsofas.de"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- edge.cookieconsent.io (*.edge.cookieconsent.io): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://edge.cookieconsent.io/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://edge.cookieconsent.io/..." src="about:blank" title="edge.cookieconsent.io"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- firstSeen (*.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..." src="about:blank" title="firstSeen"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- mamoto.seatsandsofas.nl (*.mamoto.seatsandsofas.nl): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://mamoto.seatsandsofas.nl/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://mamoto.seatsandsofas.nl/..." src="about:blank" title="mamoto.seatsandsofas.nl"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- pageViewCount (*.seatsandsofas.de): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://seatsandsofas.de/..." src="about:blank" title="pageViewCount"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.
- unpkg (*.unpkg.com): Kategorie unklar, Default blocked.
  Script: `<script type="text/plain" data-saferpage-category="unklar" data-src="https://unpkg.com/..."></script>`
  Iframe: `<iframe data-saferpage-category="unklar" data-src="https://unpkg.com/..." src="about:blank" title="unpkg"></iframe>`
  GTM: Fire only when event equals saferpage_consent_update and consent.unklar equals true.

## Loader Snippet

```js
window.addEventListener('saferpage-consent-update', function(event) {
  var consent = event.detail || {};
  document.querySelectorAll('script[type="text/plain"][data-saferpage-category][data-src]').forEach(function(node) {
    var category = node.getAttribute('data-saferpage-category');
    if (!consent[category] || node.getAttribute('data-saferpage-loaded') === 'true') return;
    var script = document.createElement('script');
    Array.prototype.slice.call(node.attributes).forEach(function(attr) {
      if (attr.name === 'type' || attr.name === 'data-src' || attr.name === 'data-saferpage-category') return;
      script.setAttribute(attr.name, attr.value);
    });
    script.src = node.getAttribute('data-src');
    script.async = true;
    node.setAttribute('data-saferpage-loaded', 'true');
    node.parentNode.insertBefore(script, node.nextSibling);
  });
  document.querySelectorAll('iframe[data-saferpage-category][data-src]').forEach(function(node) {
    var category = node.getAttribute('data-saferpage-category');
    if (!consent[category] || node.src === node.getAttribute('data-src')) return;
    node.src = node.getAttribute('data-src');
  });
});
```

## GTM Setup
- 1. Consent Initialization: Default Consent Mode vor allen Marketing-/Analytics-Tags auf denied setzen.
- 2. Tag Trigger prüfen: Jeder nicht notwendige Tag braucht Kategoriebedingung aus saferpage_consent_update.
- 3. Unklassifizierte Tags blockieren: Neue oder unbekannte Dienste bleiben aus, bis Kategorie, Zweck und Rechtsgrundlage freigegeben sind.
- 4. Reject/GPC testen: Nach Ablehnen und GPC dürfen keine Marketing-/Analytics-/Embed-Tags nachladen.

## Placeholder
- visual_embeds: Videos, Karten, Captchas und Social Widgets mit Platzhalter anzeigen und erst nach Kategorie-Freigabe laden.
- copy: Dieser externe Inhalt ist blockiert, bis Sie die passende Datenschutz-Kategorie aktivieren.
- preview_limit: Keine externen Preview-Bilder laden, wenn diese bereits Drittanbieter-Kontakte auslösen.
