|
@@ -6,6 +6,17 @@
|
|
|
<link rel="manifest" href="manifest.json">
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
|
<title><%= htmlWebpackPlugin.options.PAGE_TITLE %></title>
|
|
|
+ <% if (htmlWebpackPlugin.options.IS_PROD) { %>
|
|
|
+ <!-- Global site tag (gtag.js) - Google Analytics -->
|
|
|
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-133429788-6"></script>
|
|
|
+ <script>
|
|
|
+ window.dataLayer = window.dataLayer || [];
|
|
|
+ function gtag(){dataLayer.push(arguments);}
|
|
|
+ gtag('js', new Date());
|
|
|
+
|
|
|
+ gtag('config', 'UA-133429788-6', { 'anonymize_ip': true });
|
|
|
+ </script>
|
|
|
+ <% } %>
|
|
|
<script type="text/javascript" src="/env-config.js"></script>
|
|
|
</head>
|
|
|
<body>
|