From 7a9721f46675297548be419f888eca4eacee2a3a Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Fri, 15 May 2015 09:52:35 -0400 Subject: [PATCH] Track fragments --- js/scratchx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/scratchx.js b/js/scratchx.js index 1b0bf17..95fe02c 100644 --- a/js/scratchx.js +++ b/js/scratchx.js @@ -417,7 +417,7 @@ $(window).on('hashchange', function(e) { $(document).on("page:show", function(e, page){ - ga("send", "pageview", page); + ga("send", "pageview", '#' + page); ga("set", "referrer", document.location.origin + document.location.pathname + document.location.hash) });