# Moorage Analytics

> Google Analytics, Google Tag Manager, Meta Pixel and Clarity for EmDash, with a cookie consent banner that holds them back until the visitor agrees.

Source: https://emdashcmseverything.com/plugins/moorage-analytics/

- Category: Analytics
- Status: available
- Version: 0.4.4
- Price: Unknown
- Compatibility: EmDash >=1.2.0
- License: MIT
- Maintainer: Moorage
- Download: https://www.npmjs.com/package/@moorage/plugin-analytics
- Documentation: https://moorage.dev/plugins/analytics
- Repository: https://github.com/moorage-dev/moorage
- Published: 2026-11-01

Google Analytics, Google Tag Manager, Meta Pixel and Clarity for EmDash, with a cookie consent banner that holds them back until the visitor agrees.

## Installation

Install the package from npm:

```bash
npm install @moorage/plugin-analytics
```

Register the plugin in your Astro config:

```js
// astro.config.mjs
import { analyticsPlugin } from "@moorage/plugin-analytics";
import emdash from "emdash/astro";

export default defineConfig({
  integrations: [emdash({ plugins: [analyticsPlugin()] })],
});
```

## Details

- **Latest version:** 0.4.4
- **License:** MIT
- **Publisher:** Moorage
- **Requires:** EmDash `>=1.2.0`
- **Source repository:** [https://github.com/moorage-dev/moorage](https://github.com/moorage-dev/moorage)
- **npm package:** [@moorage/plugin-analytics](https://www.npmjs.com/package/@moorage/plugin-analytics)
