WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Simple GA Ranking

Ranking plugin using data from google analytics.

Ranking plugin using data from google analytics.

How use

  1. Set your Google analytics account and so on at the Simple GA Ranking's option page (Settings->Simple GA Ranking).

  2. Put the short code at where you'd like to show the ranking.

  3. You can use many kind of filters by post-type or taxonomy. For example, you can show only posts and pages by [sga_ranking post_type="post,page"]. Also, showing posts in only WordPress category by [sga_ranking post_type="post" category__in="wordpress"].

  4. The short code supports parameters as follows: post_type, exclude_post_type, 'taxonomy_slug'__in, 'taxonomy_slug'__not_in, filter. All parameters except “filter” need to be set the slug(s).

  • post_type: set the attribute of the slug of the post-type you’d like to show. You can set multiple sulgs separeted by comma.

  • exclude_post_type: set the attribute of the post-type you’d NOT like to show. You can set multiple sulgs separeted by comma.

  • 'taxonomy_slug'__in: set the attribute of the taxonomy you’d like to show. You can set multiple terms separeted by comma.

  • 'taxonomy_slug'__not_in: set the attribute of the taxonomy you’d NOT like to show. You can set multiple terms separeted by comma.

  • filter: You can use the filter parameter as same as the fileter parameter of Google Analytics API. https://developers.google.com/analytics/devguides/reporting/core/v3/reference

For example, suppose you have a multi-languages site with direcotry based multisite, and take the statistic of all sites of the multisite having with the URL structure as follows by one GA account. http://example.com/ja http://example.com/en http://example.com/cn

When you’d like to take the statistic of each site, revise like below. [sga_ranking filter="pagePath=~^/ja/"] [sga_ranking filter="pagePath=~^/en/"] [sga_ranking filter="pagePath=~^/cn/"]

Please try ohter parameters using the below sites as a reference. https://support.google.com/analytics/answer/1034324?hl=en https://developers.google.com/analytics/devguides/reporting/core/v3/reference?hl=en

Translators

You can send your own language pack to me.

Please contact to me.

Contributors

Requires: 3.6.1 or higher
Compatible up to: 3.9.2
Last Updated: 2014-7-2
Downloads: 1,071

Ratings

4 stars
4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1