Skip to content

Commit

Permalink
feat: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
fawadasaurus committed Oct 19, 2023
1 parent 44650b7 commit 1925756
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.wick
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: wick/app@v1
name: build-once-run-anywhere
metadata:
version: 0.1.3
version: 0.1.4
description: showcasing wick server and client side capabilities.
licenses:
- Apache-2.0
Expand Down
10 changes: 9 additions & 1 deletion ui/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/candle-icon.svg" />
<meta name="viewport" content="width=device-width" />
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X53D2G70QR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-X53D2G70QR');
</script>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
Expand Down

0 comments on commit 1925756

Please sign in to comment.