Overview for Nuxt
Load third-party tools only after consent, with a ready-made integration or your own.
An integration loads a third-party tool only after the visitor grants its category, and stops it again when consent is withdrawn. You add it once, to cookieyes.integrations in app/app.config.ts; no consent checks in your own code. Every ready-made integration comes from one extra package:
npm install @cookieyes/scriptsPick your tool:
Ahrefs Web Analytics
Load Ahrefs only after analytics consent.
Google Analytics 4
Load GA4 and keep its Consent Mode signals up to date.
Google Tag Manager
Load your container and keep its Consent Mode signals up to date.
Google Ads
Load conversion tracking and keep its Consent Mode signals up to date.
Hotjar
Load Hotjar only after analytics consent.
Matomo
Load Matomo only after analytics consent, or count visits cookie-free until then.
Meta Pixel
Load the pixel only after advertising consent.
Microsoft Advertising
Load the UET tag only after advertising consent, with Microsoft's consent signal.
Microsoft Clarity
Load Clarity only after analytics consent.
Mixpanel
Load Mixpanel only after analytics consent, or keep it silent until then.
PostHog
Turn PostHog capture on and off with consent.
Segment
Load Segment only after analytics consent.
TikTok Pixel
Load the pixel only after advertising consent, with TikTok's consent signal.
Using Google Analytics, Google Ads or Tag Manager? Google reads consent through its own Consent Mode. Add its default snippet first: Google Consent Mode v2.
Tool not listed? Custom integration loads any script after consent in a few lines.