Skip to content

borisrch/simple-gdpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleGDPR

Documentation

Full documentation and demo can be found here.

Introduction

SimpleGDPR is a lightweight and easy-to-use GDPR consent plugin. It features:

  • Simple API
  • Built in themes
  • Customizable via CSS
  • Mobile ready
  • No dependencies

Installation:

npm:

npm install simple-gdpr

import SimpleGDPR from 'simple-gdpr';

Basic Usage:

const notice = new SimpleGDPR({ 
  title: 'We use cookies!',
  callback: () => { 
    analytics.start(); 
    notice.close(); 
  },
  link: 'privacypolicy.html',
}

View the docs for details on all of the options you can supply to customize tooltips to suit your needs.

About

lightweight and simple gdpr solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published