Title: WP Scroll Depth
Author: firebrandllc
Published: <strong>2014 年 9 月 2 日</strong>
Last modified: 2018 年 12 月 6 日

---

搜索插件

![](https://ps.w.org/wp-scroll-depth/assets/banner-772x250.png?rev=977395)

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

![](https://s.w.org/plugins/geopattern-icon/wp-scroll-depth_84db24.svg)

# WP Scroll Depth

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

[下载](https://downloads.wordpress.org/plugin/wp-scroll-depth.1.5.1.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-scroll-depth/)

## 描述

WP Scroll Depth is a simple WordPress plugin that loads and calls the Scroll Depth
jQuery script.

Google Analytics doesn’t capture user scrolling information by default. This could
be very important information if you have tall, scrolling, pages. Scroll Depth sends
this information as Google Analytics events.
 _Update:_ Google Tag Manager now includes
Scroll Depth and Element Visibility triggers. If you are running GTM, you don’t 
really need this plugin.

From the Scroll Depth website:

> Scroll Depth is a small Google Analytics plugin that allows you to measure how
> far down the page your users are scrolling. It monitors the 25%, 50%, 75%, and
> 100% scroll points, sending a Google Analytics Event at each one.
>  You can also
> track when specific elements on the page are scrolled into view. On a blog, for
> example, you could send a Scroll Depth event whenever the user reaches the end
> of a post. The plugin supports Universal Analytics, Classic Google Analytics, 
> and Google Tag Manager.

More information about Scroll Depth can be found in [the Scroll Depth documentation](http://scrolldepth.parsnip.io/).

This version incorporates support for the new (Feb 2018) “gtag” Google Analytics
snippet [courtesy of Jalil Wahdatehagh](https://github.com/robflaherty/jquery-scrolldepth/commit/794fc523df040be6ee2fb1e80a7ffc54e8906be2).
This code has been modified to more closely match the event structure used by the
other GA implementations.

### Features:

 * Simple plugin – you don’t need to modify your theme to load the JavaScript
 * Implements basic scrolling events (25%, 50%, 75%, 100%) with no additional configuration
 * Admin Panel to configure all available options

### Requirements:

 * Google分析
 * jQuery 1.7 or higher

Since this plugin sends Google Analytics Events, you must be running Google Analytics
to see any results.

While jQuery is probably already available in your theme, in the unlikely event 
that it isn’t, you can use a plugin like [WP jQuery Plus](https://wordpress.org/plugins/wp-jquery-plus/)
to add it to your site.

## 屏幕截图

 * [[
 * The WP Scroll Depth admin panel.
 * [[
 * Google分析 Real-Time Events.
 * [[
 * Google分析 page scroll percentages.

## 安装

### 从WordPress.org安装

 1. Log into your website administrator panel
 2. Go to Plugins page and select “Add New”
 3. Search for “WP Scroll Depth”
 4. Click “Install Now” on the SearchCloak entry
 5. Click Activate Plugin

### Install via ftp

 1. Download the plugin zip file using the button above
 2. Log into your website administrator panel
 3. Go to Plugins page and select “Add New”
 4. Click “Upload”
 5. Choose your recently downloaded zip file
 6. Click the Install Now button
 7. Click Activate Plugin

## 常见问题

  First: Confirm the code is being added to your pages:

Load a page and view source. Look for “scrolldepth.” You should find:

 1. The line in the `<head>` section where scrolldepth.min.js is loaded.
 2. A script block in the `<head>` section where `jQuery.scrollDepth();` is being called.

If you don’t find the code there, then the plugin hasn’t loaded. Check the usual
suspects about [malfunctioning plugins](https://yoast.com/plugin-not-working/).

  Second: Make sure the code is executing:

Open the JavaScript/debugging console in your browser and load a page from your 
site.
 If there are no errors and the code is being loaded, then it’s probably working.
Time to test. If there’s an error or conflict, please post in the support forums.

  Third: Confirm events are being sent.

Open your Google Analytics and go to the Reporting tab for your site.
 Click on 
Real-time and then Events. Open another window or browser with your site. Scroll!
Scroll like the wind!

You should see events with a Category of “Scroll Depth.”
 If you don’t see these
events, make sure your Google Analytics is properly set up and configured.

## 评价

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

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-949/)󠁿

 [moritz.klassen](https://profiles.wordpress.org/moritzklassen/) 2018 年 12 月 2
日

Thanks for this great plugin. Does exactly what it should

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

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-2094/)󠁿

 [thedevelopers](https://profiles.wordpress.org/thedevelopers/) 2018 年 7 月 27 
日

Thanks for this. Saved some time with your plugin.

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

### 󠀁[Bit Of A Newb Here](https://wordpress.org/support/topic/bit-of-a-newb-here/)󠁿

 [davetimberwolf](https://profiles.wordpress.org/davetimberwolf/) 2016 年 11 月 
11 日 1 回复

I am a newb to event tracking, but I do use analytics and I have a G analytics plugin
working. So do I just install this plugin and wait for something to magically appear
on over on Analytics in the event area? I started using another plugin that does
clicks, so I was happily surprised to see that it magically started tracking individual
outbound link clicks, so is this plugin kind of like that too? Or should I be jamming
code in weird places? Yours Newb-ly, Dave

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

### 󠀁[Worked right out the box](https://wordpress.org/support/topic/worked-right-out-the-box/)󠁿

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

So simple and easy to set up and start tracking event in Google Analytics. Also 
very easy to use with Google Tag Manager to build some powerful tags.

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

### 󠀁[Good tool!!!](https://wordpress.org/support/topic/good-tool-34/)󠁿

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

Good tool, Good support!!!

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/wp-scroll-depth/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ firebrandllc ](https://profiles.wordpress.org/firebrandllc/)
 *   [ lonkoenig ](https://profiles.wordpress.org/lonkoenig/)

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.5.1

 * Added load_plugin_textdomain() for localization.

#### 1.5.0

 * Updated localization hooks for string constants
 * Incorporated support for gtag version of Google Analytics

#### 1.4.2

 * Tested with WordPress 4.9.6
 * Added privacy policy data collection information

#### 1.4.1

 * Tested with WordPress 4.9
 * Added notes about Google Tag Manager

#### 1.4.0

 * Tested with WordPress 4.8
 * Update scrolldepth library to version 1.0 (2016 12 17)

#### 1.3.4

Updated “Tested up to” version

#### 1.3.3

 * Removed default value for gaGlobal

#### 1.3.2

 * Fix version number in plugin

#### 1.3

 * Reformat readme.txt
 * Try to force new version number

#### 1.2.1

 * Fix readme.txt
 * Add missing screenshots
 * Add missing test in scrolldepth library

#### 1.2

Updated scrolldepth library to version 0.9 (2015 11 19)
 Added new options: – gtmOverride–
gaGlobal – eventHandler Tested with WordPress 4.4

#### 1.1

Updated scrolldepth library to version 0.7.1 (2014 12 19)
 Tested with WordPress
4.1

#### 1.0

Initial commit

## 额外信息

 *  版本 **1.5.1**
 *  最后更新：**8 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.2.1 或更高版本 **
 *  已测试的最高版本为 **5.0.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-scroll-depth/) 、 [German](https://de.wordpress.org/plugins/wp-scroll-depth/)
   和 [Swedish](https://sv.wordpress.org/plugins/wp-scroll-depth/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-scroll-depth)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[events](https://cn.wordpress.org/plugins/tags/events/)
   [scroll](https://cn.wordpress.org/plugins/tags/scroll/)[scroll depth](https://cn.wordpress.org/plugins/tags/scroll-depth/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-scroll-depth/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

[查看全部评论](https://wordpress.org/support/plugin/wp-scroll-depth/reviews/)

## 贡献者

 *   [ firebrandllc ](https://profiles.wordpress.org/firebrandllc/)
 *   [ lonkoenig ](https://profiles.wordpress.org/lonkoenig/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-scroll-depth/)