Skip to content

[Module Listing Request]: nuxt-cookiehub #1616

Description

@Hinriks

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions