Skip to content

Commit 03706c1

Browse files
authored
Update extend_head.html
1 parent b346cc1 commit 03706c1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

themes/PaperModCustomize/layouts/partials/extend_head.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
<head></head> section of every page. */ -}}
55
{{- /* Can be overwritten by partial with the same name in the global layouts. */ -}}
66
{{- /* Head custom content area end */ -}}
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R2YQZRNH87"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
14+
gtag('config', 'G-R2YQZRNH87');
15+
</script>
16+
717
{{ if .Store.Get "hasMermaid" }}
818
<script type="module">
919
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
1020
mermaid.initialize({ startOnLoad: true });
1121
</script>
12-
{{ end }}
22+
{{ end }}

0 commit comments

Comments
 (0)