Google Analytics (GA4)
Powers the operator console’s web-analytics page — live visitors, sessions, top pages and referrers — pulled from the GA4 property that tracks your marketing site. Scope: Global defaults only — a platform operator feature. Leave it unconfigured if you do not run the console.1. In Google Cloud and GA4
- Google Cloud Console → APIs & Services → Library → enable Google Analytics Data API.
- IAM & Admin → Service Accounts → Create service account. Grant it no project roles at the project step — none are used.
- Open the service account → Keys → Add key → Create new key → JSON. The file downloads once.
- GA4 → Admin → Property Access Management → Add users → the service account’s email (
…@….iam.gserviceaccount.com) with the Viewer role. That is the only grant it needs. - GA4 → Admin → Property Settings → copy the numeric Property ID (not the
G-XXXXXXXmeasurement ID).
2. Enter it in KnoxCall
Settings → Integrations → Global defaults → Google Analytics (GA4) → Configure:
Save credentials.
3. Verify
The operator console’s Test connection performs a token exchange and a minimal one-day report against the property, and reports a bad property id distinctly from a bad key. The web-analytics page then populates.Things that bite
- Numeric property ID, not the measurement ID.
- Paste the whole file. A JSON key with mangled newlines fails as an authentication error, not a parse error.
- No environment fallback exists for this type; an unset row simply means the page has no data.
- Viewer at the account level works too, but is broader than needed.