Skip to content

Commit c55988d

Browse files
committed
Adding note about jQuery 1.7+ requirement. Fixes robflaherty#3
1 parent 5c34a5a commit c55988d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ This is a jQuery plugin that keeps an eye on how far down the page a user has sc
33

44
In addition to the percentage scroll marks you can trigger events based on specific DOM elements. For example you can tell the plugin to report whenever the article comments div is scrolled into view, or whenever the footer is reached.
55

6-
Data is sent to Google Analytics so it's required that you have Google Analytics tracking implemented on your site.
7-
86
[View the Project Page](http://robflaherty.github.com/jquery-scrolldepth/)
97

108
[View the Blog Post](http://www.ravelrumba.com/blog/tracking-scroll-depth-jquery-google-analytics/)
@@ -21,6 +19,10 @@ $.scrollDepth({
2119
percentage: false, // Don't track depth percentage | Default: true
2220
});
2321
```
22+
## Requirements
23+
* Google Analytics asynchronous tracking snippet
24+
* jQuery 1.7+
25+
2426
## GA Events Warning
2527
<del>GA Events data messes with your bounce rate.</del> As of version 0.1.1 of this plugin, the scroll events no longer impact your bounce rate. If you downloaded the initial 0.1.0 release and you care about the GA displayed bounce rate, update to the latest version.
2628

0 commit comments

Comments
 (0)