From 70ed8b03153659848dc9d2d9ec5e6c52c268c5d5 Mon Sep 17 00:00:00 2001 From: Raicuparta Date: Mon, 13 Jan 2025 18:51:08 +0100 Subject: [PATCH] add more detailed instructions for google analytics --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b39b7de393..ac2e8f2fb3 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,7 @@ Base64-encoded JSON object. Credentials of a Google service account with permiss "client_x509_cert_url": "XXX" } ``` + +The Google service account is created on [Google Cloud](https://console.cloud.google.com). Specifically, you need to create the credentials on [APIs and Services -> Google Analytics Data API -> Credentials](https://console.cloud.google.com/apis/api/analyticsdata.googleapis.com/credentials). Then I guess (because I don't remember if that's how I did it back then) you fill in the json above, encode it with base64, and save it in the `GOOGLE_SERVICE_ACCOUNT` secret. + +You also need to note the "email" address of those credentials, and give it view permissions in [Google Analytics](https://analytics.google.com/analytics), under Admin -> Account -> Account Access Management. Fun stuff.