<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1100618#M79917</link>
    <description>&lt;P&gt;An easier way would be to&amp;nbsp;&lt;SPAN&gt;also look at cookie banner solutions that are much simpler to implement.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;They're called&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.ketch.com/blog/posts/consent-management" target="_blank" rel="noopener nofollow noreferrer"&gt;consent management platform&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;(CMP). You can start with&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.ketch.com/ketch-free-cookie-banner" target="_blank" rel="noopener nofollow noreferrer"&gt;free CMP&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;solutions first for instance&lt;/SPAN&gt;&lt;SPAN&gt;. Just sharing this out there. Hope this helps, and good luck!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 15:21:33 GMT</pubDate>
    <dc:creator>StephaneLM</dc:creator>
    <dc:date>2025-01-28T15:21:33Z</dc:date>
    <item>
      <title>Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1084478#M78973</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I followed the instructions on &lt;A href="https://developers.hubspot.com/beta-docs/reference/api/analytics-and-events/cookie-banner/google-consent-mode#integrate-google-consent-mode-v2-with-google-tag-manager" target="_blank" rel="noopener"&gt;this hubspot documentation&lt;/A&gt; to use Google Consent mode v2 with Hubspot's cookie banner. However, there is an additional consent update firing, enabling consent before the Hubspot cookie banner has been rendered or interacted with.&amp;nbsp; See image below from Tag Assistant:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-17 at 13.39.29.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/134136i26414CA36CF53002/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-17 at 13.39.29.png" alt="Screenshot 2024-12-17 at 13.39.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the script I inserted in the head tag just before the GTM script is fired:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-17 at 13.43.25.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/134137i6B4123C920A88721/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-17 at 13.43.25.png" alt="Screenshot 2024-12-17 at 13.43.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to remove that unwanted consent update. Can anyone tell me why its being fired?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 13:47:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1084478#M78973</guid>
      <dc:creator>toddpadwick</dc:creator>
      <dc:date>2024-12-17T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1084717#M78989</link>
      <description>&lt;P&gt;Hi, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/137089"&gt;@toddpadwick&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question and for including your details. This helps our community members have more context and know where/if they can assist you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;@Anonymous&lt;/a&gt;&lt;/SPAN&gt; &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;&lt;/SPAN&gt; &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/189123"&gt;@CHawkins&lt;/a&gt;&lt;/SPAN&gt; do you have any GTM wisdom you can share with &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/137089"&gt;@toddpadwick&lt;/a&gt;&lt;/SPAN&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking a look!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 21:04:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1084717#M78989</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-12-17T21:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1091187#M79320</link>
      <description>&lt;P&gt;Anyone able to help with this? I've checked with a chrome plugin and confirm the consent mode is incorrect. see screenshot of consent mode values before the hubspot cookie banner is interacted with:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-08 at 13.01.45.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/135398i56BDA59241E59CCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-08 at 13.01.45.png" alt="Screenshot 2025-01-08 at 13.01.45.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:08:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1091187#M79320</guid>
      <dc:creator>toddpadwick</dc:creator>
      <dc:date>2025-01-08T13:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1091218#M79323</link>
      <description>&lt;P&gt;I have found the problem. It is an error in Hubspot's documentation. They have used UK as the code in the region list for EU, however, that is not the official ISO code - it should be GB.&amp;nbsp;&lt;BR /&gt;I have updated this and confirm it works.&amp;nbsp;&lt;BR /&gt;Can someone get the documentation on this page amended?&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/reference/api/analytics-and-events/cookie-banner/google-consent-mode" target="_blank"&gt;https://developers.hubspot.com/docs/reference/api/analytics-and-events/cookie-banner/google-consent-mode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 14:12:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1091218#M79323</guid>
      <dc:creator>toddpadwick</dc:creator>
      <dc:date>2025-01-08T14:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Cookie banner with Google consent v2 and GTM. Consent is granted before banner</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1100618#M79917</link>
      <description>&lt;P&gt;An easier way would be to&amp;nbsp;&lt;SPAN&gt;also look at cookie banner solutions that are much simpler to implement.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;They're called&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.ketch.com/blog/posts/consent-management" target="_blank" rel="noopener nofollow noreferrer"&gt;consent management platform&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;(CMP). You can start with&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.ketch.com/ketch-free-cookie-banner" target="_blank" rel="noopener nofollow noreferrer"&gt;free CMP&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;solutions first for instance&lt;/SPAN&gt;&lt;SPAN&gt;. Just sharing this out there. Hope this helps, and good luck!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 15:21:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Cookie-banner-with-Google-consent-v2-and-GTM-Consent-is/m-p/1100618#M79917</guid>
      <dc:creator>StephaneLM</dc:creator>
      <dc:date>2025-01-28T15:21:33Z</dc:date>
    </item>
  </channel>
</rss>

