# Google Analytics & GSC

> Google Search Console and GA4 analytics plugin for EmDash CMS.

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

- Category: Analytics
- Status: available
- Version: 0.4.10
- Price: Unknown
- Compatibility: EmDash CMS
- License: MIT
- Maintainer: YourBright
- Download: https://www.npmjs.com/package/@yourbright/emdash-analytics-plugin
- Repository: https://github.com/yourbright-jp/emdash-analytics-plugin
- Published: 2026-04-06

Google Search Console and GA4 analytics plugin for EmDash. View search performance, content opportunities, and site summaries directly from the admin panel.

## Installation

```bash
npm install @yourbright/emdash-analytics-plugin
```

```typescript
import { contentInsightsPlugin } from "@yourbright/emdash-analytics-plugin";

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

## Requirements

- `EMDASH_AUTH_SECRET` environment variable is required for encrypting stored Google service account credentials.

## API Endpoints

- `GET /_emdash/api/plugins/emdash-google-analytics-dashboard/agent/v1/site-summary`
- `GET /_emdash/api/plugins/emdash-google-analytics-dashboard/agent/v1/opportunities`
- `GET /_emdash/api/plugins/emdash-google-analytics-dashboard/agent/v1/content-context`
