mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Track game version
This commit is contained in:
@@ -236,6 +236,7 @@ Promise.all([
|
||||
|
||||
treeVersionLabel.textContent = id
|
||||
version = id
|
||||
ga('set', 'dimension3', version);
|
||||
updateModel()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
ga('set', 'page', location.pathname.replace(/^\/dev/, ''))
|
||||
ga('set', 'dimension1', localStorage.getItem('theme') ?? 'default');
|
||||
ga('set', 'dimension2', 'v2');
|
||||
ga('set', 'dimension3', localStorage.getItem('schema_version') ?? '1.17');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<!-- End Google Analytics -->
|
||||
|
||||
Reference in New Issue
Block a user