Set up the Analytics dashboard

Show live Google Analytics stats inside the plugin. This is a one-time Google Cloud setup.

1
Enable the APIIn Google Cloud Console (console.cloud.google.com), pick/create a project and enable the “Google Analytics Data API”.
2
Create an OAuth clientAPIs & Services → Credentials → Create credentials → OAuth client ID → application type “Web application”.
3
Add the redirect URICopy the exact redirect URI shown on the plugin’s Analytics page into the OAuth client’s “Authorised redirect URIs”.
4
Find your Property IDIn Google Analytics → Admin → Property settings, copy the numeric Property ID (not the G- Measurement ID).
5
Paste into settingsOn the Analytics page, paste the Client ID, Client secret and Property ID, then Save.
6
ConnectOpen the Analytics page and click “Connect Google Analytics”, approve read-only access, and your chart and KPIs appear.