Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from dericcrago/patch-1

changed wording around possibly double counting page load and added the ...
  • Loading branch information...
commit 8572d037d196880a6c9b25aa02e4412b52151ee1 2 parents 1f1b219 + edbd116
@kendagriff authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -12,7 +12,8 @@ A drop-in plugin that integrates Google's `trackEvent` directly into Backbone's
Add the [asynchronous Google Analytics code](http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html) to your site.
-Removing this line will prevent double counting if you load your page, and then call Backbone's route right afterwards.
+If you run `Backbone.history.start()` with the `silent: false` option (it's the default) then you may want to remove the following line from your tracking snippet to prevent Google from possibly double counting the initial page load.
+`_gaq.push(['_trackPageview']);`
Add these dependencies to your site's `<head>`, **in order**:
Please sign in to comment.
Something went wrong with that request. Please try again.