mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2025-01-14 08:49:36 -05:00
add google analytics
This commit is contained in:
parent
91a4707f14
commit
9a0d0eb481
@ -2,6 +2,7 @@
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>
|
||||
{{ partial "head" . }}
|
||||
{{ partial "analytics" . }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
8
src/layouts/partials/analytics.html
Normal file
8
src/layouts/partials/analytics.html
Normal file
@ -0,0 +1,8 @@
|
||||
<!-- 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>
|
Loading…
Reference in New Issue
Block a user