mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-10-01 01:35:37 -04:00
add google analytics
This commit is contained in:
parent
91a4707f14
commit
9a0d0eb481
@ -2,6 +2,7 @@
|
|||||||
<html lang="{{ .Site.LanguageCode }}">
|
<html lang="{{ .Site.LanguageCode }}">
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head" . }}
|
{{ partial "head" . }}
|
||||||
|
{{ partial "analytics" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<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