Title: Tiny gtag.js Analytics
Author: Roy Orbitson
Published: <strong>2018 年 11 月 22 日</strong>
Last modified: 2025 年 10 月 29 日

---

搜尋外掛

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

![](https://ps.w.org/tiny-gtag-js-analytics/assets/icon-256x256.png?rev=2178931)

# Tiny gtag.js Analytics

 由 [Roy Orbitson](https://profiles.wordpress.org/lev0/) 開發

[下載](https://downloads.wordpress.org/plugin/tiny-gtag-js-analytics.3.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tiny-gtag-js-analytics/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tiny-gtag-js-analytics/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tiny-gtag-js-analytics/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tiny-gtag-js-analytics/#developers)

 [技術支援](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/)

## 外掛說明

A simple, light, ad-free plugin to enable Google’s global site tag. This enables
analytics and conversion tracking via **gtag.js** on your WordPress site. You can
customise it by adding extra JavaScript, and further extend the plugin’s functionality
using the provided `tiny_gtag_js_analytics_output` hook.

## 安裝方式

 1. Upload the entire, extracted plugin directory to the `wp-content/plugins/` directory,
    or install the plugin through the WordPress Plugins screen directly.
 2. Activate the plugin through the Plugins screen.
 3. Go to _Settings > gtag.js_, add your Analyics and/or AdWords IDs, and save.
 4. Clear caches of any optimisation plugins, or CDNs you use on your site, if any.

## 使用者評論

![](https://secure.gravatar.com/avatar/4c76d9f6d43ca0d7f8b1f74e5f9574b3068c222281ed6e56a679049c7e7f37e0?
s=60&d=retro&r=g)

### 󠀁[awesome，helped me a lot](https://wordpress.org/support/topic/awesome%ef%bc%8chelped-me-a-lot/)󠁿

 [zengxiaoluan](https://profiles.wordpress.org/zengxiaoluan/) 2023 年 6 月 14 日

That plugin has saved my life

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Tiny gtag.js Analytics〉的開發相關工作。

參與者

 *   [ Roy Orbitson ](https://profiles.wordpress.org/lev0/)

[將〈Tiny gtag.js Analytics〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tiny-gtag-js-analytics)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tiny-gtag-js-analytics/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/tiny-gtag-js-analytics/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/tiny-gtag-js-analytics/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tiny-gtag-js-analytics/)。

## 變更記錄

#### 3.1.0

 * Added option to limit tracking to visitors and selected roles.
 * Added option to delay main script output until `</body>`.
 * Higher min. required versions of WP and PHP.

#### 3.0.1

 * Fixed crash on first settings save.

#### 3.0.0

 * Support for GA4 IDs.
 * Changed inputs to `tiny_gtag_js_analytics_output` filter hook, update any integration
   accordingly. (Does not affect typical plugin usage.)

#### 2.0.0

 * Support for AdWords IDs.
 * Made tracking ID(s) available to other scripts via `tinyGtagJsOptions` global
   variable.
 * Link to settings from Plugins page.
 * Support output after `<body>` as recommended by Google.
 * Fixed filter hook.
 * Fixed i18n.

#### 1.0.1

 * Better form validation.

## 中繼資料

 *  版本 **3.1.0**
 *  最後更新 **11 個月前**
 *  啟用安裝數 **400+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.10**
 *  PHP 版本需求 ** 7.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tiny-gtag-js-analytics/)
 * 標籤:
 * [analytics](https://tw.wordpress.org/plugins/tags/analytics/)[google](https://tw.wordpress.org/plugins/tags/google/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tiny-gtag-js-analytics/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/reviews/)

## 參與者

 *   [ Roy Orbitson ](https://profiles.wordpress.org/lev0/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tiny-gtag-js-analytics/)