mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Analytics pageview on navigation
This commit is contained in:
@@ -386,6 +386,7 @@ function initfp() {
|
||||
//Materialize.toast('<p id="aprilfools">We suck at pranks..<a class="waves-effect waves-light btn light-green" style="pointer-events:none;">Agreed</a></p>', 100000);
|
||||
}
|
||||
|
||||
ga('send', 'pageview');
|
||||
|
||||
window.onpopstate = function(e){
|
||||
var url_split = window.location.href.split("/");
|
||||
|
||||
@@ -200,6 +200,8 @@ function init(){
|
||||
mobile_beginning = Helper.mobilecheck();
|
||||
var side = Helper.mobilecheck() ? "left" : "right";
|
||||
|
||||
ga('send', 'pageview');
|
||||
|
||||
window.onpopstate = function(e){
|
||||
onepage_load();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user