summaryrefslogtreecommitdiff
path: root/_content/html.tmpl
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2023-06-01 18:27:44 +0700
committerShulhan <m.shulhan@gmail.com>2023-06-01 18:27:44 +0700
commitbea18378aaffc18d3559c18f4144811237084234 (patch)
treec7af4497037ef2dfd1d14f34c8000256a5c8aa2b /_content/html.tmpl
parent290df73c14e7111ec43782671ed29a266cc82eab (diff)
downloadgolang-id-web-bea18378aaffc18d3559c18f4144811237084234.tar.xz
content/html: update analytics to use GA4
Diffstat (limited to '_content/html.tmpl')
-rw-r--r--_content/html.tmpl22
1 files changed, 8 insertions, 14 deletions
diff --git a/_content/html.tmpl b/_content/html.tmpl
index 4ab5989..172e1f2 100644
--- a/_content/html.tmpl
+++ b/_content/html.tmpl
@@ -15,20 +15,14 @@
<link rel="stylesheet" href="{{.}}" />
{{- end}}
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script
- async
- src="https://www.googletagmanager.com/gtag/js?id=UA-2502278-10"
- ></script>
- <script>
- window.dataLayer = window.dataLayer || []
- function gtag() {
- dataLayer.push(arguments)
- }
- gtag("js", new Date())
-
- gtag("config", "UA-2502278-10")
- </script>
+ <!-- Google tag (gtag.js) -->
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-0RXEYS3MQ0"></script>
+ <script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+ gtag('config', 'G-0RXEYS3MQ0');
+ </script>
</head>
<body>
<div class="topbar">