DataCops‑Consent‑Manager is a fully‑open‑source Consent Management Platform (CMP) designed for GDPR/CCPA compliance. It offers flexible deployment across web, native app, and server‑side environments, with robust integrations, scalability, and customization.
-
🧩 Multi‑Platform Support
- Web: JavaScript snippet and REST API
- Server‑Side: API-driven consent enforcement
-
📚 Standards-Compliant
- IAB TCF v2, GPP, CCPA, LGPD
- Google Consent Mode v2
-
🔧 Blocking & Handling
- Cookie/script blocking
- Automatic/manual enforcement
-
🔒 API & Dashboard
- REST APIs for consent logs and management
- Admin dashboard for auditing and reporting
-
🌐 Customization
- Themes, languages, CSS
- Custom HTML and cookie-free options
-
📈 Analytics & A/B Testing
- Consent analytics
- A/B test experiences
-
🔗 Third‑Party Integrations
- Supports Google Analytics, Hotjar, Facebook Pixel, Matomo
- Works with iOS/Android attribution SDKs
<script src="https://cdn.datacops.io/consent.js"></script>
<script>
DataCops.init({
codeId: "YOUR_CODE_ID",
domain: "consent.datacops.io",
language: "en",
cookieFree: false
})
</script>npm install @datacops/consent-apiimport { ConsentAPI } from '@datacops/consent-api'
const client = new ConsentAPI({ apiKey: process.env.CONSENT_API_KEY })
await client.recordConsent(userId, { purposes: ["analytics", "ads"] })- Configure vendors, cookie categories, and purposes.
- Embed snippet or SDK.
- Block scripts/cookies until consent.
- Analyze logs and optimize experience.
GET /consents,POST /consentsGET /vendors,PUT /vendors/:idGET /logs- Full spec: OpenAPI Docs
We welcome PRs!
- Fork
- Create branch
- Add tests/docs
- Ensure tests pass
- Open pull request
See CONTRIBUTING.md.
- GDPR/CCPA/LGPD-ready
- Encrypted logs
- Secure audit trails
Report vulnerabilities via SECURITY.md.
MIT © DataCops
- Cross-domain consent sync
- Cookie crawler
- GraphQL support