Skip to content

Commit

Permalink
adding gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronkruse committed Mar 6, 2024
1 parent 1561b63 commit 5a2d357
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions src/app.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />

<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/brand/icon.svg" />
<link rel="alternate icon" type="image/png" href="%sveltekit.assets%/brand/icon@128.png" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/brand/icon@128.png" sizes="128x128" />
<head>
<meta charset="utf-8" />

<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/brand/icon.svg" />
<link rel="alternate icon" type="image/png" href="%sveltekit.assets%/brand/icon@128.png" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/brand/icon@128.png" sizes="128x128" />

%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

%sveltekit.head%
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SCXFQBRZMS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-SCXFQBRZMS');
</script>

<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>

</html>

0 comments on commit 5a2d357

Please sign in to comment.