🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Nivaj Cookie Consent icon
Maintained Tested with WP 7.1 #76 in cookie banner

Nivaj Cookie Consent

GDPR-compliant cookie consent with category-based consent, script blocking, GTM, consent logging, and customizable banner.

Active installs10+10+ tier
Downloads · 30d70▲ +16.7% vs prev. 30d
Rating5/51 reviews
Health score52/100Fair
All-time downloads462Since Mar 2026
Support resolved0 / 10% in last 2 months
RequiresWP 5.8PHP 7.4+
Downloads · 7d12▼ -45.5% week over week
Our verdict

Use with caution

Nivaj Cookie Consent works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites, is rated 5/5 and was last updated 3 months ago, and scores 52/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Sep 3Oct 17Dec 1
Yesterday3
Daily average (1y)2
Peak day25Mar 30, 2026
Last 12 months468

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Nivaj Cookie Consent stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cookie banner >100 1,617 Best cookie banner plugins →
cookie compliance #74 1,037 Best cookie compliance plugins →
cookie consent #76 1,853 Best cookie consent plugins →
GDPR >100 4,264 Best GDPR plugins →
privacy >100 10,000 Best privacy plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Nivaj Cookie Consent

From the official readme · v1.0.2

Description

Nivaj Cookie Consent provides a complete cookie consent management solution for WordPress. It helps you comply with GDPR, CCPA, and other privacy regulations by giving visitors full control over cookie categories.

Features

  • Category-based consent: Necessary, Analytics, Marketing, and Functional categories (customizable)
  • Auto script blocking: Blocks scripts and iframes until the user consents to the appropriate category
  • Google Tag Manager: Built-in GTM container injection with consent integration
  • Google Consent Mode v2: Sends consent signals (ad_storage, analytics_storage, etc.) via dataLayer
  • DataLayer events: Custom events fired on consent changes for tag management
  • Consent logging: GDPR-compliant records with SHA-256 hashed IP and user agent
  • CSV export: Export consent log records for compliance audits
  • Cookie scanner: Detects cookies on your site and auto-categorizes 50+ known cookies
  • Analytics dashboard: Consent statistics with daily charts and category acceptance rates
  • Customizable banner: Position, colors, typography, button styles, and layout options
  • Shortcode: [nivaj_cookie_preferences] to place a cookie preferences button anywhere
  • Privacy policy snippet: Auto-generates a cookie table for your privacy policy page
  • Lightweight: Vanilla JavaScript with no jQuery dependency on the frontend
  • Accessible: ARIA attributes, keyboard navigation, and focus management
  • Multisite support: Independent settings and consent log per site

How It Works

  1. Install and activate the plugin.
  2. Go to Cookie Consent > Settings to configure banner text, categories, and integrations.
  3. Customize the banner appearance under Cookie Consent > Appearance.
  4. Define script blocking patterns under Cookie Consent > Scripts.
  5. Run the Cookie Scanner to detect cookies on your site.
  6. Monitor consent activity on the Cookie Consent > Dashboard.

Shortcode

Use [nivaj_cookie_preferences] to add a “Cookie Preferences” button anywhere on your site.

Attributes:

  • text – Button label (default: “Cookie Preferences”)
  • class – Additional CSS class

Example: [nivaj_cookie_preferences text="Manage Cookies" class="my-btn"]

Privacy

This plugin stores consent preferences in a browser cookie on the visitor’s device. When consent logging is active, IP addresses and user agents are stored as one-way SHA-256 hashes combined with the WordPress salt, making them non-reversible. No personal data is shared with external services by this plugin itself. See the “External services” section below for details on optional Google integrations.

External services

This plugin optionally connects to external services when the site administrator explicitly enables them. No external connections are made by default.

Google Tag Manager

When the administrator enables Google Tag Manager under Cookie Consent > Settings and provides a GTM container ID, this plugin loads the Google Tag Manager script from Google’s servers.

What it does: Loads a tag management container that can manage analytics, marketing, and other scripts on the site.
When it connects: On every frontend page load, only when GTM is enabled and a valid container ID (GTM-XXXXXXX) is configured.
Data sent: The GTM container ID is sent to Google’s servers to retrieve the container script. No personal visitor data is sent by this plugin directly; however, the loaded GTM container may collect data based on its own configuration.

Google Consent Mode v2

When the administrator enables Google Consent Mode under Cookie Consent > Settings, this plugin sends consent signals to Google services via the browser’s dataLayer.

What it does: Communicates the visitor’s consent status (granted or denied) for ad storage, analytics storage, and personalization to Google services already running on the site.
When it connects: Consent default signals are set on page load. Consent update signals are sent when a visitor interacts with the cookie banner. This does not load any additional external scripts.
Data sent: Consent status values (granted/denied) for: ad_storage, ad_user_data, ad_personalization, analytics_storage, functionality_storage, personalization_storage, security_storage.

Cookie Scanner (local only)

The Cookie Scanner feature makes an HTTP request to your own site’s homepage to detect cookies and scripts. It does not connect to any external service.

Installation

  1. Upload the nivaj-cookie-consent folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Navigate to Cookie Consent > Settings to configure the plugin.

Changelog

1.0.2

  • Remove custom CSS feature (arbitrary CSS insertion not permitted per wp.org guidelines).
  • Sanitize and validate cookie JSON data with structure checking in get_consent_from_cookie().
  • Sanitize $_SERVER[‘HTTP_USER_AGENT’] with sanitize_text_field() before hashing.
  • Sanitize individual consent cookie fields (version, timestamp, categories) instead of returning raw decoded JSON.

