{"id":34870804,"url":"https://github.com/eminos/statamic-consent-manager","last_synced_at":"2026-02-10T12:01:18.425Z","repository":{"id":329272592,"uuid":"1105304770","full_name":"eminos/statamic-consent-manager","owner":"eminos","description":"A powerful, GDPR-compliant consent management solution (\"cookie banner\") for Statamic CMS that gives you complete control over tracking scripts and user privacy.","archived":false,"fork":false,"pushed_at":"2026-02-06T10:13:49.000Z","size":652,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-06T18:13:42.142Z","etag":null,"topics":["consent-management","consent-management-platform","cookie-banner","statamic","statamic-addon","statamic-v5"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eminos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-27T12:20:27.000Z","updated_at":"2026-02-06T10:12:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eminos/statamic-consent-manager","commit_stats":null,"previous_names":["eminos/statamic-consent-manager"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eminos/statamic-consent-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eminos%2Fstatamic-consent-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eminos%2Fstatamic-consent-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eminos%2Fstatamic-consent-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eminos%2Fstatamic-consent-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eminos","download_url":"https://codeload.github.com/eminos/statamic-consent-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eminos%2Fstatamic-consent-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29298522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T10:40:02.018Z","status":"ssl_error","status_checked_at":"2026-02-10T10:38:28.459Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consent-management","consent-management-platform","cookie-banner","statamic","statamic-addon","statamic-v5"],"created_at":"2025-12-25T23:46:38.425Z","updated_at":"2026-02-10T12:01:18.419Z","avatar_url":"https://github.com/eminos.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/banner.png\" alt=\"Statamic Consent Manager Banner\" width=\"100%\" style=\"border-radius:12px;\"\u003e\n\u003c/p\u003e\n\n# Statamic Consent Manager\n\nA powerful, GDPR-compliant consent management solution (\"cookie banner\") for Statamic CMS that gives you complete control over tracking scripts and user privacy.\n\n[Features](#features) • [Installation](#installation) • [Quick Start](#quick-start) • [Documentation](#documentation) • [Support](#support)\n\n## Why Statamic Consent Manager?\n\nMost 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:\n\n- **Native to Statamic**: Managed entirely within your Statamic Control Panel.\n- **Privacy First**: Scripts are blocked by default until explicit consent is given.\n- **Developer Friendly**: Built with Antlers and Tailwind, making it easy to style and extend.\n- **Compliance Made Easy**: Built-in support for Google Consent Mode v2 and other major platforms.\n\n[![Statamic 5.0+](https://img.shields.io/badge/Statamic-5.0+-FF269E?style=flat\u0026logo=statamic)](https://statamic.com) [![Statamic 6.0+](https://img.shields.io/badge/Statamic-6.0+-FF269E?style=flat\u0026logo=statamic)](https://statamic.com) [![Commercial License](https://img.shields.io/badge/License-Commercial-orange)](LICENSE.md)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"docs/screenshot-1.png\"\u003e\u003cimg src=\"docs/screenshot-1.png\" width=\"32%\" alt=\"Screenshot 1\"\u003e\u003c/a\u003e\n    \u003ca href=\"docs/screenshot-2.png\"\u003e\u003cimg src=\"docs/screenshot-2.png\" width=\"32%\" alt=\"Screenshot 2\"\u003e\u003c/a\u003e\n    \u003ca href=\"docs/screenshot-3.png\"\u003e\u003cimg src=\"docs/screenshot-3.png\" width=\"32%\" alt=\"Screenshot 3\"\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"docs/screenshot-4.png\"\u003e\u003cimg src=\"docs/screenshot-4.png\" width=\"32%\" alt=\"Screenshot 4\"\u003e\u003c/a\u003e\n    \u003ca href=\"docs/screenshot-5.png\"\u003e\u003cimg src=\"docs/screenshot-5.png\" width=\"32%\" alt=\"Screenshot 5\"\u003e\u003c/a\u003e\n    \u003ca href=\"docs/screenshot-6.png\"\u003e\u003cimg src=\"docs/screenshot-6.png\" width=\"32%\" alt=\"Screenshot 6\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Statamic support\n\n| Statamic version | Addon version | Addon branch |\n| --- | --- | --- |\n| Statamic 5 | `1.x` | `1.x` |\n| Statamic 6 | `2.x` | `main` |\n\n## Features\n\n### Powerful \u0026 Flexible\n- **Service-level Consent** - Users consent to individual services, organized into logical categories (Analytics, Marketing, etc.)\n- **Built-in Integrations** - Google Tag (gtag.js) with Consent Mode v2, Meta Pixel, and LinkedIn Insight Tag ready out of the box\n- **Custom Script Support** - Add any third-party script with conditional loading based on consent\n- **Control Panel Management** - Manage categories, services, and tracking scripts without touching code\n- **Conditional Content** - Show placeholders for YouTube embeds, Google Maps, and other content requiring consent\n- **Smart Cookie Management** - Automatically stores and respects user preferences for 180 days (configurable)\n- **Permission-based Access** - Control Panel access restricted by Statamic permissions\n\n### Fully Customizable\n- **Publishable Views** - Complete control over dialog markup and styling using Antlers templates\n- **Native Dialog Elements** - Built on semantic HTML `\u003cdialog\u003e` elements for accessibility\n- **Tailwind CSS Out of the Box** - Pre-styled dialogs you can fully customize or replace\n- **Multi-language Support** - Translate all text via Laravel's translation files\n- **Flexible Script Placement** - Load scripts in `\u003chead\u003e` or before `\u003c/body\u003e`\n- **Configurable Settings** - Customize cookie name, duration, and behavior via config file\n\n### Developer Experience\n- **Simple JavaScript API** - Easy-to-use methods for checking consent and triggering dialogs\n- **Debug Mode** - Built-in console logging tied to Laravel's `APP_DEBUG`\n- **Live Preview Control** - Optionally disable in Statamic's Live Preview mode\n- **Zero Dependencies** - Lightweight vanilla JavaScript, no frameworks required\n\n### Compliance Ready\n- **GDPR Compliant** - Respects user privacy choices before loading tracking scripts\n- **Consent Versioning** - Require re-consent when you make significant changes to your privacy policy\n- **Required Categories** - Mark essential functionality as required (e.g., security, functionality)\n- **Granular Control** - Per-service consent for maximum transparency\n- **Revocation Support** - Users can withdraw consent at any time with automatic page reload\n\n## Installation\n\nThis is a commercial addon. [Purchase a license on the Statamic Marketplace →](https://statamic.com/addons/kiwikiwi/consent-manager)\n\n```bash\ncomposer require eminos/statamic-consent-manager\n```\n\nThat's it! The addon automatically publishes its assets during installation.\n\n## Quick Start\n\n1. **Add tags to your layout:**\n\n```antlers\n\u003chead\u003e\n    {{ consent_manager:head }}\n\u003c/head\u003e\n\u003cbody\u003e\n    {{ consent_manager:dialog }}\n    {{ consent_manager:body }}\n\u003c/body\u003e\n```\n\n2. **Configure in Control Panel:**\n   - Navigate to **Tools \u003e Consent Manager**\n   - Add your tracking services and scripts\n   - Enable built-in integrations (Google Tag, Meta Pixel, etc.)\n\n3. **Done!** Your consent dialogs are live.\n\n## Documentation\n\nComplete documentation is available in [DOCUMENTATION.md](DOCUMENTATION.md):\n\n- [Installation \u0026 Setup](DOCUMENTATION.md#installation)\n- [Configuration Options](DOCUMENTATION.md#configuration)\n- [Control Panel Guide](DOCUMENTATION.md#control-panel-setup)\n- [Usage Examples](DOCUMENTATION.md#usage)\n- [API Reference](DOCUMENTATION.md#api-reference)\n- [Customization Guide](DOCUMENTATION.md#customization)\n\n## Built-in Integrations\n\n### Google Tag (Consent Mode v2)\nComplete integration with Google's Consent Mode v2, automatically mapping your consent categories to Google's storage types.\n\n### Meta Pixel\nManage Facebook Pixel consent with automatic grant/revoke handling.\n\n### LinkedIn Insight Tag\nTrack conversions and audience building with proper consent management.\n\n## Support\n\nFor support, questions, or feature requests, please open an issue on this GitHub repository.\n\n## License\n\nThis is a commercial addon that requires a license for production use.\n\n[Purchase a license on the Statamic Marketplace →](https://statamic.com/addons/kiwikiwi/consent-manager)\n\nSee [LICENSE.md](LICENSE.md) for full license terms.\n\nCopyright © 2026 Emin Jasarevic\n\n---\n\nMade by [kiwikiwi](https://kiwikiwi.se) for the Statamic community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feminos%2Fstatamic-consent-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feminos%2Fstatamic-consent-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feminos%2Fstatamic-consent-manager/lists"}