OneTrust Cookie Auto-Blocking kann verwendet werden, um automatisch zu verhindern, dass Cookies auf Besuchergeräten der Website gesetzt werden. Auto-Blocking automatisiert die Verwendung von Cookies, Skripts und Tags, um auf die von Besuchern der Website ausgewählten Präferenzen zu reagieren.
Statt einen Tag-Manager zu verwenden oder für das erneute Schreiben von JavaScript type="Text/plain" manuell hinzuzufügen, können Sie einfach eine Einstellung für Ihr Banner und Ihr Präferenz-Center-Skript aktivieren, die automatisch die kategorisierten Cookies auf Ihrer Website blockiert.
Und so funktioniert es
Die automatische Blockierung von OneTrust-Cookies funktioniert, indem Ihre Scan-Ergebnisse und Kategorisierungen verwendet werden, um die Einstellung von Cookies automatisch zu verhindern, bevor die Einwilligung des Website-Besuchers erteilt wird.
Dies hängt von den Kategorien der von Ihnen konfigurierten Cookies und dem von Ihnen ausgewählten Einwilligungsmodell ab. Wenn das Skript auf Ihre Seite geladen wird, werden die Cookies gemäß Ihrer Einwilligungsrichtlinie, den Geolokalisierungsregeln und den vom Besucher ausgewählten Einstellungen blockiert.
Wenn das Auslösen einer Kategorie von Cookies verhindert werden soll oder ein Website-Besucher sich aus einer Kategorie entlässt, verhindert die automatische Blockierungstechnologie das Auslösen dieser Kategorie.
Ist Auto-Blocking für Ihre Domain geeignet?
Mit diesem Abschnitt können Sie feststellen, ob die OneTrust-Funktion zum automatischen Blockieren im Cookie Compliance-Modul eine geeignete Lösung für Ihre Domain ist.
[en]If you have lots of cookies and/or intensive site content, AutoBlock must be loaded synchronously on the page. If you have a long list of cookies, the download of the AutoBlock script may cause your page to render more slowly than expected. If this is a concern, consider integrating with your tag manager for a more performant implementation. For more information, see Cookie Consent Integration with Google Tag Manager.
[en]If you generate revenue from targeted ads AutoBlock.js might impact the timing and order of scripts firing. This can sometimes cause ad targeting libraries to malfunction and impact revenue. The best practice is to use a method other than AutoBlocking for cookies related to ad targeting.
[en]If you leverage Bulk Domain Management, due to the nature of web properties, the source URLs for many scripts will change per domain.
[en] If any of the above scenarios are applicable to your domain(s), AutoBlock might not be the best fit for your website. Consider tag manager integration or type-rewriting for your cookie blocking needs. It is still possible to use a combination of solutions, so AutoBlock may be a good fit for some but not all of your cookie blocking.
[en] Implementation Requirements
Erforderlich
Erklärung
Das OtAutoBlock-Skript muss synchron ausgeführt werden.
Wenn das asynchrone Attribut des Skripts OtAutoBlock hinzugefügt und auf „true“ gesetzt wird, wird der Rest der Seite weiter analysiert und Tags werden möglicherweise ausgelöst. Dadurch können Cookies gesetzt werden, bevor das Skript OtAutoBlock die entsprechenden HTML-Elemente einfügt.
Die Skripts OtAutoBlock und otSDKStub müssen vom Content Management System (CMS) oder direkt im HTML-Code im <head>-Element platziert werden.
Wenn die Skripts mit einem Tag-Manager bereitgestellt werden, besteht ein hohes Latenzrisiko zwischen der Domain und dem Tag-Manager. Dies führt dazu, dass Tags ausgelöst werden, bevor Skript das OtAutoBlock abgeschlossen ist.
Wenn Umsätze aus zielgerichteten Anzeigen generiert werden, wird empfohlen, manuelle Blockierungsmethoden zu verwenden.
Die automatische Blockierung kann dazu führen, dass sich Tags beim Laden der Seite unerwartet verhalten und sich auf den Anzeigenumsatz auswirken.
[en] Common Host Blocking
[en] OneTrust AutoBlocking can block commonly identified trackers automatically without the need to locate a source URL. This behavior is configured during publishing. The common hosts are listed below.
Tabelle 1. Allgemeine Hostliste
addthis.com
addtoany.com
adsrvr.org
amazon-adsystem.com
bing.com
bounceexchange.com
bouncex.net
criteo.com
criteo.net
dailymotion.com
doubleclick.net
everettech.net
facebook.com
facebook.net
googleadservices.com
googlesyndication.com
krxd.net
liadm.com
linkedin.com
outbrain.com
rubiconproject.com
sharethis.com
Taboola.com
twitter.com
vimeo.com
yahoo.com
youtube.com
[en] To enable this functionality, see the Automatically Block Known Tracking Technologies section in Implementieren des Cookie Compliance-Skripts. When enabled, any script on the website inserted by the hosts listed above is mapped to OneTrust’s Targeting category and is only allowed when the user accepts targeting cookies on a site.
[en] Things to Know
[en] Cookies may not be detected by the scanner if the related tag is triggered by actions such as form submission, scroll depth, timing delay, etc. These tags will either need to be added manually to OneTrust or blocked using another method.
[en] Any cookie categorized as non-essential (Functional, Performance, Targeting, Social Media, or any custom category) that has an accurate source URL will be controlled by auto-blocking. If a cookie is categorized as Strictly Necessary or Unknown, it will not be included in the OtAutoBlock auto-blocking.
[en] Cookies set by in-line scripting (e.g., using 'document.cookie' inline) are not supported by auto-blocking functionality. Instead, consider Client-Side Cookie Management type-rewriting for these cookies.
Voraussetzungen
OneTrust Cookie Auto-Blocking verwendet Ihre Scan-Ergebnisse und Cookie-Kategorisierungen, um zu erkennen, was blockiert werden soll. Wenn ein Cookie nicht vom Standortscanner erkannt oder nicht kategorisiert wurde, wird es nicht durch das automatische Blockierungsskript gesteuert.
Um eine erfolgreiche Implementierung des Skripts für die automatische Blockierung zu gewährleisten, scannen Sie Ihre Website erneut, bevor Sie mit der Implementierung beginnen, und stellen Sie sicher, dass alle Cookies kategorisiert sind.
Implementieren von OneTrust Cookie Auto-Blocking
Achtung
Sie sollten diese Funktionalität niemals bereitstellen, ohne sie vorher in einer Testumgebung zu prüfen.
Wählen Sie im Menü Cookie Compliance die Option Skript. Das Fenster Skripts wird angezeigt.
Wählen Sie die Domain aus, für die Sie automatische Blockierung aktivieren möchten. Das Fenster Skripts wird angezeigt.
Klicken Sie auf die Schaltfläche Test veröffentlichen. Das Fenster Veröffentlichen wird angezeigt.
Wählen Sie die Version des zu veröffentlichende Skript und klicken Sie auf Bestätigen.
[en] Click the Confirm button.
Aktivieren Sie die Einstellung Autoblock aktivieren. Dadurch wird das Skript aktualisiert und OneTrust Cookie Auto-Blocking eingeschlossen.
Tipp
[en] If you’d like to automatically include AutoBlocking for scripts from Common Hosts, select Automatically Block Known Tracking Technologies.
[en] Click the Publish Test Scripts button.
Navigieren Sie zur Registerkarte Testskripts. Klicken Sie auf die Schaltfläche Skripts kopieren, um das Skript zu kopieren, und legen Sie es dann als erstes Skript im Kopfbereich Ihrer Website ab.
[en] Click the Copy Scripts button to copy the script.
[en] Place the script as the first script in the head section of your site.
Achtung
[en] The Autoblock.js script must be added directly to the page, not via an injector or tag manager.
Dieses Skript muss vor allen anderen Stellen platziert werden, damit es korrekt funktioniert. Wenn es nicht zuerst platziert wird, kann es das Setzen von Cookies nicht effektiv blockieren.
Wenn Sie bereits ein Banner-Skript auf Ihrer Website implementiert haben und die automatische Blockierung verwenden möchten, müssen Sie es durch das neue Skript ersetzen, das durch Aktivieren der Einstellung generiert wird.
Wiederholen Sie nach dem Test den Vorgang für das Produktionsskript und legen Sie das Skript auf Ihrer Produktionsstandort ab.
[en] You can remove source URLs from your AutoBlocking Javascript for greater control over your autoblocking functionality.
[en] On the Cookie Consent menu, select Websites. The Websites screen appears.
[en] Click the name of a website. The Website Details screen appears.
[en] Go to the Auto-Block tab.
[en] Enable the Enable Auto-Blocking setting, if disabled.
[en] Select the source URLs you want to remove from your auto-blocking.
[en] Click the Unblock Source URL button. A confirmation modal appears.
[en] Click the Confirm button.
[en] To manually block source URLs
[en] On the Cookie Consent menu, select Websites. The Websites screen appears.
[en] Click the name of a website. The Website Details screen appears.
[en] Go to the Auto-Block tab.
[en] Enable the Enable Auto-Blocking setting, if disabled.
[en] Click the Block Source URL button. The Block Source URLs modal appears.
[en] Enter a Source URL for the cookie you want to add to your auto-blocking script.
[en] Click the Search button.
[en]Previously Linked URLs
[en] If the source URL matches to an existing cookie, the existing cookie displays.
[en] Click the Block button.
[en]New URLs
[en] If the source URL does not match to an existing cookie, configure the fields.
[en] Field
[en] Description
[en] Link to
[en] Select an item to which the source URL should be linked.
[en] Existing Cookie
[en] New Cookie
[en]Existing Cookie
[en] Cookie
[en] If linking to an existing cookie, select the cookie to which the URL belongs.
[en]New Cookie
[en] Name
[en] Enter the cookie name.
[en] Host
[en] Enter the host URL.
[en] Lifespan
[en] Select Persistent or Session.
[en] Default Category
Wählen Sie die Standardkategorie für das Cookie aus. Die Kategorie wird diesem Cookie auf allen Domains zugewiesen, bis Sie sie im Bildschirm Erweiterte Kategorisierungen bearbeiten.
[en] If a new domain is scanned and an existing cookie is found, it will be assigned to the Default Category on that domain.
[en] OneTrust suggests using autoblock for simpler websites (where you don’t have dynamic URLs firing cookies on the website and where you have fewer cookies, which makes it easier to maintain the AutoBlock file).
Anmerkung
[en] You will need to check your autoblock.js file every time a new publish occurs to ensure no new or incorrect URLs are added.
[en] This JavaScript file is available within the scripts in https://cdn.cookielaw.org/consent/(YOUR. DATA DOMAIN ID)/AutoBlock.js
2.
[en] Does the Auto-Blocking script have to be the first element on the site?
[en] Yes, the Auto Blocking script must be the first item in your head section. This is to ensure it runs before any cookies are dropped.
3.
[en] Not all the cookies are being blocked. What do I need to do?
[en] Ensure all cookies on your site have been categorized. Cookies that are uncategorized will not be blocked by the auto-blocking feature. Additionally, any cookies that are categorized as Strictly Necessary will not be blocked by the auto-blocking feature.
[en] Confirm that the correct source URL is linked to the cookie in the OneTrust tool if a cookie is not being blocked. Republish after adding the correct URL and test if the cookie is now being blocked as expected.
[en] Check the consent model being used for your region. If the consent model is Opt-out, then the cookies will be enabled until the site visitor opts out.
[en] Confirm the cookies dropped on your site are blockable.
[en] Contact OneTrust Support if you experience persistent issues.
4.
[en] How do I check which cookie has the source URL that is breaking my site?
[en] You can export an Excel file that gives you a list of all the cookies and their associated source URL(s). To export this file, follow the steps in the To export you cookie list section of Verwalten und Kategorisieren von Cookies.
Wichtig
[en] Disable the Exclude Resource URLs setting on the Cookie Export modal when exporting your cookie list.
5.
[en] What happens to newly added, uncategorized cookies on my site?
[en] Cookies will not be blocked until they are categorized, have the correct source URLs included, and the AutoBlock script has been republished to include the new URLs.
6.
[en] When should I use a tag manager versus Auto-Blocking?
[en] Simple integrations are available for all tag managers, giving you a great way to control when tags fire based upon user consent.
[en] With Auto Blocking turned on, new tags are automatically disabled if the tag is in a category blocked and the correct source URLs are present until consent is given.
7.
[en] How do I ensure my Auto-Blocking settings are up to date?
[en] You can rescan your site by using the automatic scan scheduler or by manually initiating a scan. If new cookies are found, you will need to make sure they are categorized with correct source URLs present or they will not be blocked.
[en] After categorizing the new cookies, you will need to publish the script.
8.
[en] Can I use custom category IDs with Auto-Blocking?
[en] Yes, you can use custom category IDs with the Auto-Blocking script. It uses whatever IDs are configured in the tool. The Auto-Blocking script adds the appropriate IDs to the tags that need to be blocked.
9.
[en] Does Auto-Blocking work with iframes embedded directly on the page?
[en] Right now Auto-Blocking will only work for iframes created dynamically on the page, such as advertising iframes that are injected by a JavaScript file.
[en] For iframes embedded directly on page, for example some youtube videos, we recommend following the manual steps to block those iframes.
[en] Can I use an Opt-out consent model with Auto-Blocking?
[en] Yes, you can use any consent model with Auto-Blocking. When using an opt-out consent model, cookies are allowed when the user first visits the site. If the users chooses to opt-out or reject a category, cookies belonging to that category are blocked on the website. This also applies to AutoBlocking.