diff --git a/metager/resources/js/statistics.js b/metager/resources/js/statistics.js index 5a9df338ee85f3465e7b8823c18a38e4281d7d72..96f2be88b8ac502a067098d7e360fe4b952adeaf 100644 --- a/metager/resources/js/statistics.js +++ b/metager/resources/js/statistics.js @@ -74,7 +74,7 @@ class Statistics { // Page URL try { - params.url = document.location.href; + params.url = document.location.protocol + "//" + document.location.pathname.replace(/^\/[a-z]{2}-[A-Z]{2}/, "") + document.location.search + document.location.hash; } catch (error) { } // Page Title