Skip to content

Commit a6a12a9

Browse files
committed
feat: add ga4 analytics
1 parent d642d69 commit a6a12a9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
name="keywords">
1313
<meta content="Miguel Martínez" name="author">
1414
<meta content="index, follow" name="robots">
15+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MM16SMDYR9"></script>
16+
<script>
17+
window.dataLayer = window.dataLayer || [];
18+
function gtag(){dataLayer.push(arguments);}
19+
gtag('js', new Date());
20+
21+
gtag('config', 'G-MM16SMDYR9');
22+
</script>
1523
</head>
1624
<body>
1725
<div id="app"></div>

0 commit comments

Comments
 (0)