1.0.1

  • Use wp_add_inline_script() for GCM and GTM scripts instead of inline script tags.
  • Add explicit output buffer closing for script blocker.
  • Add External services section to readme for Google GTM and GCM documentation.
  • Remove inline JavaScript event handlers for WordPress coding standards compliance.
  • Fix shortcode parameter type handling to prevent fatal errors.
  • Remove Domain Path header (unnecessary since WordPress 4.6).

1.0.0

  • Initial release.
  • Category-based cookie consent with customizable banner.
  • Auto script and iframe blocking.
  • Google Tag Manager integration.
  • Google Consent Mode v2 support.
  • DataLayer custom events for consent tracking.
  • Consent logging with hashed PII and CSV export.
  • Cookie scanner with 50+ known cookie database.
  • Analytics dashboard with daily charts and category rates.
  • Advanced appearance customization.
  • [nivaj_cookie_preferences] shortcode.
  • Consent version warning in admin.
  • REST API endpoints for consent management.
  • Multisite support.

Full changelog on WordPress.org →

Screenshots

Nivaj Cookie Consent screenshot
Nivaj Cookie Consent screenshot
Nivaj Cookie Consent screenshot
Nivaj Cookie Consent screenshot

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Nivaj Cookie Consent alternatives

All cookie banner plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Complianz GDPR/CCPA Cookie Consent Banner Complianz GDPR/CCPA Cookie Consent Banner Publish your cookie banner or notice in minutes. Automatically scan cookies, and create… by Complianz 1M+ ★★★★★★★★★★ 4.7 (1.7K) 6 days ago 90
2 CookieYes – Cookie Banner, Cookie Consent & Cookie Notice for GDPR/CCPA CookieYes Cookie banner, cookie consent and cookie notice for GDPR, CCPA and DSGVO, with cookie… by CookieYes 1M+ ★★★★★★★★★★ 4.8 (3.2K) 7 days ago 91
3 GDPR Cookie Compliance – Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law GDPR Cookie Compliance Cookie notice banner for GDPR, CCPA, EU cookie law, data protection and privacy regulations… by Moove Agency 300K+ ★★★★★★★★★★ 4.6 (206) 1 week ago 92
4 WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice) WPConsent Cookie consent banner with cookie scanner & script blocking. Manage cookie consent, cookie… by Syed Balkhi 200K+ ★★★★★★★★★★ 4.9 (90) 3 weeks ago 89
5 iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more iubenda The solution for GDPR compliance + more. Get your cookie banner, privacy policy, terms and… by iubenda 200K+ ★★★★★★★★★★ 4.7 (401) 1 week ago 95
6 Real Cookie Banner: GDPR & ePrivacy Cookie Consent Real Cookie Banner: GDPR & ePrivacy Cookie Consent Obtain GDPR (DSGVO/RGPD) and ePrivacy Directive (TDDDG/TTDSG, LOPD-GDD, DTA) compliant… by devowl.io GmbH 100K+ ★★★★★★★★★★ 4.9 (492) 3 weeks ago 96
7 Cookiebot – Cookie Banner & Cookie Consent for GDPR, CCPA & Google Consent Mode Cookiebot Automatic cookie banner and cookie notice for GDPR, CCPA & Google Consent Mode v2. Blocks… by cookiebot 100K+ ★★★★★★★★★★ 4.4 (440) 2 weeks ago 78
8 SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking SureCookie Cookie consent banner with real browser scanning, script blocking, Google Consent Mode… by Brainstorm Force 90K+ ★★★★★★★★★★ 4.9 (28) 2 weeks ago 84
9 Termly – GDPR/CCPA Cookie Consent Banner Termly – GDPR/CCPA Cookie Consent Banner Our easy to use cookie consent plugin can assist in your GDPR, CCPA, and ePrivacy Directive… by davidtaroko 80K+ ★★★★★★★★★★ 3.6 (205) 11 months ago 46
10 Beautiful Cookie Consent Banner Beautiful Cookie Consent Banner Free and beautiful Cookie Consent Banner to make your website compliant. Highly… by Nikel 40K+ ★★★★★★★★★★ 4.5 (95) 1 week ago 78

FAQ

Nivaj Cookie Consent: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Nivaj Cookie Consent free?

Yes. Nivaj Cookie Consent is free to download and use from the official WordPress.org plugin directory.

Is Nivaj Cookie Consent safe to use in 2026?

Nivaj Cookie Consent works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites, is rated 5/5 and was last updated 3 months ago, and scores 52/100 on our health check.

How many websites use Nivaj Cookie Consent?

Nivaj Cookie Consent is active on 10+ WordPress websites and has been downloaded 462 times since it launched in March 2026. It was downloaded 70 times in the last 30 days.

Does Nivaj Cookie Consent work with WordPress 7.1?

Yes. The developer has tested Nivaj Cookie Consent up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does Nivaj Cookie Consent need?

Nivaj Cookie Consent requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Nivaj Cookie Consent last updated?

The latest version, 1.0.2, was released on August 31, 2026 (3 months ago).

Who makes Nivaj Cookie Consent?

Nivaj Cookie Consent is developed and maintained by ajayrajbanshi.

What are the best alternatives to Nivaj Cookie Consent?

The most popular alternatives to Nivaj Cookie Consent are Complianz GDPR/CCPA Cookie… (1M+ installs), CookieYes (1M+ installs) and GDPR Cookie Compliance (300K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open