PHPackages                             convergine/craft-cookie-buddy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. convergine/craft-cookie-buddy

ActiveCraft-plugin[Authentication &amp; Authorization](/categories/authentication)

convergine/craft-cookie-buddy
=============================

Cookie Buddy is a CraftCMS 4 and 5 plugin for managing cookie consent and privacy preferences, with support for Google Consent Mode v2.

1.0.8(1mo ago)150proprietaryPHP

Since May 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/convergine/craft-cookie-buddy)[ Packagist](https://packagist.org/packages/convergine/craft-cookie-buddy)[ RSS](/packages/convergine-craft-cookie-buddy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

Cookie Buddy for CraftCMS
=========================

[](#cookie-buddy-for-craftcms)

[![Screenshot](./docs/images/cookie_buddy_banner.png)](./docs/images/cookie_buddy_banner.png)

A CraftCMS 4 &amp; 5 plugin for simple and effective cookie management. Supports Google Consent Mode v2 parameters, ensuring compliance by sending consent data to Google when users accept cookies. Easily manage cookie preferences while improving data tracking transparency.

Features
--------

[](#features)

- **Cookie Consent Popup** Easily enable a cookie consent popup for your CraftCMS 4 or 5 site. Inform users about cookie usage and allow them to make informed choices.
- **Google Consent Mode v2 Support** Automatically send consent signals to Google Analytics based on user preferences—crucial for privacy compliance and accurate data tracking.
- **Fully Customizable UI** Customize the popup title, description, layout (box or banner), position (e.g. bottom-right), footer links, and button styling to match your brand.
- **Granular Preferences Control** Provide individual descriptions for required, performance, and targeting cookies. Help users understand what each cookie category does.
- **User-Friendly Setup** Configure everything through a clean, intuitive settings panel inside the CraftCMS control panel. No coding required.

Requirements
------------

[](#requirements)

- **Craft CMS 4.0.0/5.0.0 or later**
- **PHP 8.0.2 or later**
- **Google Analytics integration in place (custom code or through other plugin)**

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

1. Go to the Plugin Store in your project’s Control Panel.
2. Search for Cookie Buddy”.
3. Click on the “Install” button in the plugin's modal window.

#### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# Navigate to your project directory
cd /path/to/my-project.test

# Require the plugin via Composer
composer require convergine/craft-cookie-buddy

# Install the plugin via Craft CLI
./craft plugin/install craft-cookie-buddy
```

Configuration
-------------

[](#configuration)

After installation, navigate to the plugin settings and enable the popup/google options as well as configure the look &amp; feel of the consent window.

If enabling passing consent information to Google - make sure that your site already has Google Analytics integration code in place, as our plugin does not

For resetting cookies, you can add a `` with the ID `cookiebuddy-reset` and class `cc-hidden` anywhere in your template. For example:

```
Clear Cookies
```

Roadmap
-------

[](#roadmap)

- **Design Customization Options**: Ability to further modify the look and feel of the consent popups.
- **Translations Support**: Enable option to translate the popups contents to all languages enabled in Craft instance.
- **Multi-Site Controls**: Choose which multi-site to display the consent on.
- **Design Themes**: Add pre-made design themes for popups.

Support
-------

[](#support)

For any issues or questions, you can reach us by email at  or by opening an issue on [GitHub](https://github.com/convergine/craft-cookie-buddy).

Credits
-------

[](#credits)

Portions of the cookie consent functionality are based on the work of [Orest Bida](https://github.com/orestbida/cookieconsent), © 2020–present, and used under the MIT License.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance91

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Recently: every ~57 days

Total

9

Last Release

43d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d26ea9efef0ec989914f3bf1600ce6c31eb9eef49eda0c947b575c66a1bdbaee?d=identicon)[convergine](/maintainers/convergine)

---

Top Contributors

[![konstantin-convergine](https://avatars.githubusercontent.com/u/158498311?v=4)](https://github.com/konstantin-convergine "konstantin-convergine (7 commits)")[![convergine](https://avatars.githubusercontent.com/u/7737586?v=4)](https://github.com/convergine "convergine (5 commits)")

---

Tags

consent-managementcookie-bannercookie-consentcookie-popupcraftcmscraftcms-plugincraftcms4craftcms5google-consent-modecraftcmsgdprprivacycookie-consentcraftcms-pluginuser-consentcookie-managementconsent-modegoogle-consent-modecookie-buddy

### Embed Badge

![Health badge](/badges/convergine-craft-cookie-buddy/health.svg)

```
[![Health](https://phpackages.com/badges/convergine-craft-cookie-buddy/health.svg)](https://phpackages.com/packages/convergine-craft-cookie-buddy)
```

###  Alternatives

[born05/craft-twofactorauthentication

Craft 4 plugin for two-factor or two-step login using Time Based OTP.

36100.1k1](/packages/born05-craft-twofactorauthentication)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[flipboxfactory/saml-sp

SAML Service Provider

19101.0k](/packages/flipboxfactory-saml-sp)[verbb/knock-knock

Password protect your public facing Craft website with a single password.

17122.8k7](/packages/verbb-knock-knock)[matt-west/craft-recaptcha

Integrate Google’s reCAPTCHA into your forms.

1959.9k1](/packages/matt-west-craft-recaptcha)[jamesedmonston/graphql-authentication

GraphQL authentication for your headless Craft CMS applications.

2917.0k](/packages/jamesedmonston-graphql-authentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
