Title: Simple Analytics Tag
Author: Rik
Published: <strong>2019 年 10 月 25 日</strong>
Last modified: 2020 年 10 月 6 日

---

搜尋外掛

![](https://ps.w.org/simple-analytics-tag-beta/assets/banner-772x250.jpg?rev=2362262)

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

![](https://ps.w.org/simple-analytics-tag-beta/assets/icon-256x256.jpg?rev=2362262)

# Simple Analytics Tag

 由 [Rik](https://profiles.wordpress.org/betacore/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-analytics-tag-beta.1.4.1.zip)

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

 [技術支援](https://wordpress.org/support/plugin/simple-analytics-tag-beta/)

## 外掛說明

Simple Analytics Tag helps you get up and running quick.
 This plugin has a non-
intrusive interface and fits very well within the WordPress Settings menu. Just 
paste in the ID from Google Tagmanager or Google Analytics and you are good to go.
For older themes that don’t support the hook right after the body tag there is a
function available you can throw in to make it work. Easy!

#### Simple Analytics Tag contains the following features:

 * Google Tagmanager Code
 * Google Analytics Code
 * Just paste in the ID and save!
 * For older themes there is a custom hook
 * Simple and clean admin menu page

#### Note that there are themes that don’t have the ‘wp_body_open();’ hook below the body tag

For these older themes there is the option to put the second half of the Google 
Tagmanager code in the footer. This is not optimal but still works. If you have 
a custom theme you can add the hook below the body yourself or request an update
on your theme at the shop that created it. Eitherway this plugin will work on the
themes that have or do not have the hook. You will have to look in the source code
if both Google Tagmanager code blocks are loaded.

#### DIY

For the DIY people there is an custom function you can use to paste the code in 
place.

## 螢幕擷圖

[⌊Add your UA or GTM code in the field. For GTM codes there are extra settings.⌉⌊
Add your UA or GTM code in the field. For GTM codes there are extra settings.⌉[

Add your UA or GTM code in the field. For GTM codes there are extra settings.

## 安裝方式

 1. Upload the unpacked folder to the “/wp-content/plugins/” directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to the settings menu and click on the Analytics Tag item.
 4. Add the GTM or UA code and submit. It should work!

## 常見問題集

### How simple is it?

Oh yes it sure can! Like, super simple! Just pop in the ID and you are good to go!

### Does it work with Google Tagmanager?

Yes, it does. Just copy and paste the ID in the field and add the function below
the tag. Newer templates have a hook there so that works even better.

### Does it work with Google Analytics?

Yes, it does. Just copy and paste the ID in the field and you are good to go.

### Does it work with all themes?

Note that there are themes that don’t have the ‘wp_body_open();’ hook below the 
body tag in the header.php.
 For these (older) themes there is the option to put
the second half of the Google Tagmanager code in the footer. This is not optimal
but still works. If you have a custom theme you can add the hook below the body 
yourself or request an update on your theme at the shop that created it. Eitherway
this plugin will work on the themes that have or do not have the hook. You will 
have to look in the source code if both Google Tagmanager code blocks are loaded.

### Is half of it unusable because I have to pay?

No. The entire thing is free and will be for the unforseeable future. A cup of coffee
is welcome though!

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Simple Analytics Tag〉的開發相關工作。

參與者

 *   [ Rik ](https://profiles.wordpress.org/betacore/)

[將〈Simple Analytics Tag〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-analytics-tag-beta)

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

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

## 變更記錄

#### 1.4.1

 * Big code overhaul, refactored a lot
 * Small interface changes to make it cleaner and more WordPressy
 * Small bug fixes here and there

#### 1.3.2

 * Branding update
 * Precautionary extra sanitisation

#### 1.3.1

 * Branding update
 * Readyme update
 * Tested in 5.4

#### 1.3

 * Branding update

#### 1.2

 * Made compatible with WordPress 5.3

#### 1.1

 * Gui fixes

#### 1.0

 * Full release.
 * Added languages
 * Small fixes

#### 0.2 to 0.5

 * Better hook support
 * GTM tags now supported as well

#### 0.1

 * First version. All the basic functionalities.

## 中繼資料

 *  版本 **1.4.1**
 *  最後更新 **6 年前**
 *  啟用安裝數 **40+**
 *  WordPress 版本需求 ** 5.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.24**
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-analytics-tag-beta/)
 * 標籤:
 * [google analytics](https://tw.wordpress.org/plugins/tags/google-analytics/)[gtm](https://tw.wordpress.org/plugins/tags/gtm/)
   [UA](https://tw.wordpress.org/plugins/tags/ua/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-analytics-tag-beta/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/simple-analytics-tag-beta/reviews/#new-post)

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

## 參與者

 *   [ Rik ](https://profiles.wordpress.org/betacore/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-analytics-tag-beta/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.patreon.com/wpaudit)