mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 07:37:10 +00:00
Strip /dev from ga page name
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', 'UA-73024255-2', 'auto');
|
||||
ga('set', 'page', location.pathname.replace(/^\/dev/, ''))
|
||||
ga('set', 'dimension2', 'dev');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<!-- End Google Analytics -->
|
||||
|
||||
Reference in New Issue
Block a user