TimecardPastely
Google AnalyticsRead-only

How to create a read-only Google Analytics API key

Add a Google Cloud service account to one GA4 property as a Viewer.

  1. 01

    Enable the Google Analytics Data API in a Google Cloud project

  2. 02

    Create a service account and copy its email address

  3. 03

    Open Access Management for the property

    AdminPropertyAccess Management
  4. 04

    Add the service account's email with the Viewer role

  5. 05

    Create a JSON key for the service account and store it safely

Next guidePlausible

Made the key? Put it to work.

Spikely uses narrow keys like this one to watch Google Analytics, and alerts you when a number breaks pattern.

3 days free on yearly · iPhone, iPad, Mac and Apple Watch