這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Sitewide Google Analytics

描述

This plugin adds Google Analytics tracking code to all WordPress pages. If multisite/network mode is enabled, this
tracking code will be the same on all sites, which was the main purpose for authoring it.

It’s very basic.

This plugin includes a settings page that allows users to enable or disable the tracking code, enter their account ID,
and provide a single domain, which is used for aggregating statistics across multiple sub-domains. For WordPress
Network installations, this page is located under the Settings menu of the Network administration area. For normal
WordPress installations, this page is located under the Settings menu of the standard administration area.

I needed this functionality but couldn’t find it elsewhere, so I decided to write a plugin. I’m totally open to improving
this plugin as well so please contact me with feature requests or bug reports.

螢幕截圖

  • This is the administrative section of Sitewide Google Analytics.

安裝

  1. Upload the sitewide-google-analytics folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to the Settings page, add your Analytics token/key, and check the enable box. Click the Save button.

常見問題

What is the Domain field?

The Domain field is for capturing statistics on multiple sub-domains. Please refer to Google’s documentation
for more information.
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#yourDomainName

評價

There are no reviews for this plugin.

貢獻者及開發者

“Sitewide Google Analytics” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sitewide Google Analytics 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.2

  • Forcing wordpress to update by updating stable tag in the header above.

1.2.1

  • Added upgrade information to this log.

1.2

  • update_option and get_option changed to update_site_option and get_site_option.

1.1

  • Added templates (previous version is non-working).

1.0

  • Initial submission.