Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codesyntax/volto-cookiebot
https://github.com/codesyntax/volto-cookiebot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codesyntax/volto-cookiebot
- Owner: codesyntax
- Created: 2022-11-16T13:18:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T14:41:17.000Z (10 months ago)
- Last Synced: 2024-11-05T00:35:13.155Z (2 months ago)
- Language: JavaScript
- Size: 3.09 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-volto - volto-cookiebot - [CookieBot](https://www.cookiebot.com/) integration package for Volto. CookieBot is a comercial service to comply with the so-called "cookie-law", asking user content before loading any third-party cookie. (Addons)
README
# volto-cookiebot
An addon to integrate [Cookiebot](https://www.cookiebot.com/es/) in a Volto site
## Installation
Add `@codesyntax/volto-cookiebot` to your project dependencies and to the `addons` list.
## Configuration
Set your cookiebot project id in the volto settings:
```jsx
const applyConfig = (config) => {config.settings = {
...config.settings,
cookiebotDomainGroupId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
};return config;
};
export default applyConfig;```
Cookiebot will be added to your site using the `appExtras` mechanism of Volto.
## Coookie declaration page
This addon also provides a Block that renders the cookie declaration page that is created automatically by Cookiebot. You can add it wherever your site needs to have the cookie declaration page.