# GDPR Cookie Consent (emdash-privacy)

> GDPR cookie consent for EmDash: a themed light and dark banner (DE/EN) with Google Consent Mode v2 and GPC, powered by c15t. Consent proof is stored in your own D1 database.

Source: https://emdashcmseverything.com/plugins/gdpr-cookie-consent/

- Category: Security
- Status: available
- Version: 0.1.0
- Price: Unknown
- Compatibility: EmDash >=0.30.0
- License: MIT
- Maintainer: The Weekend Projects
- Download: https://www.npmjs.com/package/emdash-privacy
- Repository: https://github.com/theweekendprojects/emdash-privacy
- Published: 2026-11-01

GDPR cookie consent for EmDash: a themed light and dark banner (DE/EN) with Google Consent Mode v2 and GPC, powered by c15t. Consent proof is stored in your own D1 database.

## Installation

Install the package from npm:

```bash
npm install emdash-privacy
```

Register the plugin in your Astro config:

```ts
// astro.config.mjs
import { privacyPlugin } from "emdash-privacy";

emdash({
  plugins: [privacyPlugin()],
});
```

## Details

- **Latest version:** 0.1.0
- **License:** MIT
- **Publisher:** The Weekend Projects
- **Requires:** EmDash `>=0.30.0`
- **Source repository:** [https://github.com/theweekendprojects/emdash-privacy](https://github.com/theweekendprojects/emdash-privacy)
- **npm package:** [emdash-privacy](https://www.npmjs.com/package/emdash-privacy)
