Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMaaarc committed Feb 14, 2024
1 parent 3f075c4 commit 90a7b4e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ Add `snippet('cookieconsentCss')` to your header and `snippet('cookieconsentJs')
'enabled' => true,
'readOnly' => true
],
'measurement' => []
'measurement' => [],
'functionality' => [],
'experience' => [],
'marketing' => []
],
'translations' => [
'de' => require_once(__DIR__ . '/translations/de.php'),
Expand All @@ -122,14 +125,15 @@ Categories that are predefined by this plugin:
| Name | Enabled | Description |
| ------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| necessary || The necessary cookies, can't be disabled by the user. |
| functionality | | Cookies for basic functionality and communication. |
| experience | | Cookies to improve the quality of the user experience and enable the user to interact with external content, networks and platforms. |
| functionality | | Cookies for basic functionality and communication. |
| experience | | Cookies to improve the quality of the user experience and enable the user to interact with external content, networks and platforms. |
| measurement || Cookies that help to measure traffic and analyze behavior. |
| marketing | | These cookies help us to deliver personalized ads or marketing content to you, and to measure their performance. |
| marketing | | These cookies help us to deliver personalized ads or marketing content to you, and to measure their performance. |

> Predefined means that there are translations in all languages for each category. The translations essentialy control which categories exist.
To enable/disable categories you can use the `categories` option of the plugin:
To enable/disable categories you can use the `categories` option of the plugin.
Be aware that disabling a category also requires you to update the translation files.

```php
'zephir.cookieconsent' => [
Expand Down

0 comments on commit 90a7b4e

Please sign in to comment.