mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-10-01 01:35:37 -04: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>
|
||||
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