Permalink
Browse files

Merge pull request #1 from dericcrago/patch-1

changed wording around possibly double counting page load and added the ...
  • Loading branch information...
Kendall Buchanan
Kendall Buchanan committed Feb 6, 2012
2 parents 1f1b219 + edbd116 commit 8572d037d196880a6c9b25aa02e4412b52151ee1
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -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**:

0 comments on commit 8572d03

Please sign in to comment.