Merge pull request #2538 from LLK/revert-2537-all-the-ga

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

View file

@ -43,7 +43,9 @@
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 %>', 'auto');
ga('create', '<%- htmlWebpackPlugin.options.ga_tracker %>', {
'sampleRate': 10
});
ga('send', 'pageview');
window.GA_ID = '<%- htmlWebpackPlugin.options.ga_tracker %>';
/* eslint-enable */