From 72605a4882dfb087db0a0c1d67e82114c2952e05 Mon Sep 17 00:00:00 2001 From: txavier Date: Fri, 1 Sep 2017 14:58:15 -0400 Subject: [PATCH] Update to allow hashtag paths This line change allows hashtags to appear in url. --- src/angulartics-piwik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angulartics-piwik.js b/src/angulartics-piwik.js index fdc5848..3ac7d4e 100644 --- a/src/angulartics-piwik.js +++ b/src/angulartics-piwik.js @@ -118,7 +118,7 @@ if ($window._paq) { $window._paq.push(['setDocumentTitle', $window.document.title]); - $window._paq.push(['setCustomUrl', path]); + $window._paq.push(['setCustomUrl',locationObj.$$absUrl]); $window._paq.push(['trackPageView']); } });