Title: AWStats Script
Author: Jorge Garcia de Bustos
Published: <strong>2008 年 6 月 28 日</strong>
Last modified: 2008 年 7 月 1 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/awstats-script.svg)

# AWStats Script

 由 [Jorge Garcia de Bustos](https://profiles.wordpress.org/jgbustos/) 開發

[下載](https://downloads.wordpress.org/plugin/awstats-script.0.3.zip)

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

 [技術支援](https://wordpress.org/support/plugin/awstats-script/)

## 外掛說明

[AWStats](http://awstats.sourceforge.net/) is a free log file analysis
 tool for
web servers. It consists of a collection of Perl scripts that analyse Apache-style
access logs and produce graphical web pages with extended information about the 
visits.

#### Browser Data Collection

AWStats can collect information about the browser capabilities and screen size,

but that requires embedding a `<script>` HTML tag in all the pages. This calls a
JavaScript function contained in the file `awstats_misc_tracker.js` that will report
the extra data to the web server in a specific HTTP GET request. An extended explanation
is provided in the [AWStats FAQ](http://awstats.sourceforge.net/docs/awstats_faq.html#SCREENSIZE)

This plugin simplifies the job of adding the required `<script>` tag and provides

the latest stable version of the `awstats_misc_tracker.js` file, both in extended
and “minified” version using the [Yahoo YUI Compressor](http://developer.yahoo.com/yui/compressor/).

#### Placing the Script

To speed-up the page rendering, the `<script>` tag is best placed at the bottom

of the page. This is the preferred option for WordPress themes that have a footer.
If the theme doesn’t have a footer, the tag is added to the page header. This behaviour
can be controlled using the plugin’s settings page. This has been borrowed from 
the [Google Analyticator](http://cavemonkey50.com/code/google-analyticator) plugin
by Ronald Heft Jr.

#### No Logging for Administrators

The plugin also allows administrators to remove themselves and their visits from

the AWStats log. There is a field in the settings page where we can enter the user
level (a number from 0 to 10) above which the plugin will omit the `<script>` tag.

## 螢幕擷圖

 * [[
 * Settings page with default values, right after activation.
 * [[
 * Most typical configuration, adding the `<script>` tag at the page footer and 
   disabling the AWStats logging for blog admins (level 8 or greater).

## 安裝方式

 1. Upload the `awstats-script` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure and enable the plugin in the ‘AWStats Script’ Options page

## 使用者評論

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

### 󠀁[Does what it should](https://wordpress.org/support/topic/does-what-it-should-26/)󠁿

 [troch](https://profiles.wordpress.org/troch/) 2016 年 9 月 3 日

This plugin happily loads the AWstats javascript in the page footer.

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

## 參與者及開發者

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

參與者

 *   [ Jorge Garcia de Bustos ](https://profiles.wordpress.org/jgbustos/)

[將〈AWStats Script〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/awstats-script)

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

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

## 變更記錄

#### Version 0.3 (01/07/2008)

 * BUGFIX: Added `alt` attribute for `<img>` inside `<noscript>`
 * BUGFIX: Closed the `<img>` tag properly
 * BUGFIX: Removed a superfluous double quote that broke XHTML validation

#### Version 0.2 (29/06/2008)

 * NEW: Screenshots of settings page
 * NEW: Support for i18n

#### Version 0.1 (29/06/2008)

 * First release

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **18 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 2.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.5.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/awstats-script/)
 * 標籤:
 * [awstats](https://tw.wordpress.org/plugins/tags/awstats/)
 *  [進階檢視](https://tw.wordpress.org/plugins/awstats-script/advanced/)

## 評分

 5 星，滿分為 5 星

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

[Your review](https://wordpress.org/support/plugin/awstats-script/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/awstats-script/reviews/)

## 參與者

 *   [ Jorge Garcia de Bustos ](https://profiles.wordpress.org/jgbustos/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/awstats-script/)