承接 eminos/statamic-consent-manager 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eminos/statamic-consent-manager

Composer 安装命令:

composer require eminos/statamic-consent-manager

包简介

A powerful, GDPR-compliant consent management solution ("cookie banner") for Statamic CMS that gives you complete control over tracking scripts and user privacy.

README 文档

README

Statamic Consent Manager Banner

Statamic Consent Manager

A powerful, GDPR-compliant consent management solution ("cookie banner") for Statamic CMS that gives you complete control over tracking scripts and user privacy.

FeaturesInstallationQuick StartDocumentationSupport

Why Statamic Consent Manager?

Most cookie banner solutions are either too simple (just a "we use cookies" message) or too complex (expensive third-party SaaS platforms). Statamic Consent Manager is the perfect middle ground:

  • Native to Statamic: Managed entirely within your Statamic Control Panel.
  • Privacy First: Scripts are blocked by default until explicit consent is given.
  • Developer Friendly: Built with Antlers and Tailwind, making it easy to style and extend.
  • Compliance Made Easy: Built-in support for Google Consent Mode v2 and other major platforms.

Statamic 5.0+ Statamic 6.0+ Commercial License

Screenshot 1 Screenshot 2 Screenshot 3
Screenshot 4 Screenshot 5 Screenshot 6

Statamic support

Statamic version Addon version Addon branch
Statamic 5 1.x 1.x
Statamic 6 2.x main

Features

Powerful & Flexible

  • Service-level Consent - Users consent to individual services, organized into logical categories (Analytics, Marketing, etc.)
  • Built-in Integrations - Google Tag (gtag.js) with Consent Mode v2, Meta Pixel, and LinkedIn Insight Tag ready out of the box
  • Custom Script Support - Add any third-party script with conditional loading based on consent
  • Control Panel Management - Manage categories, services, and tracking scripts without touching code
  • Conditional Content - Show placeholders for YouTube embeds, Google Maps, and other content requiring consent
  • Smart Cookie Management - Automatically stores and respects user preferences for 180 days (configurable)
  • Permission-based Access - Control Panel access restricted by Statamic permissions

Fully Customizable

  • Publishable Views - Complete control over dialog markup and styling using Antlers templates
  • Native Dialog Elements - Built on semantic HTML <dialog> elements for accessibility
  • Tailwind CSS Out of the Box - Pre-styled dialogs you can fully customize or replace
  • Multi-language Support - Translate all text via Laravel's translation files
  • Flexible Script Placement - Load scripts in <head> or before </body>
  • Configurable Settings - Customize cookie name, duration, and behavior via config file

Developer Experience

  • Simple JavaScript API - Easy-to-use methods for checking consent and triggering dialogs
  • Debug Mode - Built-in console logging tied to Laravel's APP_DEBUG
  • Live Preview Control - Optionally disable in Statamic's Live Preview mode
  • Zero Dependencies - Lightweight vanilla JavaScript, no frameworks required

Compliance Ready

  • GDPR Compliant - Respects user privacy choices before loading tracking scripts
  • Consent Versioning - Require re-consent when you make significant changes to your privacy policy
  • Required Categories - Mark essential functionality as required (e.g., security, functionality)
  • Granular Control - Per-service consent for maximum transparency
  • Revocation Support - Users can withdraw consent at any time with automatic page reload

Installation

This is a commercial addon. Purchase a license on the Statamic Marketplace →

composer require eminos/statamic-consent-manager

That's it! The addon automatically publishes its assets during installation.

Quick Start

  1. Add tags to your layout:
<head>
    {{ consent_manager:head }}
</head>
<body>
    {{ consent_manager:dialog }}
    {{ consent_manager:body }}
</body>
  1. Configure in Control Panel:

    • Navigate to Tools > Consent Manager
    • Add your tracking services and scripts
    • Enable built-in integrations (Google Tag, Meta Pixel, etc.)
  2. Done! Your consent dialogs are live.

Documentation

Complete documentation is available in DOCUMENTATION.md:

Built-in Integrations

Google Tag (Consent Mode v2)

Complete integration with Google's Consent Mode v2, automatically mapping your consent categories to Google's storage types.

Meta Pixel

Manage Facebook Pixel consent with automatic grant/revoke handling.

LinkedIn Insight Tag

Track conversions and audience building with proper consent management.

Support

For support, questions, or feature requests, please open an issue on this GitHub repository.

License

This is a commercial addon that requires a license for production use.

Purchase a license on the Statamic Marketplace →

See LICENSE.md for full license terms.

Copyright © 2026 Emin Jasarevic

Made by kiwikiwi for the Statamic community

eminos/statamic-consent-manager 适用场景与选型建议

eminos/statamic-consent-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 321 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 12 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「addon」 「privacy」 「statamic」 「consent」 「gdpr」 「cookie banner」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 eminos/statamic-consent-manager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 eminos/statamic-consent-manager 我们能提供哪些服务?
定制开发 / 二次开发

基于 eminos/statamic-consent-manager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 321
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 22
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2025-12-18