Title: StatCounter &#8211; Free Real Time Visitor Stats
Author: StatCounter
Published: <strong>2008 年 2 月 11 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜索插件

![](https://ps.w.org/official-statcounter-plugin-for-wordpress/assets/icon.svg?rev
=1988081)

# StatCounter – Free Real Time Visitor Stats

 作者：[StatCounter](https://profiles.wordpress.org/statcounter/)

[下载](https://downloads.wordpress.org/plugin/official-statcounter-plugin-for-wordpress.2.1.2.zip)

 * [详情](https://cn.wordpress.org/plugins/official-statcounter-plugin-for-wordpress/#description)
 * [评价](https://cn.wordpress.org/plugins/official-statcounter-plugin-for-wordpress/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/official-statcounter-plugin-for-wordpress/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/official-statcounter-plugin-for-wordpress/#developers)

 [支持](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/)

## 描述

The Official StatCounter WordPress Plugin brings you all the powerful StatCounter
features to your wordpress blog.

Including but not limited to the following:

 * [Invisible Counter Option](http://statcounter.com/features/#invisible-counter)
 * [Configurable Counter](http://statcounter.com/features/#configurable-counter)
 * [Configurable Summary Stats](http://statcounter.com/features/#configurable-summary-stats)
 * [Magnify User](http://statcounter.com/features/#magnify-user)
 * [Drill Down](http://statcounter.com/features/#drill-down)
 * [Popular Pages](http://statcounter.com/features/#popular-pages)
 * [Entry Pages](http://statcounter.com/features/#entry-pages)
 * [Exit Pages](http://statcounter.com/features/#exit-pages)
 * [Came From](http://statcounter.com/features/#came-from)
 * [Keyword Analysis](http://statcounter.com/features/#keyword-analysis)
 * [Recent Keyword Activity](http://statcounter.com/features/#recent-keyword-activity)
 * [Search Engine Wars](http://statcounter.com/features/#search-engine-wars)
 * [Visitor Paths](http://statcounter.com/features/#visitor-paths)
 * [Visit Length](http://statcounter.com/features/#visit-length)
 * [Returning Visits](http://statcounter.com/features/#returning-visits)
 * [Recent Pageload Activity](http://statcounter.com/features/#recent-pageload-activity)
 * [Recent Visitor Activity](http://statcounter.com/features/#recent-visitor-activity)
 * [Country/State/City Stats](http://statcounter.com/features/#country-state-city-stats)
 * [Recent Visitor Google Map](http://statcounter.com/features/#visitor-map)
 * [ISP Stats](http://statcounter.com/features/#isp-stats)
 * [Browser Stats](http://statcounter.com/features/#browser-stats)
 * [O.S. Stats](http://statcounter.com/features/#os-stats)
 * [Resolution Stats](http://statcounter.com/features/#resolution-stats)
 * [JavaScript Stats](http://statcounter.com/features/#javascript-stats)
 * [Email Reports](http://statcounter.com/features/#email-reports)
 * [Multiple Site Management](http://statcounter.com/features/#multiple-site-management)
 * [User Access Management](http://statcounter.com/features/#user-access-management)
 * [Public Stats](http://statcounter.com/features/#public-stats)
 * [Blocking Cookie](http://statcounter.com/features/#blocking-cookie)

## 屏幕截图

 * [[
 * Example StatCounter.com Summary Stats
 * [[
 * Using the magnify tool, you can “zoom in” on individual visitors and get a detailed
   report on where they are from, their system settings, and most importantly, what
   link reffered them to your site and their navigation path through your site.

## 安装

StatCounter is a free web traffic analysis service, which provides summary stats
on all your traffic and a detailed analysis of your last 500 page views. This limit
can be increased by subscribing to their paid service.

To activate the StatCounter service for your WordPress site:

 * [Sign Up](http://statcounter.com/sign-up/) with StatCounter or [add a new project](http://statcounter.com/add-project/)
   to your existing account
 * The installation process will detect your WordPress installation and provide 
   you with your Project ID and Security Code
 * The installation instructions are also available at [http://statcounter.com/wordpress.org/](http://statcounter.com/wordpress.org/)

## 常见问题

### Do you have any questions?

[Please contact us here with your query.](http://statcounter.com/about/contact/)

## 评价

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

### 󠀁[All is well](https://wordpress.org/support/topic/dont-ever-pay-for-this-service/)󠁿

 [beckymash](https://profiles.wordpress.org/beckymash/) 2023 年 5 月 6 日 1 回复

Appreciate response from customer service. I should be more patient. I do like the
service.

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

### 󠀁[Sadly it’s not up to par with the service](https://wordpress.org/support/topic/sadly-its-not-up-to-par-with-the-service/)󠁿

 [magen1](https://profiles.wordpress.org/magen1/) 2023 年 4 月 9 日 3 回复

The service is great but the plugin to use it in Wordpress is TERRIBLE.Don’t know
why this huge nonsense, is not loading at all, so is totally useless to have a plugin
instead of a simple code to put in the footer. Use just the code instead.

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

### 󠀁[Just give me 1 line off code, not a plugin!](https://wordpress.org/support/topic/just-give-me-1-line-off-code-not-a-plugin/)󠁿

 [DutchMan0](https://profiles.wordpress.org/dutchapex/) 2023 年 3 月 9 日 1 回复

Forced too use a plugin? Why? I am not getting more stats. But you are.I need 1 
line of code, not a entire plugin. Moving over to Google Analytics, bye! BTW; stop
writing fake positive reviews, nobody needs your crappy plugin.

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

### 󠀁[Cannot login or view homepage to login!](https://wordpress.org/support/topic/cannot-login-or-view-homepage-to-login/)󠁿

 [candy4321](https://profiles.wordpress.org/candy4321/) 2023 年 3 月 7 日 1 回复

I have used Statcounter for over 5 years and all of the sudden I cannot view the
homepage nor login. I get a text only front page, then when I hit ‘login’ it goes
to the original site homepage (in html and grapics) but it’s only in the background.
What is wrong? Is it that I’ve never paid for an upgrade? Are they blocking my access
on purpose? I have had other people in the UK and the US try to view thier homepage
and they see it with no problem so I have no option to believe that they are after
5 yrs or more just blocking me.

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

### 󠀁[Zero, zilch, no support](https://wordpress.org/support/topic/zero-zilch-no-support/)󠁿

 [](https://profiles.wordpress.org/loades/) 2022 年 8 月 21 日 1 回复

Website has a contact form which acknowledges receipt of message but you never get
a response. Regular emails are sent encouraging you to upgrade to Premium with a
Reply to address address for queries. An auto-acknowledgement email with ticket 
number is sent. But the ticket is never responded to. My advice is not to install
StatCounter and if you have remove the plugin.

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

### 󠀁[Rubbish](https://wordpress.org/support/topic/rubbish-70/)󠁿

 [amystonebik](https://profiles.wordpress.org/amystonebik/) 2022 年 1 月 2 日

It’s just a pain in the ass to go through a lot of step just to get it activated
and eventually it won’t work out. Besides it’s limited to 500 page views or you 
gotta purchase a premium version. All these fake reviews won’t help out because 
real users try it!!

 [ 阅读所有47条评价 ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/)

## 贡献者及开发者

「StatCounter – Free Real Time Visitor Stats」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ StatCounter ](https://profiles.wordpress.org/statcounter/)

[帮助将「StatCounter – Free Real Time Visitor Stats」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/official-statcounter-plugin-for-wordpress)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/official-statcounter-plugin-for-wordpress/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/official-statcounter-plugin-for-wordpress/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/official-statcounter-plugin-for-wordpress/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/official-statcounter-plugin-for-wordpress/)。

## 更新日志

#### 2.1.2

Security fix: properly escape the post author nickname in the front-end author tag
script (CVE-2026-6275). Tested up to WordPress 7.0.

#### 2.0.9

Updated security checks

#### 2.0.8

Added additional security checks

#### 2.0.7

Added additional sanitation to prevent XSS attacks

#### 2.0.6

Readme fix

#### 2.0.5

Bug fix for async JS support

#### 2.0.4

Async JS support

#### 2.0.2

Compatibility enhancements

#### 2.0.1

Security enhancements

#### 2.0

StatCounter Tags supported.

#### 1.7.1

Removed unnecessary type attribute from script element

#### 1.7

Updated constant definitions to be case sensitive

#### 1.6.9

Fixed small bug with form

#### 1.6.8

Addd StatCounter https compatible code

#### 1.6.7

Support https/http for wordpress admin section when viewing StatCounter stats

#### 1.6.6

Removed deprecated function calls

#### 1.6.5

Modified url used for dashboard to not include project id when it has not been set.

#### 1.6.4

Improved UI to give error message in dashboard when no project id has been set

#### 1.6.3

 * Bug fix to prevent user entry of whitespace characters for Project ID and Security
   Code

#### 1.6.2

 * Bug fix for Upgrade with PayPal link.

#### 1.6.1

 * Correct incorrect spelling of ‘invisibility’

#### 1.6

 * Removed the ‘Logging Enabled/Disabled’ option (you can deactivate the plugin 
   instead). Updated installation instructions.

#### 1.5

 * Removed option to set partition – no longer required.

#### 1.4

 * Added noscript to StatCounter code – allowing non-javascript enabled visitors
   to be tracked.

#### 1.3

 * Added counter position option. Allows you to specify the position of the counter
   in the header or footer.
 * Added ‘forced invisibility’ option. Allows you to enable an invisible counter
   without logging into your StatCounter account.

#### 1.2

 * Fixed critical bug.

#### 1.1

 * Added ability to view StatCounter Stats from within the WordPress Admin.

## 额外信息

 *  版本 **2.1.2**
 *  最后更新：**2 周前**
 *  活跃安装数量 **70,000+**
 *  WordPress 版本 ** 2.0.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/official-statcounter-plugin-for-wordpress/)
 * 标签
 * [Counter](https://cn.wordpress.org/plugins/tags/counter/)[hit](https://cn.wordpress.org/plugins/tags/hit/)
   [statistics](https://cn.wordpress.org/plugins/tags/statistics/)[stats](https://cn.wordpress.org/plugins/tags/stats/)
   [web](https://cn.wordpress.org/plugins/tags/web/)
 *  [高级视图](https://cn.wordpress.org/plugins/official-statcounter-plugin-for-wordpress/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  33 条 5 星评价     ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/?filter=3)
 *  [  2 条 2 星评价     ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/?filter=2)
 *  [  9 条 1 星评价     ](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/reviews/)

## 贡献者

 *   [ StatCounter ](https://profiles.wordpress.org/statcounter/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/official-statcounter-plugin-for-wordpress/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://statcounter.com/)