个人用的谷歌统计
This commit is contained in:
parent
feb33c031a
commit
e6182faa1d
@ -5,6 +5,16 @@
|
||||
{{- partial "css.html" . }}
|
||||
{{- partial "head.html" . }}
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MLYM2PFRSJ"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-MLYM2PFRSJ');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="
|
||||
|
@ -168,7 +168,3 @@
|
||||
{{- template "partials/templates/twitter_cards.html" . }}
|
||||
{{- template "partials/templates/schema_json.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user