NexCookie Documentation
Simple cookie consent management for modern websites
1. Add the Script
Add this script to your website's <head> section:
<script src="https://cdn.nexcookie.com/nexcookie.js" data-auto-init="true"></script>2. Done!
The banner automatically detects your domain and displays a GDPR-compliant consent form. No additional configuration required for basic use.
Automatic Features: Domain detection, HTTPS enforcement, consent storage, and GTM integration work automatically.
- GDPR & CCPA compliant cookie banner
- Google Consent Mode V2 integration
- Google Tag Manager support with per-domain configuration
- HTTPS-only banner display
- Automatic domain detection
- Stored consent with 365-day expiry
- Customizable banner appearance
- Multiple language support
- Essential / Functional / Analytics / Advertising consent categories
Banner Styling
Customize colors, position, and branding from the NexCookie dashboard under Banner Setup. Changes apply automatically to your domains.
GTM Configuration
Configure Google Tag Manager container IDs per-domain from the domain settings. Each domain can have its own GTM ID for proper analytics segmentation.
Download and install the official NexCookie WordPress plugin for the easiest setup. The plugin acts as a thin integration layer that loads the NexCookie script from our CDN.
Plugin Features
- • Simple enable/disable toggle in WordPress admin
- • No configuration needed - uses NexCookie CDN automatically
- • Banner appearance managed via NexCookie dashboard
- • Clean uninstall removes all plugin data
- Open your website in an incognito/private window
- Verify the cookie banner appears at the bottom of the page
- Open browser console (F12) to see "NexCookie:" initialization logs
- Test Accept All, Deny, and Manage Preferences buttons
- Confirm the banner doesn't reappear after making a choice
- Check that your GTM tags fire based on consent (if configured)