Comments (4)
Have you included all the JS dependencies? (October's AJAX framework)
Do you see any errors in your JS console. Do you see any http requests being sent to the backend? Does the backend return your analytics code (see network tab in devtools) when you accept the cookie?
from oc-gdpr-plugin.
Ok, thanks for that AJAX framework info, that made buttons work.
I was certain I put partial on layout but It was not there, so after adding it I can enable analytics if user presses Accept.
But, still in cookies page, analytics cookie is not selected by default and if visitor clicks advanced settings from consent bar and does nothing on cookies page, then consent bar disappears and analytics cookie will not be enabled.
If I press Accept on consent bar and then go to cookies page, it shows that analytics cookie is enabled and analytics works.
from oc-gdpr-plugin.
But, still in cookies page, analytics cookie is not selected by default and if visitor clicks advanced settings from consent bar and does nothing on cookies page, then consent bar disappears and analytics cookie will not be enabled.
That's how GDPR specifies it. If you select "advanced settings" you want to configure what cookies are set, you don't give consent to set all the cookies.
Only the "accept" button will enable all default cookies. Every other action does nothing.
from oc-gdpr-plugin.
Ok, If thats how GDPR has to work then I have everything working, thanks for all the help :)
from oc-gdpr-plugin.
Related Issues (20)
- Menu item "cookies" appears then disappears HOT 1
- Language HOT 1
- .remove unsupported on IE11 HOT 1
- Error installing with artisan command
- version.yaml syntax error HOT 2
- Remove inline onclick in components/cookiebanner/dismiss.htm HOT 2
- Twig partial import: Fileextension js is invalid HOT 1
- Install from backend throws error: A package name was not specified HOT 2
- v2.2.11: Error when Translate plugin is not installed HOT 1
- Throw error when Translate plugin enabled with 2 languages. HOT 2
- Banner is displayed only once, html is escaped HOT 7
- Illegal string offset 'is_default_level' HOT 1
- Conflict with Vdlp.csrf plugin HOT 1
- CookieBanner not working HOT 4
- Custom notification message
- Too short DB field 'useragent' HOT 1
- After acceptance non-relevant cookies are written only after manual refresh HOT 1
- Cookie Manager: Text is not escaped HOT 2
- Overriding language in app\lang folder not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-gdpr-plugin.