mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-27 14:36:09 +00:00
add google analytics
This commit is contained in:
parent
91a4707f14
commit
9a0d0eb481
2 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue