Skip to content

Commit

Permalink
add: google tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Swumplurd authored Feb 5, 2025
1 parent 4218a39 commit 3c707e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const { title } = Astro.props;
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Y5F6PV1HP5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Y5F6PV1HP5');
</script>
<ViewTransitions />
<title>{title}</title>
</head>
Expand All @@ -47,4 +55,4 @@ const { title } = Astro.props;
min-height: 100vh;
@apply h-full w-full dark:[background:radial-gradient(125%_125%_at_50%_10%,#000_40%,#63e_100%)] [background:radial-gradient(125%_125%_at_50%_10%,#fff_40%,#63e_100%)] text-black dark:text-white;
}
</style>
</style>

0 comments on commit 3c707e1

Please sign in to comment.