What’s it’s purpose?
This plugin displays the most visited posts as a widget, using data extracted from Google Analytics. Toplytics is designed to work with high-traffic sites and all types of caching.
You should use this plugin if you want to display the most visited posts of your site in a safe and stable manner, with no risk of downtime or slowness, based on data from Google Analytics statistics. The plugin is built for high-traffic sites where counting every visitor’s click loads up the DB and can potentially crash the site. Of course, you need an active Google Analytics setup on your site to use this plugin.
How the idea came up
This plugin was developed by the crafty people at Presslabs—the Smart Managed WordPress Hosting Platform. Here we bring high-performance hosting and business intelligence for WordPress sites. In our spare time, we contribute to the global open-source community with our plugins.
We built this plugin in 2013 to provide a less resource consuming alternative to help our clients that wanted to display a list with the most popular articles on their websites.
- shortcodes are now supported for easier integration into posts/pages or other widgets. Here is a quick example:
[toplytics period="week" numberposts="3" showviews="true"];
- connect with Google Analytics Account using OAuth 2.0 method;
- starting with the plugin version 3.0 we have switched to GA API v3. Toplytics provides a widget displaying the most visited posts as simple links (no styling);
- use the widget to display the most visited posts from the past day, week or month;
- set the number of posts to be displayed between 1 and 250;
- display the number of views as counted by Google Analytics;
- support/translate i18n requests;
- use the custom template to display the widget. This should be included in the active theme folder.
How to contribute
We’ve built Toplytics to make our lives easier and we’re happy to do that for other developers and site owners, too. We’d really appreciate it if you could contribute with code, tests, documentation or just share your experience with Toplytics.
Development of Toplytics happens at http://github.com/PressLabs/toplytics Issues are tracked at http://github.com/PressLabs/toplytics/issues This WordPress plugin can be found at https://wordpress.org/plugins/toplytics/
For more details about Toplytics, head here: https://www.presslabs.org/toplytics/
This project is licensed under the General Public License version 2.0.