Skip to content

Commit

Permalink
chore: Update Google Analytics tracking code in Layout.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
RND332 committed Jun 16, 2024
1 parent f1de76d commit 192512f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ const pages: Array<Page> = [
<title>RND</title>
<ViewTransitions />
<script
is:inline
strategy="lazyOnload"
type="text/partytown"
async
src="https://www.googletagmanager.com/gtag/js?id=G-VSD6GSYPH2"
></script>
<script is:inline strategy="lazyOnload" type="text/partytown" async>
<script type="text/partytown">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
Expand Down

0 comments on commit 192512f

Please sign in to comment.