Cookie banner and consent management in Vue.js and Nuxt.
Set up CookieOfficer in your Vue.js app or Nuxt website with a single script. CookieOfficer blocks tracking tools until consent is given and passes the decision to Google Consent Mode v2.
Vue.js / Nuxt and cookie consent
Vue.js is a framework for building user interfaces, and Nuxt adds server-side rendering and a ready-made site structure to it.
The CookieOfficer script added in the page header covers every page of the app. You collect and store consent in CookieOfficer, without writing your own consent handling in the app.
Why choose CookieOfficer in Vue.js and Nuxt?
Fast, simple setup
- Set up with a script or through Google Tag Manager
- Automatic website scanning and cookie categorisation
- Ready-made cookie declaration in many languages
Banner customisation
- Adjust the colours, font and layout to your website's design
- Content in the visitor's language
- Dedicated banner display options for regions, e.g. GDPR in the EU, CCPA in California
Stay compliant without losing data
- Scripts blocked until the visitor decides
- Google Consent Mode v2 in Basic and Advanced mode
- User consent log
See which cookies and trackers
run on your website
Enter a URL and CookieOfficer will scan the website to see which cookies, trackers and other technologies store data on the visitor's device. You will also see which of them run before consent is given.
Choose a plan that fits your website
Start using CookieOfficer for free or choose a plan that matches the size of your website and the features you need. As your site grows, you can move to a higher plan and unlock more of the platform.
Related integrations
All integrationsFrequently asked questions about CookieOfficer in Vue.js and Nuxt
In the nuxt.config file, in the app.head settings, as the first script. In a Vue.js app without Nuxt, add it in the index.html file in the <head> section. Setting up CookieOfficer in SPA apps.
Yes. When you set it up with a script in the <head> section with automatic blocking switched on, Google Analytics, the Meta pixel and other tools wait for the visitor's decision. When you set it up through Google Tag Manager, you hold tools back in the container itself, through Google Consent Mode or through data layer events.
Yes. CookieOfficer passes the consent state to Google Analytics and Google Ads in Basic or Advanced mode, with no extra configuration.
The Free plan costs nothing and has no time limit. It covers one domain, scanning of up to 100 subpages, a cookie declaration and a consent log, with a limit of 5,000 pageviews per month. Paid plans remove the pageview limit, and their price depends on the number of subpages on your website. See pricing.
Yes. Add the CookieOfficer template to the container and set the required consents in your tags. Automatic blocking works with the script in the <head> section; with GTM, you hold tags back in the container itself. Setting up CookieOfficer with Google Tag Manager.
Take control of consent and cookies in Vue.js and Nuxt
Create an account, add the CookieOfficer script and start collecting user consent.