Displays the most visited posts as a widget using data from Google Analytics. Designed to be used under high-traffic or low server resources.
Alternatively, go into your WordPress dashboard and click on Plugins -> Add Plugin and search for Toplytics. Then click on Install, then on Activate Now.
In this step please register a new client application with Google. To register an application please login to your Google account and go to Google API console.
Create a New Project (set a unique project name and id);
Enable the Analytics API by going to APIs & auth → API → Analytics API and then click on Enable API;
From the APIs → Credentials tab create an OAuth 2.0 Client ID by clicking on Create new Client ID;
Select application type as Installed application;
Create the Branding information for the Client ID by editing the consent screen. It's compulsory to select your e-mail addres and to set a Product name;
Create the Client ID by selecting again Installed application and Other;
Download the JSON file with the API credentials (Auth Config file);
Upload this file in the plugin Settings page and click on Upload Auth Config File.
In this step please connect to your Google Analytics Account.
Click the Get Authorization Key button from the plugin's settings page and you will be redirected to google.com;
After logging in you need to agree that the newly created app will access your Analytics data. After that you get a key;
Then come back to the plugin settings page and use the key in the Authorization Key field. Click on Get Analytics Profiles button, select the profile for your current site and click on Connect.
Connect your plugin with Google Analytics Account from the Settings page (Settings -> Toplytics); Use the Toplytics widget from the Appearance -> Widgets page;
Requires: 3.9 or higher
Compatible up to: 4.5.3
Last Updated: 3 months ago
Active Installs: 100+
Got something to say? Need help?