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']); } });