[REVERT ME] Turn up GA sampling to 100% for testing on staging

This commit is contained in:
Paul Kaplan 2018-12-21 10:09:19 -05:00
parent 033a47f7d9
commit 0acf16c348

View file

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