{"id":238563,"date":"2024-02-05T08:12:30","date_gmt":"2024-02-05T06:12:30","guid":{"rendered":"https:\/\/devowl.io\/?post_type=knowledge-base&#038;p=238563"},"modified":"2024-02-05T08:12:30","modified_gmt":"2024-02-05T06:12:30","slug":"real-cookie-banner-with-google-tag-manager-google-consent-mode","status":"publish","type":"knowledge-base","link":"https:\/\/devowl.io\/de\/wissensdatenbank\/real-cookie-banner-mit-google-tag-manager-google-consent-mode\/","title":{"rendered":"Einrichtung von Google Tag Manager mit Google Consent Mode"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Real Cookie Banner is compatible with Google Consent Mode. Google Consent Mode can be used to transfer legal bases (consents or legitimate interests) for services to Google Tag Manager as so-called &#8220;additional consents&#8221;. This means that you can fire tags in Google Tag Manager only when there is a legal basis for doing so.<\/p>\n<p>Im folgenden Artikel erkl\u00e4ren wir dir, wie du dein Cookie Banner auf deiner WordPress-Website mit dem Google Tag Manager in Verbindung mit dem Google Consent Mode einrichten kannst.<\/p>\n<\/div><\/div><div class=\"w-iconbox us_custom_8551abba iconpos_left style_outlined color_primary align_left no_title\"><div class=\"w-iconbox-icon\" style=\"font-size:18px;\"><i class=\"fas fa-info\"><\/i><\/div><div class=\"w-iconbox-meta\"><div class=\"w-iconbox-text\"><p>Wir m\u00fcssen darauf hinweisen, dass die folgenden Aussagen keine Rechtsberatung darstellen. Wir k\u00f6nnen dir daher nur Einsch\u00e4tzungen aus unserer intensiven Erfahrung mit den EU-Rechtsvorschriften in der Praxis und eine technische Einsch\u00e4tzung der Situation geben.<\/p>\n<\/div><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Aktivierung des Google Consent Mode mit Google Tag Manage Integration<\/h2>\n<p class=\"translation-block\">Zuerst m\u00fcssen wir die Google Tag Manager Integration in <a href=\"https:\/\/devowl.io\/de\/wordpress-real-cookie-banner\/\" target=\"_blank\" rel=\"noopener\">Real Cookie Banner<\/a> aktivieren, um alle zus\u00e4tzlichen Funktionen f\u00fcr die Verwendung von Google Tag Manager zu sehen. F\u00fchre dazu die folgenden Schritte aus:<\/p>\n<ol>\n<li class=\"translation-block\">In deinem WordPress Backend gehst du auf den Reiter <em>Cookies<\/em> in der linken Seitenleiste.<\/li>\n<li class=\"translation-block\">Im Tab <em>Einstellungen &gt; Google Consent Mode<\/em> musst du den Google Consent Mode aktivieren, da die Einwilligungen sp\u00e4ter \u00fcber dieses Framework\/Schnittstelle an den Google Tag Manager \u00fcbertragen werden.<\/li>\n<li>In the same tab, you must also activate the option &#8220;Google Tag Manager integration&#8221;, so that the legal bases for all services get automatically transferred to Google Tag Manager.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren.png\" aria-label=\"Google Consent Mode mit Google Tag Manager Integration aktivieren\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"414\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren.png\" class=\"attachment-large size-large\" alt=\"Google Consent Mode mit Google Tag Manager Integration aktivieren\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren.png 2934w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren-326x157.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren-890x428.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren-18x9.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren-652x314.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/google-consent-mode-mit-google-tag-manager-integration-aktivieren-1780x857.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p class=\"translation-block\">Mit diesen Schritten werden zus\u00e4tzliche Optionen in Real Cookie Banner aktiviert, um Einwilligungen \u00fcbertragen zu k\u00f6nnen. Der Google Tag Manager selbst ist jedoch <span style=\"text-decoration: underline\">noch nicht<\/span> in deine Website integriert.<\/p>\n<\/div><\/div><div class=\"w-iconbox us_custom_8551abba iconpos_left style_outlined color_primary align_left no_title\"><div class=\"w-iconbox-icon\" style=\"font-size:18px;\"><i class=\"fas fa-exclamation-triangle\"><\/i><\/div><div class=\"w-iconbox-meta\"><div class=\"w-iconbox-text\"><p class=\"translation-block\"><strong>Du hast zuvor auf deiner Website mithilfe von <a href=\"https:\/\/devowl.io\/de\/wissensdatenbank\/real-cookie-banner-mit-google-tag-manager-oder-matomo-tag-manager\/\" target=\"_blank\" rel=\"noopener\">Google Tag Manger Events Einwilligungen an Google Tag Manger \u00fcbertragen<\/a> und die Trigger deiner Tags zu diesem Zweck angepasst?<\/strong> Sobald du die Google Tag Manager Integration f\u00fcr den Google Consent Mode aktivierst, wird die Google Tag Manger Events Integration deaktiviert.<\/p>\n<p>In deinem Google Tag Manager musst du daher alle Trigger wieder so konfigurieren, als ob du kein Cookie Banner verwenden w\u00fcrdest. Die Einwilligungspr\u00fcfung mit dem Google Consent Mode funktioniert anders, wie wir im Folgenden erkl\u00e4ren.<\/p>\n<\/div><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Google Tag Manager einbinden<\/h2>\n<p class=\"translation-block\">Du musst den Google Tag Manager in deine WordPress-Website integrieren und eine Einwilligung deiner Website-Besucher einholen. Wenn du den Google Tag Manager bereits in deine Website integriert hast (mit dem offiziellen Skript oder einem Plugin wie <a href=\"https:\/\/de.wordpress.org\/plugins\/duracelltomi-google-tag-manager\/\" target=\"_blank\" rel=\"noopener\">GTM4WP<\/a>), muss er bis zur Einholung der Einwilligung gesperrt werden.<\/p>\n<p>Mit den folgenden Schritten kannst du den Google Tag Manager zu deiner Website hinzuf\u00fcgen:<\/p>\n<ol>\n<li class=\"translation-block\">Gehe zu <em>Services<\/em> (<em>Cookies) &gt; Service hinzuf\u00fcgen<\/em> und w\u00e4hle <em>Google Tag Manager<\/em> aus den Vorlagen.<\/li>\n<li>F\u00fcge in der Service-Vorlage alle Informationen hinzu, die du ben\u00f6tigst oder \u00e4ndern m\u00f6chtest.<\/li>\n<li>If you have already integrated Google Tag Manager on your website, make sure to activate the option &#8220;Create content blocker for this service&#8221; at the end of the service create form. After creating the service, you will be prompted to create a suitable content blocker, which you should create.<\/li>\n<\/ol>\n<div>\n<h2>Aktivierung der Einwilligungs\u00fcbersicht im Google Tag Manager<\/h2>\n<p>In the Google Tag Manager Container, we recommend that you activate the so-called &#8220;Consent Overview&#8221;. This allows you to efficiently assign the necessary consents to your tags in the Google Tag Manager interface. This is how you activate the feature:<\/p>\n<ol>\n<li class=\"translation-block\">\u00d6ffne die <a href=\"https:\/\/tagmanager.google.com\/\" target=\"_blank\" rel=\"nofollow noopener\">Acccount\u00fcbersicht im Google Tag Manager<\/a> und \u00f6ffne deinen Google Tag Manager Container.<\/li>\n<li class=\"translation-block\">Navigiere zu <em>Verwaltung &gt; Containereinstellungen<\/em>.<\/li>\n<li>In the opened dialog, activate the option &#8220;Enable consent overview&#8221;.<\/li>\n<\/ol>\n<\/div>\n<\/div><\/div><div class=\"g-cols wpb_row us_custom_70facfb4 via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-6 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager.png\" aria-label=\"O\u0308ffne die Containereinstellungen im Google Tag Manager\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"466\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager.png\" class=\"attachment-large size-large\" alt=\"O\u0308ffne die Containereinstellungen im Google Tag Manager\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager.png 2940w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager-326x168.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager-890x458.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager-18x9.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager-652x336.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/offne-die-containereinstellungen-im-google-tag-manager-1780x917.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><\/div><\/div><\/div><div class=\"vc_col-sm-6 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren.png\" aria-label=\"Einwilligungsu\u0308bersicht in Google Tag Manager aktivieren\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"332\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren.png\" class=\"attachment-large size-large\" alt=\"Einwilligungsu\u0308bersicht in Google Tag Manager aktivieren\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren.png 2938w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren-326x120.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren-890x328.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren-18x7.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren-652x240.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-in-google-tag-manager-aktivieren-1780x656.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><\/div><\/div><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Tags im Google Tag Manager nur nach Einwilligung ausl\u00f6sen<\/h2>\n<p>Der Google Consent Mode ist aktiviert, der Google Tag Manager ist in deine Website integriert und Rechtsgrundlagen wie die Einwilligung werden \u00fcbertragen. Das bedeutet, dass wir alle Voraussetzungen f\u00fcr das Ausl\u00f6sen von Tags erst dann auszuf\u00fchren, wenn die Einwilligung erteilt wurde.<\/p>\n<p>Im Folgenden erkl\u00e4ren wir, was du im Google Tag Manager f\u00fcr die Nutzung von Google Analytics konfigurieren musst, das wir in ein Tag im Google Tag Manager laden m\u00f6chten. Diese Vorgehensweise funktioniert mit jedem anderen Tag (auch mit jeder anderen Art von Tag, wie z. B. Event-Tracking oder Conversion-Linking) und Trigger, den du im Google Tag Manager erstellen kannst.<\/p>\n<ol>\n<li class=\"translation-block\">Gehe in deinem WordPress-Backend zu <em>Services (Cookies) &gt; Service hinzuf\u00fcgen<\/em> und erstelle einen Service, f\u00fcr den du eine Einwilligung einholen m\u00f6chtest. Im Fall von <em>Google Analytics<\/em> kannst du die vordefinierte Service-Vorlage verwenden.<\/li>\n<li class=\"translation-block\">Bei der Erstellung des Services findest du im Abschnitt \"Technische Handhabung\" eine neue Option \"Angefragte Einwilligungarten f\u00fcr Google Consent Mode\". Darin findest du den eindeutigen Bezeichner dieses Services als zus\u00e4tzliche Einwilligungsart. In diesem Beispiel hei\u00dft er <code>google-analytics-analytics-4<\/code>. Kopiere diesen Namen der Einwilligungsart!<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode.png\" aria-label=\"Eindeutiger Bezeichner als Einwilligungsart fu\u0308r Google Consent Mode\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"403\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode.png\" class=\"attachment-large size-large\" alt=\"Eindeutiger Bezeichner als Einwilligungsart fu\u0308r Google Consent Mode\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode.png 2940w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode-326x142.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode-890x387.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode-18x8.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode-652x283.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/eindeutiger-bezeichner-als-einwilligungsart-fur-google-consent-mode-1780x774.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><ol start=\"4\">\n<li class=\"translation-block\">Rufe jetzt deinen <a href=\"https:\/\/tagmanager.google.com\/\" target=\"_blank\" rel=\"nofollow noopener\">Google Tag Manager Container<\/a> auf und erstelle ein Tag und einen Trigger, als ob du <strong>kein<\/strong> Cookie Banner verwenden w\u00fcrdest. F\u00fcr Google Analytics erstelle ich ein Google Tag, das auf allen Seiten ausgel\u00f6st werden sollte.<\/li>\n<li>In the tag overview, you will now find a shield icon to open the &#8220;Consent Overview&#8221;. You can manage the consent settings of all created tags here.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen.png\" aria-label=\"Einwilligungsu\u0308bersicht im Google Tag Manager o\u0308ffnen\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"291\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen.png\" class=\"attachment-large size-large\" alt=\"Einwilligungsu\u0308bersicht im Google Tag Manager o\u0308ffnen\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen.png 2940w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen-326x107.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen-890x292.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen-18x6.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen-652x214.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/einwilligungsubersicht-im-google-tag-manager-offnen-1780x585.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><ol start=\"6\">\n<li>In the &#8220;Consent Overview&#8221; dialog, all created tags are grouped into &#8220;Consent Not Configured&#8221; and &#8220;Consent Configured&#8221;, depending on whether consent requirements have already been defined. Your Google Analytics tag should be in &#8220;Consent Not Configured&#8221;. Check the box next to it and then click on the shield with the gear icon at the top right of the table to configure the consent settings. You can also select several tags at the same time to change the consent settings for all selected tags in one step.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager.png\" aria-label=\"Auswahl von Tags in der Einwilligungsu\u0308bersicht von Google Tag Manager\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"332\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager.png\" class=\"attachment-large size-large\" alt=\"Auswahl von Tags in der Einwilligungsu\u0308bersicht von Google Tag Manager\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager.png 2938w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager-326x119.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager-890x325.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager-18x7.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager-652x238.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/auswahl-von-tags-in-der-einwilligungsubersicht-von-google-tag-manager-1780x649.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><ol start=\"7\">\n<li>Now that we have arrived in the &#8220;Consent Settings&#8221;, we need to configure when the tag is fired. In this case, &#8220;when&#8221; means for which service there is a legal basis (consent or legitimate interest). Google calls the permission to load a service &#8220;additional consent&#8221;. Consent for a purpose after Google Consent Mode, which is primarily required for Google services, is considered as &#8220;normal&#8221; consent. Therefore, you must select the option &#8220;Require additional consent for tag to fire&#8221; at this point and create a field by clicking on &#8220;+ Add required consent&#8221; and inserting the name of the additional consent type copied in step 2. Afterwards, save the setting!<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen.png\" aria-label=\"Zusa\u0308tzliche Einwilligung fu\u0308r Tags in Google Tag Manager festlegen\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"252\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen.png\" class=\"attachment-large size-large\" alt=\"Zusa\u0308tzliche Einwilligung fu\u0308r Tags in Google Tag Manager festlegen\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen.png 2940w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen-326x93.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen-890x254.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen-18x5.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen-652x186.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/zusatzliche-einwilligung-fur-tags-in-google-tag-manager-festlegen-1780x507.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p class=\"translation-block\">Wir haben konfiguriert, dass das Google Analytics Tag nur dann ausgel\u00f6st wird, wenn es eine rechtliche Grundlage (Einwilligung oder berechtigtes Interesse) f\u00fcr das Laden des Services mit dem eindeutigen Bezeichner <code>google-analytics-analytics-4<\/code> gibt.<\/p>\n<p class=\"translation-block\">Insbesondere bei den Google-Services solltest du beachten, dass du die Einwilligung f\u00fcr \"normale\" Einwilligungsarten (Zwecke) in deinem Cookie Banner einholen solltest. Wir haben dir in einem separaten Artikel erkl\u00e4rt, <a href=\"https:\/\/devowl.io\/de\/wissensdatenbank\/real-cookie-banner-google-consent-mode-einrichtung\/\" target=\"_blank\" rel=\"noopener\">wie du den Google Consent Mode konfigurierst<\/a>.<\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Konfiguration der Einwilligungen f\u00fcr Tags pr\u00fcfen<\/h2>\n<p>In the previous section, you learned how to fire a tag in Google Tag Manager only if you have consent to do so. To check whether the configuration is working correctly, let&#8217;s take a look at how you can check the configuration on your website.<\/p>\n<p>Wir f\u00fchren unser Beispiel fort, dass Google Analytics auf jeder Unterseite der Website geladen werden sollte, wenn es eine rechtliche Grundlage daf\u00fcr gibt.<\/p>\n<ol>\n<li>Navigate back to the overview of all tags in your Google Tag Manager container. At the top right, click on &#8220;Preview&#8221; to open Google Tag Assist and preview your website.<\/li>\n<li>Stimme nun allen Services im Cookie Banner auf deiner Website zu, damit auch der Google Tag Manager geladen wird und Google Tag Assist sich mit dem Vorschaufenster verbinden kann.<\/li>\n<li>In the Google Tag Assistant, you can see the events on the left-hand side. Here you should see two &#8220;Consent&#8221; events. The first transmits default settings before the cookie banner is displayed or before the consents already given have been read out (&#8220;On-page Default&#8221;). The second &#8220;Consent&#8221; event transmits the selection of the website visitor in the cookie banner (&#8220;On-page Update&#8221;). Click on the second &#8220;Consent&#8221; event and then switch to the &#8220;Consent&#8221; tab.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager.png\" aria-label=\"Tab &quot;Consent&quot; in Google Tag Assistent f\u00fcr Google Tag Manager\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"481\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-890x481.png\" class=\"attachment-large size-large\" alt=\"Tab &quot;Consent&quot; in Google Tag Assistent f\u00fcr Google Tag Manager\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-890x481.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-326x176.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-18x10.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-652x353.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/consent-tab-in-google-tag-assistent-for-google-tag-manager-1780x963.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><ol start=\"4\">\n<li class=\"translation-block\">Auf der Registerkarte \"Consent\" siehst du in gr\u00fcn mit \"Granted\", f\u00fcr welche Einwilligungsarten es eine Erlaubnis gibt (Einwilligung oder berechtigtes Interesse, dem nicht widersprochen wurde). In rot mit \"Denied\" siehst du dagegen, wenn es f\u00fcr eine Einwilligungsart keine Erlaubnis gibt. In unserem Beispiel haben wir in alle Services eingewilligt. Das bedeutet, dass wir auch in die Nutzung von Google Analytics eingewilligt haben. Folglich wird f\u00fcr die Einwilligungsart <code>google-analytics-analytics-4<\/code> \"Granted\" angezeigt.<\/li>\n<li>If you now switch to the view of all events of the page view (name of the browser tab in the left sidebar) and switch to the &#8220;Tags&#8221; tab, you should see that the Google Analytics tag has been fired.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager.png\" aria-label=\"Augel\u00f6ster Tag nach \u00dcbermittlung der Einwilligung mit dem Google Consent Mode im Google Tag Manager\" class=\"w-image-h\"><img decoding=\"async\" width=\"890\" height=\"458\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-890x458.png\" class=\"attachment-large size-large\" alt=\"Augel\u00f6ster Tag nach \u00dcbermittlung der Einwilligung mit dem Google Consent Mode im Google Tag Manager\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-890x458.png 890w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-326x168.png 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-18x9.png 18w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-652x336.png 652w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/fired-tag-after-transmitting-consent-with-google-consent-mode-in-google-tag-manager-1780x916.png 1780w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><ol start=\"6\">\n<li class=\"translation-block\">Abschlie\u00dfend kannst du zur Kontrolle diese Schritte noch einmal durchlaufen, aber die Einwilligung f\u00fcr alle Services <strong>au\u00dfer<\/strong> von Google Analytics im Cookie Banner erteilen. In diesem Fall sollte die Einwilligungsart <code>google-analytics-analytics-4<\/code> \"Denied\" sein und der Google Analytics Tag sollte <strong>nicht<\/strong> ausgel\u00f6st worden sein.<\/li>\n<\/ol>\n<p>Mit dem erkl\u00e4rten Verfahren kannst du den Tag in deinem Google Tag Manager nur dann ausl\u00f6sen, wenn du \u00fcber dein Cookie Banner auf deiner WordPress-Website die Einwilligung oder ein berechtigtes Interesse eingeholt hast. Nach der Konfiguration kannst du auch \u00fcberpr\u00fcfen, ob die Konfiguration wie erwartet funktioniert.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>","protected":false},"template":"","topic":[30],"class_list":["post-238563","knowledge-base","type-knowledge-base","status-publish","hentry","topic-common-issues-rcb"],"acf":[],"_links":{"self":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/238563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base"}],"about":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/types\/knowledge-base"}],"version-history":[{"count":46,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/238563\/revisions"}],"predecessor-version":[{"id":238690,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/238563\/revisions\/238690"}],"wp:attachment":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/media?parent=238563"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/topic?post=238563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}