summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authoramzrk22020-05-30 12:36:29 +0800
committeramzrk22020-05-30 12:36:29 +0800
commitcf395763b26103b1b147bc40d8a3126e92996b97 (patch)
treef3825b4f8bac4683a35887eb36086c2e8382c309 /layouts/partials/head.html
parent594655b050145b7c3beab06166678940e613a79a (diff)
downloadhugo-theme-fuji-cf395763b26103b1b147bc40d8a3126e92996b97.tar.gz
hugo-theme-fuji-cf395763b26103b1b147bc40d8a3126e92996b97.tar.bz2
hugo-theme-fuji-cf395763b26103b1b147bc40d8a3126e92996b97.zip
Update cfga
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html15
1 files changed, 2 insertions, 13 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 85b77cc..f52a7ce 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -56,16 +56,5 @@
<script src="{{ "/assets/js/APlayer.min.js" | relURL }}"></script>
{{ end }}
-{{ with .Site.GoogleAnalytics }}
-<!-- GA -->
-<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
-<script>
- window.dataLayer = window.dataLayer || [];
-
- function gtag() {
- dataLayer.push(arguments);
- }
- gtag('js', new Date());
- gtag('config', '{{ . }}');
-</script>
-{{ end }} \ No newline at end of file
+{{ partial "analytic-gtag.html" . }}
+{{ partial "analytic-cfga.html" . }} \ No newline at end of file