Linux 软件免费装

Google Analytics Popular Posts

开发者 inn_nerds
更新时间 2017年1月11日 23:50
捐献地址: 去捐款
PHP版本: 4.1 及以上
WordPress版本: 4.7
版权: GPLv2
版权网址: 版权信息

标签

stats analytics google analytics most popular

下载

0.1.0 0.1.1 0.1.2

详情介绍:

This Google Analytics Popular Posts plugin queries Google Analytics for pageview data for your site and uses an algorithm based on publish date and total number of pageviews to determine a weighted pageview score for a post. Using this scoring mechanism, the plugin generates a list of the most popular posts for a given site. The list of popular posts can be displayed using the included "Google Analytics Popular Posts" widget. This plugin is under active development. If you experience problems with this plugin, please file an issue on GitHub.

安装:

  1. Upload the plugin files to the /wp-content/plugins/ga-popular-posts directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Authenticate using your Google account via the Settings > GA Popular Posts page in the WordPress dashboard
  4. Review the settings, changing them as desired and click "Save changes"

常见问题:

How does this differ from other WordPress popular post plugins?

The problem we found with many WordPress popular post plugins was the lack of data used in the algorithm. Our approach was first to pull as much data as possible into WordPress so we could develop a better algorithm.

How do I configure this plugin?

Installation instructions are available in the plugin documentation

What data are you capturing?

We're currently calling and caching the ga:pageviews to the database for each ga:pagepath dimension. Values for the current day and previous are stored during each cron job. A post id is generated for each ga:pagepath that corresponds to an actual post.

How do I query the data myself?

The data is stored across two database tables. The first (analyticbridge_pages) stores each ga:pagepath with a unique id and corresponding post id (if it exists). The second table (analyticbridge_metrics) relates a page_id to a metric & value over a start & end date. To query this data yourself, find the corresponding page_id from the pages table and select using it from the metrics table. This can be accomplished using joins.

更新日志:

0.1.2 0.1.1 0.1.0