Plugin screenshot thumbnail 1/4
Plugin screenshot thumbnail 2/4
Plugin screenshot thumbnail 3/4
Plugin screenshot thumbnail 4/4

Keep optional tags on hold until your visitors grant the matching category. Add a cookie consent banner to your Craft CMS 5 site. You can gate scripts with a Twig helper or inert HTML. Necessary is always on. Visitors can choose analytics, marketing, and preferences, then revisit those choices from the footer.

Set up

  1. Run composer require brightdesk/tag-consent-banner, then php craft plugin/install tag-consent-banner.
  2. Open Settings > Plugins > Tag Consent Banner to set the consent lifetime, Policy version, and appearance.
  3. Add {{ craft.tagConsent.head() }} near the top of <head> before Google tags, {{ craft.tagConsent.banner() }} before endBody(), and {{ craft.tagConsent.settingsLink() }} in the footer. Call head() and endBody() in the Craft layout. Put optional scripts behind their category gates and check requests in the browser's Network pane.

Features

Get a cookie consent banner with granular category preferences, appearance and consent settings, manual script gating, Basic Google Consent Mode v2, known-tag matching within supplied markup, consent logging with CSV export and retention controls, and text overrides by Craft site and language with a shared fallback.

The plugin uses no SaaS or telemetry. Tags may send data to their own providers after consent.

Help

Full setup guide: https://brightdeskapps.com/craft/cookie-consent — questions: support@brightdeskapps.com

Standard

Plus $19/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
0
Version
1.0.0
License
Craft
Compatibility
Craft 5
Last release
December 1, 2026