How to Set Up Custom Google API Credentials
Analytix uses your own Google Cloud project credentials. This keeps your analytics data private — it is never routed through our servers — and the API quota belongs entirely to your project.
1 — Create a Google Cloud project
- Go to console.cloud.google.com and sign in.
- Click the project dropdown at the top and choose New Project. Give it any name (e.g., "My Site Analytix").
2 — Enable required APIs
- Inside your project go to APIs & Services → Library.
- Search for and enable: Google Analytics Data API, Google Analytics Admin API, and Google Search Console API.
3 — Create OAuth 2.0 credentials
- Go to APIs & Services → Credentials → Create Credentials → OAuth client ID.
- Set application type to Web application.
- Under Authorised redirect URIs add the callback URL shown inside Analytix → Settings → Authentication.
- Click Create. Copy the Client ID and Client Secret.
4 — Enter credentials in Analytix
- Go to Analytix → Settings → Authentication.
- Paste the Client ID and Client Secret into the respective fields.
- Click Save, then click Connect with Google to complete the OAuth flow.
Your credentials are stored encrypted in the WordPress options table. They are never transmitted to Analytix servers.