plugin-icon

Bikram Cookie Consent Banner

Автор: bikram_sth·
The lightweight GDPR cookie consent banner. 100% free, with an under-10kb (about 3kb gzipped) front-end footprint.
Версия
1.0.0
Последние изменения
Jul 19, 2026
Bikram Cookie Consent Banner

Bikram Cookie Consent Banner is a lightweight cookie consent banner for WordPress. It lets visitors accept or customize cookie categories (Necessary, Analytics, Marketing, Preferences), only loads Google Analytics / Facebook Pixel after the relevant consent is given, and can optionally log consent events for compliance record-keeping.

Features

  • Five banner styles (minimal bar, floating card, glassmorphism, dark mode, full-screen overlay)
  • Per-category consent (Analytics, Marketing, Preferences), with Necessary always on
  • Google Analytics and Facebook Pixel are only injected after the visitor consents to the relevant category
  • Optional consent logging to your database, viewable from the admin area
  • Built-in cookie policy text generator
  • Settings export/import (handy for agencies deploying the same configuration across client sites)
  • Optional EU/UK-only geo-targeting, resolved entirely server-side from CDN/host headers (no third-party lookup) so the banner only shows where it’s legally required
  • [bikrco_cookie_button] shortcode to let visitors reopen their cookie preferences at any time
  • No upsells, no premium tier — the whole plugin is free

External services

This plugin can connect to the following third-party services:

Google Analytics (optional, off by default) If you enter a Google Analytics Measurement ID and the visitor consents to Analytics cookies, this plugin loads the Google Analytics tracking script (https://www.googletagmanager.com/gtag/js) and sends standard Google Analytics data to Google. See Google’s privacy policy: https://policies.google.com/privacy

Facebook Pixel (optional, off by default) If you enter a Facebook Pixel ID and the visitor consents to Marketing cookies, this plugin loads the Facebook Pixel script (https://connect.facebook.net) and sends standard Facebook Pixel data to Meta. See Meta’s privacy policy: https://www.facebook.com/privacy/policy/

No data is sent to any of these services unless you configure the corresponding feature, and unless the visitor has given the relevant consent. The optional «Geo-targeting (EU/UK only)» setting does not call any external service: it reads a country header your host or CDN (e.g. Cloudflare’s CF-IPCountry) may already attach to the request, entirely server-side. If no such header is present, the banner is shown to everyone.

Проверено на
WordPress 7.0.2
Этот плагин можно скачать и использовать при .