support home

Back to website
Welcome
Login  Sign up

React - Cookie Banner - Scripts not activated by when consent found

Hello,

I'm working on the integration of the Cookie Banner in a React app.

This is the configuration:

 

{
      askConsentAtCookiePolicyUpdate: true,
      countryDetection: true,
      enableFadp: true,
      enableLgpd: true,
      enableUspr: true,
      lgpdAppliesGlobally: false,
      perPurposeConsent: true,
      siteId: 'theid',
      whitelabel: false,
      cookiePolicyId: 'theid',
      lang: 'thelang',
      cookiePolicyUrl: 'theurl',
      privacyPolicyUrl: 'theurl',
      privacyPolicyNoticeAtCollectionUrl: 'theurl',
      forceSafeActivation: true,
      logLevel: 'debug',
      banner: {
        acceptButtonCaptionColor: '#000000',
        acceptButtonColor: '#FFFFFF',
        acceptButtonDisplay: true,
        closeButtonDisplay: false,
        customizeButtonDisplay: true,
        explicitWithdrawal: true,
        listPurposes: true,
        position: 'float-bottom-right',
        rejectButtonCaptionColor: '#FFFFFF',
        rejectButtonColor: '#000000',
        rejectButtonDisplay: true,
        showTitle: false,
      },
    }

 When the page loads Iubenda's code blocks every script even if the consent has been given and it doesn't activate them back anymore.

What are the possibile causes and solutions?

Thanks

  • By the way, these are the scripts I'm loading:


     

     https://cs.iubenda.com/autoblocking/thesiteid.js
     //cdn.iubenda.com/cs/gpp/stub.js
    https://cdn.iubenda.com/cs/stable/safe.js
    //cdn.iubenda.com/cs/iubenda_cs.js

     

Login or Signup to post a comment