diff --git a/src/template.ejs b/src/template.ejs index dc46b019e..69d3a26fd 100644 --- a/src/template.ejs +++ b/src/template.ejs @@ -43,9 +43,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - ga('create', '<%- htmlWebpackPlugin.options.ga_tracker %>', { - 'sampleRate': 10 - }); + ga('create', '<%- htmlWebpackPlugin.options.ga_tracker %>', 'auto'); ga('send', 'pageview'); window.GA_ID = '<%- htmlWebpackPlugin.options.ga_tracker %>'; /* eslint-enable */