2.0.0 • Published 7 months ago
@codesyntax/volto-cookiebot v2.0.0
volto-cookiebot
An addon to integrate Cookiebot 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:
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.