How to Connect Your Google Analytics Account

Analytix connects to Google Analytics 4 via OAuth 2.0. You authorise access once and Analytix stores the token securely in your WordPress database — your credentials are never sent to our servers.

Step 1 — Open the Authentication tab

  1. In your WordPress admin go to Analytix → Settings.
  2. Click the Authentication tab (agwp-auth).

Step 2 — Enter your Google API credentials

Analytix uses your own Google Cloud credentials so your data stays private and the API quota belongs to your project.

  1. Go to Google Cloud Console and create or select a project.
  2. Enable the Google Analytics Data API and Google Analytics Admin API for your project.
  3. Under APIs & Services → Credentials, create an OAuth 2.0 Client ID (application type: Web application).
  4. Add your site's callback URL as an authorised redirect URI — Analytix shows the exact URL to copy on the Authentication tab.
  5. Copy the Client ID and Client Secret into the corresponding fields in Analytix Settings → Authentication.
  6. Click Save.

Step 3 — Authorise with Google

  1. After saving, click the Connect with Google button.
  2. A Google OAuth consent screen will open — sign in with the Google account that has access to your GA4 property.
  3. Grant the requested permissions (Analytics read/edit and Search Console).
  4. You will be redirected back to Analytix Settings with a green "Connected" confirmation.
To disconnect at any time, visit Analytix → Settings → Authentication and click Disconnect, or revoke access from myaccount.google.com/permissions.
All Documentation Contact Support

Measure, Understand and Grow Your Audience

Connect GA4 in under a minute. Start making data-driven decisions today.

Get Analytix Now!