Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(src/common/index.ejs): remove GA from index.html file
Browse files Browse the repository at this point in the history
  • Loading branch information
Metnew committed Aug 4, 2017
1 parent 0349f40 commit c0f4533
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/common/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Disable tap highlight on IE -->
<meta name="msapplication-tap-highlight" content="no">
<!-- Web Application Manifest -->
<link rel="manifest" href="manifest.json">
<!-- <link rel="manifest" href="manifest.json"> -->
<!-- -->
<!-- META TAG THAT IS REPLACED WITH INLINE STYLES IN SSR -->
<meta name="ssr-styles"/>
Expand All @@ -24,16 +24,6 @@
<noscript>
You are using outdated browser. You can install modern browser here: <a href="http://outdatedbrowser.com/" >http://outdatedbrowser.com</a>.
</noscript>
<% if (htmlWebpackPlugin.options.GA_KEY) { %>
<!-- Google Analytics -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '<%=htmlWebpackPlugin.options.GA_KEY%>', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<!-- End Google Analytics -->
<% } %>
</body>

</html>

0 comments on commit c0f4533

Please sign in to comment.