From fc3f356dc0eb809448699e9fb636dcd88df7cfbe Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 12 Jan 2016 01:23:39 +0000 Subject: [PATCH] GA --- src/vector/index.js | 1 + vector/index.html | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/src/vector/index.js b/src/vector/index.js index 4c79f11dd3..0ab5054b31 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -117,6 +117,7 @@ var onNewScreen = function(screen) { var hash = '#/' + screen; lastLocationHashSet = hash; window.location.hash = hash; + if (ga) ga('send', 'pageview', window.location.pathname + window.location.search + window.location.hash); } } diff --git a/vector/index.html b/vector/index.html index f81974729a..f27b01d1e8 100644 --- a/vector/index.html +++ b/vector/index.html @@ -48,5 +48,16 @@ +