Coder Social home page Coder Social logo

onza / cookieconsent Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 704 KB

A simple cookie consent manager (opt-in)

Home Page: https://onza.github.io/CookieConsent/

License: MIT License

CSS 14.62% JavaScript 71.08% SCSS 14.30%
cookies cookie-consent javascript law cookie gdpr dsgvo consent-management eprivacy opt-in

cookieconsent's People

Contributors

dependabot[bot] avatar onza avatar robindanzinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cookieconsent's Issues

Language translation

Language translation for "Options" in the settings dialog only works with e.g. <html lang="de">, but not with <html lang="de-DE">

Google Maps

I am looking for a consent solution for Google Maps. How can I implement it?

Tag manager events

Hi @robindanzinger @onza

I am back again with a new question, In order to implement an event in the page I have to include this script in the head section

    <script async src="https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxx"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', 'G-xxxxxxxxxx');
    </script>

After that i am able to add the window.gtag('event', .....)

Doing this the user will not be able to opt-out even if they did it will still track because the script will load whenever the page load.
any idea how i can include that in the cookieconsent.js?

thank you

How to confirm if deny is working ?

Hi again,
When i click on deny i see the website still tracking me?
How i know if deny is working ? do i need to make some changes to the original code?

Uncaught SyntaxError: Unexpected token '<'

Hi,

I have a problem when i deploy the React app or Razzle with lib folder. I place the lib in the public folder, included the script in the html pages. It is working fine when i run the app locally but after deploying the app to Vercel, i get the error above. even thought the file cookieconsent and polyfills are javascript. I still don`t know why it doesnt work.

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.