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

Analytics Tracker

描述

If you like the plugin, feel free to rate it. Thank You!

Analytics Tracker utilizes the latest and greatest features of Google global site tag (gtag.js) and makes it super easy to add tracking code on your blog.

This is one of the simplest to use WordPress plugins to insert Google Analytics code on your websites built in WordPress.

Google Analytics is now the most widely used web analytics service on the Internet.

Features:

  • Support AMP – Insert code to Accelerated Mobile Pages, require AMP plugin created by Automattic.
  • Force SSL – Setting forceSSL to true will force http pages to also send all beacons using https.
  • User ID – This is intended to be a known identifier for a user provided by the site owner/tracking library user.
  • Anonymize IP – The IP address of the sender will be anonymized
  • Display Features – The plugin works by sending an additional request to stats.g.doubleclick.net that is used to provide advertising features like remarketing and demographics and interest reporting in Google Analytics.
  • Enhanced Link Attribution – Enhanced Link Attribution improves the accuracy of your In-Page Analytics report by automatically differentiating between multiple links to the same URL on a single page by using link element IDs.
  • Custom Dimensions – You can use custom dimensions to track: Tags, Category, Archive, Author, Post Format, Post Type
  • Event – for Download, Email, Phone number, Outbound links, Error 404, Search, Add a comment, Scroll Depth

Analytics Tracker on GitHub
You can submit feature requests or bugs on Analytics Tracker repository.

Localization

You can translate Analytics Tracker on translate.wordpress.org.

螢幕截圖

  • Google Analytics Settings

安裝

In most cases you can install automatically from WordPress.org.

However, if you install this manually, follow these steps:
1. Upload the Analytics Tracker plugin to your site;
2. Activate the plugin through the \’Plugins\’ menu in WordPress;
3. Then enter your Google Analytics tracking ID (UA-XXXXXXX-YY);
You’re done!

If you don’t have an Google Analytics ID, you need to go to Google Analytics, create an account and get the code, similar to UA-XXXXXXX-YY

常見問題

Installation Instructions

In most cases you can install automatically from WordPress.org.

However, if you install this manually, follow these steps:
1. Upload the Analytics Tracker plugin to your site;
2. Activate the plugin through the \’Plugins\’ menu in WordPress;
3. Then enter your Google Analytics tracking ID (UA-XXXXXXX-YY);
You’re done!

If you don’t have an Google Analytics ID, you need to go to Google Analytics, create an account and get the code, similar to UA-XXXXXXX-YY

How can I suggest a new feature, contribute or report a bug?

You can submit pull requests, feature requests and bug reports on our GitHub repository.

What are the requirements to use this plugin?

You need an active Google Analytics account and obviously a WordPress blog.

Where can I see the analytics report?

You can see your detailed analytics report in your Google Analytics account.

What data does the tracking snippet capture?

When you add either of these tracking snippets to your website, you send a pageview for each page your users visit. Google Analytics processes this data and can infer a great deal of information including:

  • The total time a user spends on your site.
  • The time a user spends on each page and in what order those pages were visited.
  • What internal links were clicked (based on the URL of the next pageview).

In addition, the IP address, user agent string, and initial page inspection analytics.js does when creating a new tracker is used to determine things like the following:

  • The geographic location of the user.
  • What browser and operating system are being used.
  • Screen size and whether Flash or Java is installed.
  • The referring site.

評價

閱讀全部2個評價

貢獻者及開發者

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

貢獻者

Analytics Tracker 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

修改日誌

2.0.1

  • Added compatibility with PHP 7.2

2.0.0

  • Use Global Site Tag (gtag.js)
  • Deleted Force SSL

1.1.1

  • Fixed XSS vulnerability on search event, thanks to Arjan Snaterse – https://www.uprise.nl

1.1.0

  • Added tracking code for Accelerated Mobile Pages (Require AMP plugin https://wordpress.org/plugins/amp/)

1.0.5

  • Fixed Event for Download, Email, Phone number and Outbound links

1.0.4

  • Added event for Add a Comment
  • Added event for Scroll Depth
  • Fixed Options for Custom dimension

1.0.3

  • Added Enhanced Link Attribution
  • Added Events for Download, Email, Phone number, Outbound links, Error 404, Search

1.0.2

  • Added Force SSL
  • Added User ID
  • Added Anonymize IP
  • Added Display Features
  • Added Custom Dimensions

1.0.1

  • Added my WordPress Themes
  • Fixed Regex for UA Code

1.0.0

  • First Release