Description
nuxt-cookiehub is the Nuxt module for CookieHub, our cookie consent platform. You add the module and your CookieHub domain id in nuxt.config and the consent dialog is loaded on the client. There's a useCookieHub() composable for checking consent reactively and opening the settings dialog, a few hooks for consent events, and components (CookieHubScript, CookieHubGA, CookieHubPixel, CookieHubYoutube) that keep scripts and embeds blocked until the visitor has consented. Nothing runs on the server, so SSR and nuxt generate work as normal.
We already publish react-cookiehub, this is the same integration for Nuxt.
Repository
https://github.com/cookiehub-com/nuxt-cookiehub
npm
https://www.npmjs.com/package/nuxt-cookiehub
Nuxt Compatibility
Nuxt 4
Description
nuxt-cookiehub is the Nuxt module for CookieHub, our cookie consent platform. You add the module and your CookieHub domain id in nuxt.config and the consent dialog is loaded on the client. There's a useCookieHub() composable for checking consent reactively and opening the settings dialog, a few hooks for consent events, and components (CookieHubScript, CookieHubGA, CookieHubPixel, CookieHubYoutube) that keep scripts and embeds blocked until the visitor has consented. Nothing runs on the server, so SSR and nuxt generate work as normal.
We already publish react-cookiehub, this is the same integration for Nuxt.
Repository
https://github.com/cookiehub-com/nuxt-cookiehub
npm
https://www.npmjs.com/package/nuxt-cookiehub
Nuxt Compatibility
Nuxt 4