add site analytics
This commit is contained in:
parent
fba0b5969a
commit
f1fe14efda
1 changed files with 9 additions and 0 deletions
|
@ -244,5 +244,14 @@ const githubEditUrl = `https://github.com/snowpackjs/astro-docs/blob/main/${curr
|
||||||
<DocSidebar client:idle headers={headers} editHref={githubEditUrl} />
|
<DocSidebar client:idle headers={headers} editHref={githubEditUrl} />
|
||||||
</aside>
|
</aside>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TEL60V1WM9"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-TEL60V1WM9');
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue