mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-27 06:36:08 +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 }}">
|
||||
<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…
Add table
Add a link
Reference in a new issue