Take your business to next level
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.
Use this guide to connect Google Search Console (GSC) to WP Statistics using credentials from your own Google Cloud project. This is helpful if your company requires using an internal Google app or you want full control over the integration.
You will need:
Privacy
Your Client ID, Client Secret, and access tokens are stored only on your site. Clicking Disconnect removes the tokens.
Go to WP Admin → WP Statistics → Settings → Google Search Console.
The Connect button stays disabled until Client ID and Client Secret are saved.
https://www.googleapis.com/auth/webmasters.readonly
Save and continue.
If the app is in Testing mode, go to APIs & Services → OAuth consent screen → Audience and add your Google account under Test users.
WP Statistics GSC
.The Connect to Google Search Console button becomes enabled after saving valid values.
Open the GSC tab in WP Statistics and choose the property you want to use. Data will appear in your reports after the first successful sync.
redirect_uri_mismatch
The Redirect URI in Google Cloud does not match the value shown in WP Statistics. Edit your OAuth client and add the exact URI from settings. Save, wait a minute, and try again.
invalid_client or unauthorized_client
Client ID or Secret is wrong, deleted, or from another project. Create a new OAuth client or update the values in WordPress and save.
access_denied
You closed the Google consent screen or denied access. Try again and approve.
insufficient permissions or empty property list
Make sure the Google account you used has Owner or Full permission on the target GSC property. Add your account in Search Console if needed.
App in Testing mode
Add your Google account under Test users on the OAuth consent screen, or publish the app to production.
Local or staging sites
Google allows http://localhost
for testing. For other hosts use HTTPS and add the exact Redirect URI.
Can I switch between connection methods later
Yes. You can switch from Direct to WP Statistics Credentials and back. If you switch, you may need to reconnect.
Do I need Owner permission in Search Console
Owner or Full user permission is recommended to read performance data through the API.
What scopes does WP Statistics request
Only the read-only Search Console scope: webmasters.readonly
.
Where are tokens stored
On your site database. Disconnect removes them.
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.