mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Adding dash to pageview for prettier google-analytics listing
This commit is contained in:
@@ -52,7 +52,9 @@ var Channel = {
|
||||
var side = Helper.mobilecheck() ? "left" : "right";
|
||||
|
||||
if(window.location.hostname != "localhost") {
|
||||
ga('send', 'pageview');
|
||||
var page = window.location.pathname;
|
||||
if(page.substring(page.length - 1) != "/") page += "/";
|
||||
ga('send', 'pageview', page);
|
||||
}
|
||||
|
||||
window.onpopstate = function(e){
|
||||
|
||||
Reference in New Issue
Block a user