lundco / silverstripe-gdpr-cookies
Control which cookies/services gets loaded when user enters website, to make it GDPR compliant
Installs: 616
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 4
Open Issues: 8
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ~4.0
- dev-master
- 3.1.x-dev
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.1
- 3.0
- 2.0.2
- 2.0.1
- 2.0
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- v1.4
- v1.3
- v1.2
- v1.1
- v1.0
- dev-dependabot/npm_and_yarn/minimist-and-minimist-and-mkdirp-1.2.8
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/minimatch-and-gulp-3.0.4
- dev-ss3
- dev-newLayout
This package is auto-updated.
Last update: 2024-11-28 10:51:23 UTC
README
Silverstripe GDPR Cookies is a module which enables you to controle which cookies and external services should be loaded into the webpage, and gives to website visitor control over what they want to be loaded to make the website GDPR compliant.
Installation
composer require lundco/silverstripe-gdpr-cookies
Alternatively simply download the zip file from github. After installation run dev/build?flush=1 on your project.
Display cookiemessage & privacycenter
To display cookiemessage include $CookiePopup
on your .ss base template (Page.ss)
Requirements
- Silverstripe CMS ^4.0
Configuration
The configuration of the module is done using the config.yml.
Setting google tag manager id
To set the Google tag manager id use TagID
Setting cookie list
The cookies are divided into 4 different types
- Strictly (Like use login cookies)
- Performance (Like Google Analytics)
- Technical (Like Drift)
- Targeting (Like AdWords, Facebook pixel etc.)
So when done your config.yml should have something like this, where Cookiename is the name of the cookie, like Google Analytics:
PrivacyCenter:
TagID:
- 'GTM-XXXXXXX'
StrictlyCookies:
- 'Session cookies'
PerformanceCookies:
- 'Google Analytics'
TechnicalCookies:
- 'Interkom'
TargetingCookies:
- 'Facebook Pixel'
- 'Google AdWords'
Setting up Google Tag Manager
COMMING
Translations
The plugin will be delivered with english as base language and a danish language file. If you create additional language files please feel free to share them with us. We will be happy to include them in the repository.