Skip to content

Commit 258fe34

Browse files
committed
add ga4 script
1 parent 23b1b1d commit 258fe34

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LKVJ6R5XLV"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag() {
9+
dataLayer.push(arguments);
10+
}
11+
gtag('js', new Date());
12+
13+
gtag('config', 'G-LKVJ6R5XLV');
14+
</script>
15+
416
<meta charset="UTF-8" />
517
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
618
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

0 commit comments

Comments
 (0)