MISC: Remove google analytics (#253)

This commit is contained in:
hydroflame 2022-12-13 08:28:08 -05:00 committed by GitHub
parent f039760690
commit 45221ead06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,29 +28,6 @@
<script src="dist/ext/monaco-editor/min/vs/editor/editor.main.nls.js"></script>
<script src="dist/ext/monaco-editor/min/vs/editor/editor.main.js"></script>
<script src="dist/ext/monaco-vim.js"></script>
<!-- Google Analytics -->
<script>
(function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function () {
(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");
</script>
<% if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
<script>
ga("create", "<%= htmlWebpackPlugin.options.googleAnalytics.trackingId %>", "auto");
ga("send", "pageview");
</script>
<% } %>
<style>
html, body {
margin: 0;