From 00c8bd9da9e3cad17e47a4a6db54e688643ccd42 Mon Sep 17 00:00:00 2001 From: Rob Flaherty Date: Fri, 13 Apr 2012 18:46:03 -0400 Subject: [PATCH] Updating project page with plugin requirements --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index cd509bb..484f351 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@

jQuery Scroll Depth

Data is sent to Google Analytics so it's required that you have Google Analytics tracking implemented on your site.

Setting it up

-

It's easy to set up. First, make sure you're using the Google Analytics asynchronous tracking code. This is required; the plugin will not work with the old version of the tracking code. Then include jQuery and the plugin. After that you just have to initialize the plugin. It looks like this:

+

It's easy to set up. First, make sure you're using the Google Analytics asynchronous tracking code (this is required; the plugin will not work with the old version of the tracking code). Then include jQuery (1.7+) and the plugin. After that you just have to initialize the plugin. It looks like this:

@@ -78,6 +78,12 @@ 

Google Analytics Events and Bounce Rate

Last October Google Analytics added an opt_noninteraction option to turn off this behavior (thanks to @justinph for the heads-up). The 0.1.1 release of this plugin now uses this option which means your bounce rate won't be affected. If you downloaded the first release and care about the displayed bounce rate, make sure to update to the latest version.

+

Requirements

+
    +
  • Google Analytics asynchronous tracking snippet
  • +
  • jQuery version 1.7+
  • +
+

Browser Support

Tested in Chrome (18), Firefox (8), Safari (5), Opera (10), IE (7-10). Also tested on iOS, Opera Mobile, and a few Android emulators.