{"id":247,"date":"2026-07-06T19:51:24","date_gmt":"2026-07-06T17:51:24","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=247"},"modified":"2026-10-24T00:39:07","modified_gmt":"2026-10-23T22:39:07","slug":"google-consent-mode-v2-implementieren","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/","title":{"rendered":"Google Consent Mode v2 implementieren"},"content":{"rendered":"<p>Google Consent Mode v2 \u00fcbermittelt Einwilligungsentscheidungen an Google-Tags. Das Banner erfasst die Auswahl; Consent Mode ver\u00e4ndert das Messverhalten. Zur vollst\u00e4ndigen Einrichtung geh\u00f6ren ein Ausgangszustand, Aktualisierungen nach einer Auswahl und die Wiederherstellung gespeicherter Einstellungen auf weiteren Seiten.<\/p>\n<p>Google-Produktvorgaben und geltendes Recht sind getrennt zu pr\u00fcfen. Consent Mode ist keine allgemeine gesetzliche Pflicht f\u00fcr jede europ\u00e4ische Website. Der Einbau stellt auch keine Rechtskonformit\u00e4t her. Die zul\u00e4ssige Verarbeitung entscheidet dar\u00fcber, ob vor der Zustimmung begrenzte Anfragen erlaubt sind.<\/p>\n<h2>Vier Einstellungen mit unterschiedlichen Aufgaben<\/h2>\n<ul><li><code>analytics_storage<\/code>: analysebezogene Speicherung.<\/li><li><code>ad_storage<\/code>: werbebezogene Speicherung.<\/li><li><code>ad_user_data<\/code>: \u00dcbermittlung von Nutzerdaten f\u00fcr Werbung.<\/li><li><code>ad_personalization<\/code>: personalisierte Werbung.<\/li><\/ul>\n<p>Basic blockiert die betreffenden Tags bis zur Zustimmung. Advanced l\u00e4dt einwilligungsabh\u00e4ngige Tags mit restriktiven Ausgangswerten und kann nach abgelehnter Speicherung cookielose Messdaten senden. \u201eCookielos\u201c bedeutet keinen vollst\u00e4ndigen Verzicht auf Daten\u00fcbertragung. Verhaltens- und Conversion-Modellierung haben zus\u00e4tzliche Voraussetzungen und garantieren keine Wiederherstellung fehlender Messwerte.<\/p>\n<figure class=\"lw-diagram\">\n<img decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/dia-247-consent-20261024.png\" width=\"1120\" height=\"580\" loading=\"lazy\" alt=\"Zwei Wege f\u00fcr Advanced Consent Mode: GTM-Consent-APIs oder direkte gtag.js-Ausgangswerte und best\u00e4tigte Updates. Integrierte Pr\u00fcfungen unterscheiden sich von zus\u00e4tzlichen Sperren. Basic blockiert bewusst.\">\n<figcaption>Das Diagramm zeigt beide Wege zu Default und Update im Consent Mode v2 und das Verhalten der Google-Tags bei verweigerter Zustimmung.<\/figcaption>\n<\/figure>\n<h2>Methode 1: Google Tag Manager<\/h2>\n<p>Unter Verwaltung \u2192 Containereinstellungen liegt die Option zum Aktivieren der Einwilligungs\u00fcbersicht. Die \u00dcbersicht erleichtert die Pr\u00fcfung der ben\u00f6tigten Zustimmungen je Tag.<\/p>\n<p>Ein mit Consent Mode kompatibles CMP-Template verbindet Banner und GTM. Die Ausgangswerte geh\u00f6ren auf Consent Initialization \u2013 All Pages. Eigene Templates verwenden <code>setDefaultConsentState<\/code> und <code>updateConsentState<\/code>. Wartende gtag-Aufrufe in Custom HTML bieten nicht dieselbe Zusicherung der Reihenfolge. Ob getrennte Default- und Update-Tags n\u00f6tig sind, h\u00e4ngt von der konkreten CMP-Anbindung ab.<\/p>\n<p>Integrierte Einwilligungspr\u00fcfungen ver\u00e4ndern das Verhalten eines unterst\u00fctzten Google-Tags. Zus\u00e4tzliche Einwilligungspr\u00fcfungen verhindern dagegen die Ausf\u00fchrung, bis s\u00e4mtliche genannten Zustimmungen vorliegen. Bei einer freigegebenen Advanced-Einrichtung l\u00e4sst \u201eKeine zus\u00e4tzliche Einwilligung erforderlich\u201c die integrierten Pr\u00fcfungen aktiv. Basic blockiert die betreffenden Tags bewusst. Ein fehlender Ping ist deshalb allein kein Grund zum Entfernen einer Sperre.<\/p>\n<h2>Methode 2: direkte Einbindung mit gtag.js<\/h2>\n<p>Das folgende Beispiel zeigt Advanced. An beiden Stellen ben\u00f6tigt die Platzhalter-Mess-ID die tats\u00e4chliche GA4-ID. Die Ausgangswerte stehen vor den Messbefehlen. Ohne regionale Einschr\u00e4nkung gelten diese Werte weltweit.<\/p>\n<figure style=\"--cbb-digits:2\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"html\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">HTML<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" data-cbb-done=\"Copied\" data-cbb-failed=\"Press Ctrl+C to copy\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\" aria-live=\"polite\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\"><code class=\"cbb-code language-html\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">script<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">window.dataLayer = window.dataLayer || &#91;&#93;;\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">gtag<\/span>() { dataLayer.<span class=\"cbb-function\">push<\/span>(arguments); }\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">gtag<\/span>(<span class=\"cbb-string\">'consent'<\/span>, <span class=\"cbb-string\">'default'<\/span>, {\n<\/span><span class=\"cbb-line\">  ad_storage: <span class=\"cbb-string\">'denied'<\/span>,\n<\/span><span class=\"cbb-line\">  ad_user_data: <span class=\"cbb-string\">'denied'<\/span>,\n<\/span><span class=\"cbb-line\">  ad_personalization: <span class=\"cbb-string\">'denied'<\/span>,\n<\/span><span class=\"cbb-line\">  analytics_storage: <span class=\"cbb-string\">'denied'<\/span>,\n<\/span><span class=\"cbb-line\">  wait_for_update: <span class=\"cbb-number\">500<\/span>\n<\/span><span class=\"cbb-line\">});\n<\/span><span class=\"cbb-line\"><span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">script<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">script<\/span> <span class=\"cbb-attr\">async<\/span> <span class=\"cbb-attr\">src<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-XXXXXXXXXX\"<\/span><span class=\"cbb-punct\">&gt;<\/span><span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">script<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">script<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">gtag<\/span>(<span class=\"cbb-string\">'js'<\/span>, <span class=\"cbb-keyword\">new<\/span> <span class=\"cbb-function\">Date<\/span>());\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">gtag<\/span>(<span class=\"cbb-string\">'config'<\/span>, <span class=\"cbb-string\">'G-XXXXXXXXXX'<\/span>);\n<\/span><span class=\"cbb-line\"><span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">script<\/span><span class=\"cbb-punct\">&gt;<\/span><\/span><\/code><\/pre><\/figure>\n<p>Die 500 ms sind eine beispielhafte Wartezeit f\u00fcr ein asynchrones Einwilligungsupdate. Der Wert ist weder ein allgemeiner Mindestwert noch eine Frist, nach deren Ablauf Zustimmung entsteht. Nach Ablauf gelten weiterhin die abgelehnten Ausgangswerte.<\/p>\n<h3>Updates f\u00fcr Zustimmung, Ablehnung und Widerruf<\/h3>\n<p>Die folgende Funktion erwartet vier ausdr\u00fcckliche boolesche Entscheidungen. Fehlende Werte und andere Datentypen ergeben denied. Die Banner-Anbindung ruft die Funktion nach einer best\u00e4tigten Auswahl, nach Widerruf und beim Wiederherstellen einer g\u00fcltigen gespeicherten Entscheidung auf. Der blo\u00dfe Seitenaufruf begr\u00fcndet keinen solchen Aufruf mit Zustimmung.<\/p>\n<figure style=\"--cbb-digits:1\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"javascript\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">JavaScript<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" data-cbb-done=\"Copied\" data-cbb-failed=\"Press Ctrl+C to copy\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\" aria-live=\"polite\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\"><code class=\"cbb-code language-javascript\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">applyGoogleConsent<\/span>(choice) {\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-keyword\">const<\/span> state = value <span class=\"cbb-operator\">=&gt;<\/span> value === <span class=\"cbb-constant\">true<\/span> ? <span class=\"cbb-string\">'granted'<\/span> : <span class=\"cbb-string\">'denied'<\/span>;\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-function\">gtag<\/span>(<span class=\"cbb-string\">'consent'<\/span>, <span class=\"cbb-string\">'update'<\/span>, {\n<\/span><span class=\"cbb-line\">    ad_storage: <span class=\"cbb-function\">state<\/span>(choice.adStorage),\n<\/span><span class=\"cbb-line\">    ad_user_data: <span class=\"cbb-function\">state<\/span>(choice.adUserData),\n<\/span><span class=\"cbb-line\">    ad_personalization: <span class=\"cbb-function\">state<\/span>(choice.adPersonalization),\n<\/span><span class=\"cbb-line\">    analytics_storage: <span class=\"cbb-function\">state<\/span>(choice.analyticsStorage)\n<\/span><span class=\"cbb-line\">  });\n<\/span><span class=\"cbb-line\">}<\/span><\/code><\/pre><\/figure>\n<p>Die Funktion implementiert weder ein Banner noch die Speicherung der Auswahl. Daf\u00fcr bleibt die CMP zust\u00e4ndig, einschlie\u00dflich G\u00fcltigkeit, Ablauf und Wiederherstellung auf jeder Seite. Updates m\u00fcssen Google vor einem Seitenwechsel erreichen. Ein einzelnes gespeichertes Kennzeichen \u201eakzeptiert\u201c bildet getrennte Kategorien nicht ab.<\/p>\n<h2>Pr\u00fcfung vor der Freigabe<\/h2>\n<p>Tag Assistant zeigt die Ausgangswerte im ersten Consent-Ereignis und sp\u00e4tere Aktualisierungen. Zur Pr\u00fcfung geh\u00f6ren Erstbesuch, vollst\u00e4ndige Ablehnung, Zustimmung, Teilauswahl, Folgeseite und Widerruf. Netzwerk- und Speicheransicht des Browsers zeigen das tats\u00e4chliche Verhalten im gew\u00e4hlten Basic- oder Advanced-Modus.<\/p>\n<p>Eine fehlende Anfrage kann auch durch Browserblocker, Skriptfehler oder einen eigenen Endpunkt entstehen. Eine ausbleibende Anfrage an google-analytics.com beweist keine bestimmte GTM-Ausnahme.<\/p>\n<h2>Optional: URL-Passthrough<\/h2>\n<p>URL-Passthrough kann Klickinformationen \u00fcber Links derselben Domain anstelle von Werbe-Cookies weiterreichen. Bei direktem gtag.js geh\u00f6rt die Einstellung vor config-Befehle:<\/p>\n<figure style=\"--cbb-digits:1\" class=\"cbb cbb--wrap wp-block-code-beautifier-block-code\" data-lang=\"javascript\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">JavaScript<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" data-cbb-done=\"Copied\" data-cbb-failed=\"Press Ctrl+C to copy\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\" aria-live=\"polite\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\"><code class=\"cbb-code language-javascript\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-function\">gtag<\/span>(<span class=\"cbb-string\">'set'<\/span>, <span class=\"cbb-string\">'url_passthrough'<\/span>, <span class=\"cbb-constant\">true<\/span>);<\/span><\/code><\/pre><\/figure>\n<p>Die Option ben\u00f6tigt kompatible Tags und eine einheitliche Konfiguration. Weiterleitungen und Anwendungsnavigation ben\u00f6tigen Tests mit den zus\u00e4tzlichen Parametern. URL-Parameter k\u00f6nnen in Protokolle und Referrer gelangen; die Aktivierung ben\u00f6tigt deshalb eine bewusste Verarbeitungsentscheidung. <code>ads_data_redaction<\/code> ist eine getrennte Einstellung zum Entfernen von Anzeigenklickinformationen aus betreffenden Anfragen bei verweigerter Werbespeicherung.<\/p>\n<div class=\"lw-faq\"><h2>Fragen und Antworten<\/h2><h3>Wartet wait_for_update bis zur Entscheidung?<\/h3><p>Nein. Die begrenzte Wartezeit ber\u00fccksichtigt eine asynchrone Initialisierung. Eine sp\u00e4tere best\u00e4tigte Auswahl ben\u00f6tigt weiterhin ein Update.<\/p><h3>Ist das Blockieren eines Google-Tags immer falsch?<\/h3><p>Nein. Im Basic-Modus ist die Sperre beabsichtigt. Ein Fehler besteht erst bei einer Abweichung von der gew\u00e4hlten und zul\u00e4ssigen Einrichtung.<\/p><\/div>\n<div class=\"lw-quellen\">\n<h2>Quellen<\/h2>\n<ul>\n<li><a href=\"https:\/\/developers.google.com\/tag-platform\/security\/guides\/consent\" target=\"_blank\" rel=\"noopener noreferrer\">Consent Mode implementation<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/tag-platform\/gtagjs\/reference\" target=\"_blank\" rel=\"noopener noreferrer\">gtag.js reference<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/tag-platform\/security\/guides\/consent-debugging\" target=\"_blank\" rel=\"noopener noreferrer\">Troubleshoot consent mode with Tag Assistant<\/a><\/li>\n<\/ul>\n<ul><li><a href=\"https:\/\/support.google.com\/tagmanager\/answer\/10718549\">Google: 1<\/a><\/li><li><a href=\"https:\/\/www.google.com\/about\/company\/user-consent-policy\/\">Google: 2<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung. GTM- und direkte gtag.js-Implementierung werden gegen\u00fcbergestellt; die Reihenfolge von Vorgaben und Aktualisierungen ist ein eigener Pr\u00fcfschritt.<\/p>\n","protected":false},"author":1,"featured_media":19794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[92139,92142,92265,92241,92145,92268],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-digital-analytics-de","tag-consent-management-de","tag-consent-mode-v2-de","tag-prywatnosc-danych-pl-de","tag-gdpr-de","tag-google-tag-manager-de","tag-javascript-de"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google Consent Mode v2 implementieren | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Consent Mode v2 implementieren | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-06T17:51:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-23T22:39:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"headline\":\"Google Consent Mode v2 implementieren\",\"datePublished\":\"2026-07-06T17:51:24+00:00\",\"dateModified\":\"2026-10-23T22:39:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/\"},\"wordCount\":699,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/hero-247-google-consent-mode-v2-implementiere-tk.png\",\"keywords\":[\"Consent Management\",\"Consent Mode v2\",\"Data Privacy\",\"GDPR\",\"Google Tag Manager\",\"JavaScript\"],\"articleSection\":[\"Digital Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/\",\"name\":\"Google Consent Mode v2 implementieren | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/hero-247-google-consent-mode-v2-implementiere-tk.png\",\"datePublished\":\"2026-07-06T17:51:24+00:00\",\"dateModified\":\"2026-10-23T22:39:07+00:00\",\"description\":\"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/hero-247-google-consent-mode-v2-implementiere-tk.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/hero-247-google-consent-mode-v2-implementiere-tk.png\",\"width\":1200,\"height\":630,\"caption\":\"Google Consent Mode v2 implementieren\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/digital-analytics-de\\\/google-consent-mode-v2-implementieren\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google Consent Mode v2 implementieren\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Consent Mode v2 implementieren | Lukas Wojcik","description":"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/","og_locale":"en_US","og_type":"article","og_title":"Google Consent Mode v2 implementieren | Lukas Wojcik","og_description":"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/","og_site_name":"Lukas Wojcik - Blog","article_published_time":"2026-07-06T17:51:24+00:00","article_modified_time":"2026-10-23T22:39:07+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"headline":"Google Consent Mode v2 implementieren","datePublished":"2026-07-06T17:51:24+00:00","dateModified":"2026-10-23T22:39:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/"},"wordCount":699,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png","keywords":["Consent Management","Consent Mode v2","Data Privacy","GDPR","Google Tag Manager","JavaScript"],"articleSection":["Digital Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/","url":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/","name":"Google Consent Mode v2 implementieren | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png","datePublished":"2026-07-06T17:51:24+00:00","dateModified":"2026-10-23T22:39:07+00:00","description":"Google Consent Mode v2 einrichten: Consent-Signale, GTM-Konfiguration und Tag-Einstellungen mit Beispielen f\u00fcr Analytics und Werbung.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/09\/hero-247-google-consent-mode-v2-implementiere-tk.png","width":1200,"height":630,"caption":"Google Consent Mode v2 implementieren"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/de\/digital-analytics-de\/google-consent-mode-v2-implementieren\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Google Consent Mode v2 implementieren"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":14,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":22834,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/247\/revisions\/22834"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/19794"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}