diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
commit | e77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch) | |
tree | f0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/layouts/partials/analytics/ga.html | |
parent | 4b355837824ac2422d371acef790f0f4249255c7 (diff) |
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/layouts/partials/analytics/ga.html')
-rw-r--r-- | themes/blowfish/layouts/partials/analytics/ga.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/partials/analytics/ga.html b/themes/blowfish/layouts/partials/analytics/ga.html new file mode 100644 index 0000000..3523d5a --- /dev/null +++ b/themes/blowfish/layouts/partials/analytics/ga.html @@ -0,0 +1,8 @@ +<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.Config.Services.GoogleAnalytics.ID }}"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', '{{ site.Config.Services.GoogleAnalytics.ID }}'); +</script>
\ No newline at end of file |