Skip to content

Commit 9d68b0c

Browse files
committed
feat: add google analytics
1 parent 66eece7 commit 9d68b0c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

public/index.html

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
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-KTTNXRZG94"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-KTTNXRZG94');
12+
</script>
413
<meta charset="UTF-8">
514
<meta name="viewport" content="width=device-width, initial-scale=1.0">
615

0 commit comments

Comments
 (0)