Google Analytics Google

Use Google Analytics in your Crisp app.

Traffic and events from a Google Analytics property.

People sign in with their Google account and your app can read page views, events, conversions and audiences from their Google Analytics properties. Add a measurement id when the app itself should send page views and events. The same Google Cloud OAuth client can be reused for every Google connector.

What you need.

Sign in with your Google Analytics account in a new window and choose what your app may do. Crisp keeps the sign-in and hands your app a fresh token whenever it needs one, so no key is ever pasted or stored in your app.

Prefer your own Google Analytics app? Paste its client id and secret instead, and your app runs the sign-in itself on your own pages:

Client id
GOOGLE_ANALYTICS_CLIENT_ID
console.cloud.google.com, Credentials, OAuth client (one client serves every Google connector). Ends with .apps.googleusercontent.com
Client secret
GOOGLE_ANALYTICS_CLIENT_SECRET
The same OAuth client. Starts with GOCSPX-
Property id optional
GOOGLE_ANALYTICS_PROPERTY_ID
analytics.google.com, Admin, Property details. The number in the top right, not the G- id Get it
Measurement id optional
GOOGLE_ANALYTICS_MEASUREMENT_ID
analytics.google.com, Admin, Data streams, your web stream. It is visible in the published app. Starts with G- Get it

Get your keys Google Analytics docs

How to connect.

  1. Open your project, or start a new one from the dashboard.

  2. Open the workspace menu and choose Connectors, then pick Google Analytics.

  3. Choose what your app may do and press Connect. You approve it with Google Analytics in a new window, and your app can use the service from then on.

Then ask for the feature

  • “Show visitors and top pages for the last 7 days”
  • “Track sign-ups as a conversion event”

What happens to your keys.

  • Each key is saved as a private setting of your project, under the name shown above.
  • The AI that builds your app sees only the names. It writes code that reads each key by name, and never the value.
  • The values reach your preview and your published app, and never the chat, the code or the logs.
  • Open Connectors in your project to replace a key or disconnect the service. Publish again so your live app uses the change.

Ask for the feature, and Crisp builds it with Google Analytics.

Free plan with $3 of AI usage a month, no credit card. Pro is $20 a month. See pricing.

No credit card. Your code and data stay yours.