mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-12-26 15:59:33 -05:00
do not track localhost activity
This commit is contained in:
parent
9a0d0eb481
commit
6416172d1b
@ -1,8 +1,10 @@
|
||||
<!-- Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-96910779-8"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-96910779-8');
|
||||
</script>
|
||||
if (location.hostname !== 'localhost') {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-96910779-8');
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user