Giter Club home page Giter Club logo

module-cookiebot-m2's People

Contributors

a-t-s avatar borisovskip avatar edvardssw avatar iranimij avatar mam08ixo avatar norgeindian avatar sprankhub avatar wilfriedwolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

module-cookiebot-m2's Issues

Use Script For Manual Mode

As confirmed by the Cookiebot support, the automatic cookie blocking mode does not work with RequireJS and therefore does not work with Magento 2. Hence, we need to use the script for the manual mode.

Manual Cookiebot Mode

Just to be clear:
Do I need to add the cookie-group manually in the magento2 code for every script, that might set a cookie and/or does the scanreport give me some clues, what scripts are affected?
To search for every script that might set cookies sounds awful (I know, that is not the fault of this extention).

Why is the module implementation different from the recommended one?

I've successfully installed and configured the module on a Magento ver. 2.3.5-p2 project. After loading any page the cookiebot overlay was not rendered. Looking into the page source I found a single script tag similar to the following:

<script id="Cookiebot" 
        data-cfasync="false" 
        src="https://consent.cookiebot.com/uc.js" 
        data-cbid="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 
        data-culture="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 
        type="text/javascript" 
        async
>
</script> 

I have followed all installation steps in the module's documentation (https://github.com/customgento/module-cookiebot-m2#installation).

In the module's documentation (https://github.com/customgento/module-cookiebot-m2#readme) the implementation consists in adding two script tags (module-cookiebot-m2 produces a single script tag):

  • one right before the HEAD tag is rendered
  • one at the exact position where you would like the Cookie Declaration to appear.
    I've disabled module-cookiebot-m2 and tested the recommended implementation and the cookiebot overlay was correctly displayed.

Please note that I have correctly listed the domain in the cookiebot management interface and configured it with the correct Cookiebot Domain Group ID. Also, Cookie-blocking mode is set to manual.

I'm a bit confused at this point because I'm thinking you had a good reason for implementing the module as you did so maybe I'm missing something here.

Can you please assist?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.