Comments (4)
Could you post the whole klaroConfig
variable from your website's source code? Would it be possible that you have a syntax error in the translations
json you've entered in the backend?
from oc-gdpr-plugin.
yes, this is the code
<script>
--
| var klaroConfig = {
| elementID: 'oc-gdpr-klaro',
| cookieName: 'oc-gdpr-klaro',
| cookieExpiresAfterDays: 30,
| privacyPolicy: '/privacy',
| default: false,
| mustConsent: false,
| lang: 'en',
| translations: {
| it: {
| consentModal: {
| description:
| 'Here you can see and customize the information that we collect about you. Entries marked as "Example" are just for demonstration purposes and are not really used on this website.',
| },
| inlineTracker: {
| description: 'Example of an inline tracking script',
| },
| externalTracker: {
| description: 'Example of an external tracking script',
| },
| adsense: {
| description: 'Displaying of advertisements (just an example)',
| },
| matomo: {
| description: 'Collecting of visitor statistics',
| },
| camera: {
| description:
| 'A surveillance camera (just a silly example for an IMG tag)',
| },
| cloudflare: {
| description: 'Protection against DDoS attacks',
| },
| intercom: {
| description:
| 'Chat widget & collecting of visitor statistics (just an example)',
| },
| mouseflow: {
| description: 'Real-Time user analytics (just an example)',
| },
| googleFonts: {
| description: 'Web fonts hosted by Google',
| },
| purposes: {
| analytics: 'Analytics',
| security: 'Security',
| livechat: 'Livechat',
| advertising: 'Advertising',
| styling: 'Styling',
| }
| },
| apps: [
| ]}</script>
from oc-gdpr-plugin.
Please check the translations object you have entered in the backend. You are missing a closing }
in there (probably on the purposes
key)
from oc-gdpr-plugin.
Thanks, it works now
from oc-gdpr-plugin.
Related Issues (20)
- Can't set closure for GDPR cleanup
- How to disable switch if cookie required? 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
- Cookie Banner not shown due to Ad Blocker Browser Extensions HOT 3
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.