GithubHelp home page GithubHelp logo

Comments (4)

tobias-kuendig avatar tobias-kuendig commented on May 23, 2024

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.

faselunare avatar faselunare commented on May 23, 2024

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.

tobias-kuendig avatar tobias-kuendig commented on May 23, 2024

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.

faselunare avatar faselunare commented on May 23, 2024

Thanks, it works now

from oc-gdpr-plugin.

Related Issues (20)

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.