You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-24Lines changed: 29 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@ Let your users decide, which scripts should be loaded and executed while visitin
6
6
7
7
---
8
8
9
-
**!!! This is currently experimental code, please do not rely on any parts yet.**
10
-
11
9
**IMPORTANT: We are developers, no lawyers. Using this package without further adaptation will most likely NOT result in GDPR, ePrivacy nor CCPA compliance!**
12
10
13
11
---
@@ -18,11 +16,20 @@ Let your users decide, which scripts should be loaded and executed while visitin
18
16
composer require tms/consent
19
17
```
20
18
19
+
## What's included?
20
+
21
+
* Klaro Script + opinionated Klaro Config (override or use your own anytime)
22
+
* Klaro Config editing via `Settings.yaml` & predefined services
* Placeholder for blocked content elements (Fusion Component + JS)
25
+
* Consent settings button (Fusion Component + JS)
26
+
* Overrides for common Neos packages [`/Resources/Private/Fusion/PresetPackages`](https://github.com/tmsdev/Tms.Consent/tree/master/Resources/Private/Fusion/PresetPackages)
27
+
21
28
## Usage
22
29
23
-
### Step 1: App configuration via `YAML` settings
30
+
### Step 1: Service configuration via `YAML` settings
24
31
25
-
This package includes default consent management settings for these apps
32
+
This package includes default consent management settings for the following services. Enable them in your `Settings.yaml` or add your own services.
26
33
27
34
* Cloudflare
28
35
* Matomo
@@ -31,74 +38,72 @@ This package includes default consent management settings for these apps
31
38
* Youtube
32
39
33
40
```yaml
34
-
# Example configuration
41
+
# Example Tms.Consent configuration
35
42
Tms:
36
43
Consent:
37
44
config:
38
45
# The privacy policy uri can be specified by node type, path, identifier or simply an absolute/relative link
description: 'Short description, why your website use the app...'
75
+
name: yourServiceName
76
+
title: 'Your Service Title'
77
+
description: 'Short description, why your website use this service...'
68
78
purposes: ['functionality']
69
79
```
70
80
71
-
Think your app configuration is useful for others too?
72
-
Don't hesitate to submit a PR. All the app related configuration should be combined in one settings
73
-
file named like `Settings.Consent.YourAppName.yaml`.
81
+
Think your service configuration is useful for others too?
82
+
Don't hesitate to submit a PR. All the service related configuration should be combined in one settings
83
+
file named like `Settings.Consent.YourServiceName.yaml`.
74
84
75
85
### Step 2: Modify HTML
76
86
77
-
In order to control your configured apps (e.g. to stop loading and/or execution without consent) it is necessary to
87
+
In order to control your configured services (e.g. to stop loading and/or execution without consent) it is necessary to
78
88
modify the resulting HTML of your webpages.
79
89
80
90
This can be achieved by simply replacing some attributes - see https://github.com/KIProtect/klaro#managing-third-party-appstrackers
81
91
82
92
We try to provide preconfigured solutions for some common Neos packages, please have a look at [`/Resources/Private/Fusion/PresetPackages`](https://github.com/tmsdev/Tms.Consent/tree/master/Resources/Private/Fusion/PresetPackages)
83
-
what we've already covered. Your package is missing? Submit a PR, if you think the app configuration could be useful for others.
93
+
what we've already covered. Your package is missing? Submit a PR, if you think the service configuration could be useful for others.
84
94
85
95
### Step 3: Verify
86
96
87
-
Check your site - have you blocked all your critical apps?
97
+
Check your site - have you blocked all your critical services?
88
98
89
99
* by using the dev tools of your favorite browser
90
100
* or simply run a check on https://webbkoll.dataskydd.net/
91
101
92
102
## Wishlist
93
103
94
104
* Add multi-site support
95
-
* Make it work with lazyloaded elements
96
-
* Make apps sortable
97
-
* Placeholder for blocked content elements (like Youtube, Maps, etc.)
98
-
* Support more apps by default
99
105
* Backend module with some basic statistics on acceptance rate
100
106
* User location based configurations
101
-
* Additional layouts & styles
102
107
103
108
Any feedback, pull request or other contribution is very welcome!
0 commit comments