mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-25 16:48:10 -05:00
Revert "[REVERT ME] Turn up GA sampling to 100% for testing on staging"
This commit is contained in:
parent
b8828a1493
commit
c7a8a7b61d
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@
|
||||||
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 %>', 'auto');
|
ga('create', '<%- htmlWebpackPlugin.options.ga_tracker %>', {
|
||||||
|
'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 */
|
||||||
|
|
Loading…
Reference in a new issue