mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 02:56:20 -05:00
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:
commit
b8828a1493
1 changed files with 1 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue