<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to install Google consent mode?]]></title><description><![CDATA[<p dir="auto">To collect valuable insights while protecting your users' privacy, you need to obtain consent from your website visitors. We recommend using a Consent Management Platform (CMP). I understand that AppDrag offers a module that uses the Osano module. I installed this module which displays a consent banner for my innovation-interieur-ea9cab project. Now I need to access the Osano code to get the code to appear in Google Tag Manager. Where can I find this code?</p>
<p dir="auto">Google info: <a href="https://support.google.com/google-ads/answer/14563171" rel="nofollow ugc">https://support.google.com/google-ads/answer/14563171</a></p>
]]></description><link>https://community.appdrag.com/topic/1428/how-to-install-google-consent-mode</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 07:26:34 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/1428.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jul 2024 14:08:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to install Google consent mode? on Wed, 24 Jul 2024 10:29:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/76">@mj-lamouret</a> said in <a href="/post/5071">How to install Google consent mode?</a>:</p>
<blockquote>
<p dir="auto">innovation-interieur-ea9cab</p>
</blockquote>
<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/76">@MJ-LAMOURET</a><br />
Please check this documentation:<br />
<a href="https://www.osano.com/cookieconsent/documentation/javascript-api/" rel="nofollow ugc">https://www.osano.com/cookieconsent/documentation/javascript-api/</a></p>
<p dir="auto">This will help you to modify the Cookie consent block that you added in the footer:<br />
<img src="/assets/uploads/files/1721816842837-ce7b0acc-8010-4c49-a389-96ca87ad9b25-image.png" alt="ce7b0acc-8010-4c49-a389-96ca87ad9b25-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">you will need to add your code after the user has consented:</p>
<pre><code> onStatusChange: function(status) {
     console.log(this.hasConsented() ?
      'enable cookies' : 'disable cookies');
    },
</code></pre>
]]></description><link>https://community.appdrag.com/post/5072</link><guid isPermaLink="true">https://community.appdrag.com/post/5072</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Wed, 24 Jul 2024 10:29:13 GMT</pubDate></item></channel></rss>