NexCookie Documentation

Simple cookie consent management for modern websites

Quick Start
Add cookie consent to your website with a single script tag

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.

Features
What NexCookie provides out of the box
  • 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
Customization
Customize banner appearance from your dashboard

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.

Native WordPress Integration
One-click WordPress plugin installation

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.

Download WordPress PluginVersion 1.0.0 · ZIP archive

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
Verification
Test that the banner is working correctly
  1. Open your website in an incognito/private window
  2. Verify the cookie banner appears at the bottom of the page
  3. Open browser console (F12) to see "NexCookie:" initialization logs
  4. Test Accept All, Deny, and Manage Preferences buttons
  5. Confirm the banner doesn't reappear after making a choice
  6. Check that your GTM tags fire based on consent (if configured)