WP Manifestindependent plugin directory
manifest / privacy / the-brandsmen-cookie-consent

The Brandsmen Cookie Consent

★ 0stars
v1.0.0latest · 10mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/codebyamos/the-brandsmen-cookie-consent/archive/refs/heads/main.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

A GDPR-compliant WordPress cookie consent plugin with geo-targeting for EU/UK/Switzerland. Supports Google Consent Mode v2 and Microsoft Clarity.

Features

  • Geo-targeting: Automatically detects visitor location and only shows consent banner to EU/EEA/UK/Swiss visitors
  • Google Consent Mode v2: Full integration with Google's consent mode for proper analytics tracking
  • Microsoft Clarity: Built-in support for Microsoft Clarity consent API
  • Script Blocking: Automatically blocks tracking scripts until consent is given
  • Customizable Banner: Customize colors, text, and position of the consent banner
  • Cookie Categories: Supports Necessary, Analytics, Marketing, and Functional cookie categories
  • AJAX-powered: Smooth consent handling without page reloads
  • Caching Support: Efficient IP-based caching for geo-detection
  • Auto-updates: Automatic plugin updates from GitHub releases

Installation

  1. Download the latest release from the Releases page
  2. Upload to your WordPress site via Plugins → Add New → Upload Plugin
  3. Activate the plugin
  4. Go to Settings → Cookie Consent to configure

Configuration

Navigate to Settings → Cookie Consent in your WordPress admin to configure:

  • Banner Text: Customize the consent message
  • Button Labels: Customize Accept, Reject, and Settings button text
  • Colors: Match the banner to your site's design
  • Position: Choose bottom or top banner placement
  • Categories: Enable/disable Analytics, Marketing, and Functional cookie categories
  • Auto-detect Scripts: Enable automatic detection and blocking of tracking scripts

Automatic Updates

This plugin supports automatic updates via GitHub. When a new release is published, WordPress will notify you of the available update in the Plugins page.

Creating a Release

  1. Update the version number in the-brandsmen-cookie-consent.php:

    • In the plugin header: Version: X.X.X
    • In the constant: define('TBCC_VERSION', 'X.X.X');
  2. Commit your changes:

    git add .
    git commit -m "Version X.X.X - Description of changes"
  3. Create a tag matching the version:

    git tag vX.X.X
    git push origin main --tags
  4. Go to GitHub → Releases → Create new release

  5. Select your tag and publish the release

Supported Tracking Scripts

The plugin automatically detects and blocks the following scripts:

Analytics

  • Google Analytics (GA4, Universal Analytics)
  • Google Tag Manager
  • Microsoft Clarity
  • Hotjar
  • Mixpanel

Marketing

  • Facebook Pixel
  • Google Ads
  • LinkedIn Insight Tag
  • Twitter Ads
  • TikTok Pixel
  • Bing Ads

Functional

  • CallRail
  • Intercom
  • Zendesk
  • Drift
  • Tawk.to

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher

License

GPL v2 or later. See LICENSE for details.

Author

The Brandsmen

Releases

1 release.

Tag
Published
v1.0.0 latest
Dec 17, 2025 10mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.