<?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: Consent banner blocks script in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948337#M38463</link>
    <description>&lt;P&gt;Could you provide more information on how the script was placed? i.e. is it placed in the templates in Design Manager or in the header/footer in Website Settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, a link to the website would help be helpful for troubleshooting as well if you don't mind sharing that.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 13:57:47 GMT</pubDate>
    <dc:creator>evaldas</dc:creator>
    <dc:date>2024-03-22T13:57:47Z</dc:date>
    <item>
      <title>Consent banner blocks script</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/947851#M38448</link>
      <description>&lt;P&gt;We have a script running on our cms website, that opens a sidebar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But after the decline decission the script gets blocked, this only works after consenting the cookies. This has nothing to do with cookies or tracking, how can we fix this ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 19:32:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/947851#M38448</guid>
      <dc:creator>Elty</dc:creator>
      <dc:date>2024-03-21T19:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Consent banner blocks script</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/947974#M38454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/579578"&gt;@Elty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your script for opening a sidebar implemented via Google Tag Manager by chance?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 00:07:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/947974#M38454</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2024-03-22T00:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Consent banner blocks script</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948110#M38458</link>
      <description>&lt;P&gt;nope, they arent. Its a script loaded by another script and so on. Its a Jquery script and keeps loading in other scripts if needed but no external scripts all self written.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 07:49:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948110#M38458</guid>
      <dc:creator>Elty</dc:creator>
      <dc:date>2024-03-22T07:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Consent banner blocks script</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948337#M38463</link>
      <description>&lt;P&gt;Could you provide more information on how the script was placed? i.e. is it placed in the templates in Design Manager or in the header/footer in Website Settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, a link to the website would help be helpful for troubleshooting as well if you don't mind sharing that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 13:57:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948337#M38463</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2024-03-22T13:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Consent banner blocks script</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948483#M38470</link>
      <description>&lt;P&gt;Just making a note that we chatted through DM and the scripts are loaded through requirejs.config in a template/partial.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;requirejs.config({
  urlArgs: "v={{ version }}", 
  paths: {
    jquery: 'https://code.jquery.com/jquery-x.x.x.min',
    slick: 'https://cdn2.hubspot.net/hubfs/xxxxxxx/slick.min',
    tabs: '{{ get_public_template_url( 'xxxxxxx/tabs.js') | cut('.js') }}',
     // etc.......
  }) ;

requirejs (['app']);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The HubSpot cookie consent should not be interfering with this kind of setup (i.e. not loading scripts, such as "slick.min.js") and there might be something else going on - unless I am missing something.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not familiar enough with this to advise further - tagging&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;in case you have any insight.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 17:12:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Consent-banner-blocks-script/m-p/948483#M38470</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2024-03-22T17:12:15Z</dc:date>
    </item>
  </channel>
</rss>

