Since SEOPress 1.5, you can view your Google Analytics Stats in your WordPress Dashboard.
To do that, we connect to Google Analytics API and make calls to get datas with a Client ID and a Secret ID.
To generate your credentials, you have to login to Google Console.
In API Manager, choose Library, search for Analytics API (be sure to activate the right API) and activate it.
In Credentials, click Create credentials blue button, and choose OAuth client ID.
Check Website application, enter a name, like Google Analytics SEOPress,
and in Redirect URI, enter your URL like that https://www.yourdomainname.com/wp-admin/admin.php?page=seopress-google-analytics
Then copy and paste Client ID and Secret ID from the popup to your WordPress admin, SEOPress, Google Analytics, Stats in Dashboard Google Console Client ID/Google Console Secret ID.
Don’t forget to save.
Now you can click Connect with Google Analytics, grant access and voilà!
Last modified: June 13, 2018