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