Title: Pageviews
Author: Pressjitsu
Published: <strong>2016 年 7 月 8 日</strong>
Last modified: 2020 年 2 月 21 日

---

搜索插件

![](https://ps.w.org/pageviews/assets/banner-772x250.png?rev=1451114)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/pageviews/assets/icon-256x256.png?rev=1451114)

# Pageviews

 作者：[Pressjitsu](https://profiles.wordpress.org/pressjitsu/)

[下载](https://downloads.wordpress.org/plugin/pageviews.0.11.0.zip)

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

 [支持](https://wordpress.org/support/plugin/pageviews/)

## 描述

Pageviews is a simple and lightweight views counter for your WordPress posts and
pages. It is based on JavaScript and is compatible with all caching plugins, proxies
and complex setups. Pageviews works with a hosted processing service, and performs
extremely well under high-traffic and on sites with large amounts of content.

**Don’t start from scratch!** Import existing numbers from Google Analytics and 
other services with [Pageviews Sync](https://pageviews.io/sync/).

#### Features

 * Display the number of times a post or page has been viewed
 * Works on high-traffic websites with zero impact on performance
 * Includes useful hooks and APIs for seamless integration into third-party themes
 * Compatible with caching plugins, proxies and application firewalls

More information on [Pageviews.io](https://pageviews.io).

If you need any setup assistance or help migrating your existing views counts from
other plugins or services please reach out to us [via e-mail](https://pageviews.io/contact/),
or open a new thread in the WordPress.org support forums. For best performance Pageviews
uses an external service to collect and process numbers. Visit our [terms of service](https://pageviews.io/tos/)
and [privacy policy](https://pageviews.io/privacy/) for more details.

## 屏幕截图

 * [[
 * Customized implementation of the pageviews output, styled specifically for this
   theme
 * [[
 * Simple replacement for WP-PostViews and other popular plugins with inherited 
   styles
 * [[
 * Default output of the views counter for themes that don’t provide explicit support
   for this plugin

## 安装

Installing via the WordPress dashboard:

 1. Browse to Plugins – Add New in your WordPress dashboard.
 2. Search for “pageviews” using the search box on the right.
 3. Find the Pageviews plugin in the search results and click Install Now.

Installing via FTP:

 1. Upload the plugin files to the `/wp-content/plugins/pageviews` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Enjoy.

Installing via WP-CLI:

    ```
    wp plugin install pageviews --activate
    ```

Installing via Git:

    ```
    cd wp-content/plugins
    git clone https://github.com/pressjitsu/pageviews.git
    ```

For an installation and configuration guide please visit the [full documentation on GitHub](https://github.com/pressjitsu/pageviews).

## 评价

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

### 󠀁[Best Javascript based page view counts](https://wordpress.org/support/topic/best-javascript-based-page-view-counts/)󠁿

 [daro2013](https://profiles.wordpress.org/daro2013/) 2020 年 10 月 5 日 2 回复

Hi, This is the best Javascript-based page view counts for my website because it
works with other major CACHE plugins such as WP Fastest Cache, SuperCache, etc. 
without more custom codes. My only drawbacks of this plugin are: 1. It is dependent
on a third party website to count page views which may cause poor website performance.
2. There is no guide on how to reset those page view counts to Zero every month,
6 months or year, etc. However, I still give 5 STARs to this plugin despite the 
above drawbacks.

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

### 󠀁[Perfect Solution👌](https://wordpress.org/support/topic/perfect-solution%f0%9f%91%8c/)󠁿

 [willconkwright](https://profiles.wordpress.org/willconkwright/) 2018 年 3 月 29
日 1 回复

Installed this locally to test before utilizing on a client site and experienced
no problems whatsoever in either environment. I’m using it in a custom theme template
and the integration couldn’t have been simpler. Thank you for this fantastic plugin.
I’ve also used it on a CPT with no issues as can be seen here. Here is how I’m using
it on the blog.

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

### 󠀁[отлично](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d0%be-51/)󠁿

 [resident82](https://profiles.wordpress.org/resident82/) 2017 年 10 月 7 日

ничего лишнего, можно кастомизировать

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

### 󠀁[Simples e eficaz. Melhor é difícil.](https://wordpress.org/support/topic/simples-e-eficaz-melhor-e-dificil/)󠁿

 [Rui Freitas](https://profiles.wordpress.org/rui-freitas/) 2017 年 7 月 13 日

Excelente. Mais simples seria difícil. Faz o que se propõe sem configurações. Apresenta
as leituras de cada artigo de forma discreta e permite ir ao Google Analytics buscar
a contagem total. Excellent. Simpler would be difficult. It does what it proposes
without setings. Displays discreetly the views for each post and allows the user
to fetch all the views stored on Google Analytics.

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

### 󠀁[Sends information to plugin-author without asking by php-code](https://wordpress.org/support/topic/sends-information-to-plugin-author-without-asking-by-php-code/)󠁿

 [alexfreeskier](https://profiles.wordpress.org/alexfreeskier/) 2017 年 6 月 7 日
2 回复

But you can stop this if you delete the last lines (just between <body> and </body
> of auth.php Additionally it has no other settings-options, which is why I better
go with https://de.wordpress.org/plugins/post-views-counter/. Last but not least
it really does what it should, therefore at least 3 stars. Cheers and keep on improving
it.

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

### 󠀁[Simple and functional](https://wordpress.org/support/topic/simple-and-functional-55/)󠁿

 [Dmitry Mayorov](https://profiles.wordpress.org/iamdmitrymayorov/) 2016 年 11 月
2 日

Simple to integrate, easy to use. No settings page is awesome.

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/pageviews/reviews/)

## 贡献者及开发者

「Pageviews」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Pressjitsu ](https://profiles.wordpress.org/pressjitsu/)
 *   [ Gennady Kovshenin ](https://profiles.wordpress.org/soulseekah/)

「Pageviews」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/pageviews/contributors)
为本插件所做的贡献。

[帮助将「Pageviews」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pageviews)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.11.0

 * Added pageviews_script_version_param filter to remove JS version fragment
 * Added minification. Enjoy your pagespeeds.

#### 0.10.0

 * Added i18n
 * Russian translation
 * Added config.output_filter JavaScript filter for developers to filter the output
   number
 * A couple of typos

#### 0.9.3

 * Add compatibility for Pageviews Sync
 * Better configuration handling methods

#### 0.9.2

 * Add support for multiple containers per page for a single key
 * Add support for Jetpack’s Infinite Scroll module
 * Wrap the JS code into a triggerable event

#### 0.9.1

 * Initial public release

## 额外信息

 *  版本 **0.11.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/pageviews/) 、 [English (US)](https://wordpress.org/plugins/pageviews/)、
   [Italian](https://it.wordpress.org/plugins/pageviews/) 和 [Russian](https://ru.wordpress.org/plugins/pageviews/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/pageviews)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[Counter](https://cn.wordpress.org/plugins/tags/counter/)
   [hits](https://cn.wordpress.org/plugins/tags/hits/)[pageviews](https://cn.wordpress.org/plugins/tags/pageviews/)
   [views](https://cn.wordpress.org/plugins/tags/views/)
 *  [高级视图](https://cn.wordpress.org/plugins/pageviews/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/pageviews/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/pageviews/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/pageviews/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/pageviews/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/pageviews/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/pageviews/reviews/)

## 贡献者

 *   [ Pressjitsu ](https://profiles.wordpress.org/pressjitsu/)
 *   [ Gennady Kovshenin ](https://profiles.wordpress.org/soulseekah/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/pageviews/)