Skip to main content

Google Analytics

How to set up a service account for Google Analytics 4 and connect it to Nora.
Google Analytics integrations let your agents query the GA4 Data API for pageviews, sessions, conversions, and custom events. Nora authenticates with a Google Cloud service account (same shape as Firebase and Google Drive).

Where to apply for credentials

1

Create a service account in GCP

Generate a JSON key. Treat it as secret.
2

Enable the GA4 Data API

GCP Console → APIs & Services → Library → Google Analytics Data API → Enable.
3

Grant access in Google Analytics

Open Google Analytics → Admin (gear icon) → Property Access Management → Add user. Use the SA’s client_email and grant Viewer access (or higher if your agent writes events).
4

Find the GA4 Property ID

Admin → Property Settings — the numeric Property ID is at the top.

Connect in Nora

Paste the JSON contents. Set the GA4 Property ID (required for the Data API).

MCP server

No official Google Analytics MCP server today.

Environment variables Nora injects

VariableSource
GOOGLE_APPLICATION_CREDENTIALS_JSONService Account JSON
GA4_PROPERTY_IDGA4 Property ID field