Merge pull request #2537 from paulkaplan/all-the-ga

[REVERT ME] Turn up GA sampling to 100% for testing on staging
This commit is contained in:
Paul Kaplan 2018-12-21 10:10:15 -05:00 committed by GitHub
commit b8828a1493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 */