onza / cookieconsent Goto Github PK
View Code? Open in Web Editor NEWA simple cookie consent manager (opt-in)
Home Page: https://onza.github.io/CookieConsent/
License: MIT License
A simple cookie consent manager (opt-in)
Home Page: https://onza.github.io/CookieConsent/
License: MIT License
Language translation for "Options" in the settings dialog only works with e.g. <html lang="de">
, but not with <html lang="de-DE">
I am looking for a consent solution for Google Maps. How can I implement it?
By adding a manage cookies button people can go back and click deny, which would make it possible for people to revoke their consent.
Githubs projects without licenses are by default all rights reserved which means no one can legally use this code until a license is defined.
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
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?
I want to add Facebook Pixel and remove Youtube and Parot?
Also is it possible to put the settings inside the data policy page instead of popup window?
Thank you
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.