mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
[refactor] Google Analytics is controlled by Webpack
This commit is contained in:
+6
-3
@@ -20,10 +20,13 @@
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
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-100157497-1', 'auto');
|
||||
</script><%
|
||||
if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
|
||||
<script>
|
||||
ga('create', '<%= htmlWebpackPlugin.options.googleAnalytics.trackingId %>', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</script><%
|
||||
} %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="entire-game-container" style="visibility:hidden;">
|
||||
|
||||
Reference in New Issue
Block a user