FoxPlug launches on Product Hunt on Tue Nov 17. Get notified

FoxPlug Help / Connect your tools

Connect Google Analytics 4: what to paste and what FoxPlug reads

Google's web and app analytics product, reporting users, sessions, sources and conversions for a property. FoxPlug reads it only when you press Check for what's new. What you give it: Google Cloud service-account JSON key with the Analytics Data API, added as Viewer on the property.

Where to find it: In FoxPlug open Settings, then Publishing & integrations, then the Analytics section, and press How to connect next to Google Analytics 4. Faster: press / in Settings and type Google Analytics 4. Open it in FoxPlug

Steps

  1. In the Google Cloud Console (right project selected): APIs and services, Library, enable Google Analytics Data API.
  2. IAM and Admin, Service Accounts, create a service account named FoxPlug; it needs no Cloud role.
  3. Open it, Keys tab, Add key, Create new key, JSON; a .json file downloads.
  4. Copy the entire JSON contents.
  5. In analytics.google.com Admin, Property access management: add the service account's client_email as Viewer on that property.
  6. Property details: copy the Property ID (digits).
  7. Paste the Property ID and the full JSON key into FoxPlug.
  8. Press the connect button in FoxPlug. FoxPlug checks the key or sign-in straight away and tells you in plain words if it was refused.

Try it on your own site first

Paste your site address and see the brief FoxPlug writes from it, right here. Free, no account, no card.

Read my site, free

Good to know

What it does not do

Related

Something here not matching what you see? Write to hello@foxplug.com and say which line. Last checked 2026-11-13.