mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-30 22:21:16 -04:00
Standardise analytics code on failwhale
Missed this page when doing 62fcc2429f
This commit is contained in:
@@ -132,7 +132,13 @@
|
||||
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', 'UA-75215134-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('set', 'displayFeaturesTask', null);
|
||||
ga('set', 'transport', 'beacon');
|
||||
page = (window.location.pathname + window.location.search).replace(
|
||||
/[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}/g, '…'
|
||||
)
|
||||
ga('send', 'pageview', page);
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user