Skip to content

Commit 786014b

Browse files
authored
fix gtag
1 parent adee1cf commit 786014b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/play/play.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@
135135
// changeFavicon(`https://d1yh00vn2fvto7.cloudfront.net/games/${gameID}${item.thumbPath}`);
136136
setDescription(item.description + " Play now on CCPorted!");
137137
if(window.gtag) {
138-
window.gtag.push(["event", "game_loaded", {
138+
window.gtag("event", "game_loaded", {
139139
gameID: gameID,
140140
gameName: item.fName,
141141
hostname: window.location.hostname
142-
}])
142+
})
143143
}
144144
}
145145
});

0 commit comments

Comments
 (0)