Skip to content

Commit

Permalink
Google Analytics
Browse files Browse the repository at this point in the history
Signed-off-by: BrickPi <49528459+BrickPi@users.noreply.github.com>
  • Loading branch information
BrickPi committed May 21, 2023
1 parent b2bd123 commit f956261
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
<meta name="viewport" content="width=device-width" />
<title>OpenVic</title>
%sveltekit.head%
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2YXCL0BRBT"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2YXCL0BRBT');
</script>
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
Expand Down

0 comments on commit f956261

Please sign in to comment.