aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/templates/docs.js')
-rw-r--r--docs/src/templates/docs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js
index 47d294c3..244ccce1 100644
--- a/docs/src/templates/docs.js
+++ b/docs/src/templates/docs.js
@@ -47,7 +47,8 @@ function DocsController($location, $browser, $window) {
this.afterPartialLoaded = function() {
SyntaxHighlighter.highlight();
- window.scrollTo(0,0);
+ $window.scrollTo(0,0);
+ $window._gaq.push(['_trackPageview', $location.hashPath.replace('!', '/')]);
};
this.getFeedbackUrl = function() {