Comments (6)
Ahhh. No, didn't set this to active. Thought this would mean that the cookie is always active (even without giving consent). Maybe I was misleaded by the copy "Have turned on at Start-up. This cookie is enabled by default".
So now it's working as excepted. Solution only one click ;) Thank you very much Tobias. Really appreciated and keep up the good work.
from oc-gdpr-plugin.
This looks like your updatePartial and updateSelector values are wrong. Check what is in those variables:
https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/blob/develop/components/cookiebanner/optin.htm#L8
Defaults:
[cookieBanner]
include_css = 1
update_partial = "gdpr"
update_selector = "#gdpr-reload"
from oc-gdpr-plugin.
Thanks for the quick reply.
updatePartial and updateSelector should be ok.
When I activate the flag "Required for the Website to Function and Work" in my cookie group, the code in the conditional in the gdpr partial is shown (which is odd as we do not want a required cookieGroup here, that can't be revoked on the cookies page) .
gdpr:
{% if gdprCookieAllowed('matomo') %}
<h1>Allow Matomo Cookies // add js <h1>
{% endif %}
Refer to
where the cookieGroup must be required.Any advise on this? Is it a misconfiguration or am I just blind to see the problem?
from oc-gdpr-plugin.
Setting a cookie as required means that it will always be enabled, even without a user's consent. This is for things like October's session cookie. These cookies are allowed to be included without consent if they are absolutely required for the page to work correctly.
Your Matomo cookie is not a required cookie. It should only be added if the user accepts it.
Might this be the missunderstanding or do I not understand your question correctly?
from oc-gdpr-plugin.
The differences between the cookies required for the page to work correctly and additional cookies is clear to me.
The problem still persists that for those not mandatory cookies the conditional {% if gdprCookieAllowed('matomo') %}
somehow returns false and the soft reload is not happening and no cookie code is applied.
Do you mind to check this on our dev site [url removed]?
The plugin is awesome, we only need to get it working :) Thank you very much!
from oc-gdpr-plugin.
It looks like you currently only have one cookie registered:
http://hella-bulbs.trustpb.de/en/cookies
Do you have its initial state set to active?
from oc-gdpr-plugin.
Related Issues (20)
- Menu item "cookies" appears then disappears HOT 1
- Issue? HOT 4
- 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.