[WordPress] 外掛分享: Quick & Easy Google Analytics

首頁外掛目錄 › Quick & Easy Google Analytics
30+
安裝啟用
尚無評分
2115 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 5.2+ v1.0.2 上架:2015-07-22

內容簡介

提供所有前端頁面的標準網頁瀏覽量追蹤功能。有一個簡單的後台設置頁面,您只需要輸入您的 Google Analytics 追蹤 ID(例如:UA-12345678-9)。

如果需要更多控制和精細調整,超越在每個前端頁面插入相同的 Google Analytics 腳本,那麼這個外掛可能就無法滿足您的需求。

使用 Google 的通用分析(analytics.js)跟踪方法,而不是經典的 ga.js 方法。

基本用法

安裝完插件後,訪問「設置」>「Google Analytics」

輸入您的 Google Analytics 資產的追蹤 ID(形式為 UA-########-#),然後儲存。

追蹤代碼現在將被添加到所有前端頁面的網站標題。

注意

如果您的追蹤 ID 沒有符合此外掛認可的 Google Analytics 追蹤 ID 的格式,那麼這個值就不會被儲存。在這種情況下,您會看到設置頁面上的一條訊息,指出該追蹤 ID 無效。您的追蹤程式碼最終將不會按預期插入前端。

如果您遇到上述情況,請仔細檢查您輸入的追蹤 ID,刪除可能在複製/粘貼追蹤 ID 時誤操作複製/粘貼到一起的其他字符(例如空格),然後再嘗試儲存值。

如果您已經確認了您的追蹤 ID 是有效的,而且已經正確地輸入,但這個外掛仍然沒有儲存它,請開啟一個支援票證,這樣我們就可以進一步研究問題。由於 Google 理論上隨時可能增加新類型的追蹤 ID 格式,而且我們沒有能力不斷監控此類情況,支援票證是我們確保外掛隨時接受所有類型的有效追蹤 ID 的少數方式之一。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Quick & Easy Google Analytics」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Provides standard pageview tracking on all front end pages. Has a simple back end settings page where all you need to do is enter your Google Analytics Tracking ID (e.g. UA-12345678-9).
If more control/refinement is needed beyond inserting the same Google Analytics script on every front end page, then this plugin is not going to do what you need.
Uses Google’s Universal Analytics (analytics.js) tracking method, as opposed to the classic ga.js method.
Basic Usage

Once plugin is installed, visit Settings > Google Analytics

Enter the Tracking ID (has the form UA-########-#) for your Google Analytics property and save.

The tracking code will now be added to your site header on all front end pages.

Note
If your Tracking ID is not formatted in a way that this plugin recognizes as being a valid Google Analytics Tracking ID, then the value will not be saved. In this case, you will see a message on the settings page indicating the Tracking ID is invalid; and your tracking code will ultimately not be inserted on the front end as expected.
If you experience the above behavior, please double-check the Tracking ID you have entered, remove additional characters (such as spaces) that may have accidentally been copied/pasted along with the Tracking ID, and try saving the value again.
If you have confirmed your Tracking ID is valid and has been entered correctly but the plugin is still not saving it, please open up a support ticket so we can look into the issue further. Since Google could theoretically add new types of Tracking ID formats at any point, and since we don’t have the ability to constantly stay on the lookout for this, support tickets are one of the few ways that we can make sure the plugin accepts all types of valid Tracking ID’s over time.

延伸相關外掛

文章
Filter
Mastodon