You can generate Cloudflare Workers code to insert Cookiebot script into your website.
Public app:
https://cookiebot.classmethod.cf/
You can read more details in our blog posts:
- EN: https://dev.classmethod.jp/articles/cookiebot-easy-install-tool-with-cloudflare-workers/
- JA(日本語): https://dev.classmethod.jp/articles/cookiebot-by-cloudflare-workers/
You can make it work on your local, too.
- Clone the repository
cd ~/app_repository
npm install
npm run build
npm run start
- Or you can upload
dist
to a hosting service like Cloudflare Pages.
Now all set! You can start using Cookiebot installer on your local!