Skip to content

Commit d57c0d5

Browse files
groksrcclaude
andcommitted
Add Google Tag Manager (GTM-KTMWZ64Q)
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 78866f9 commit d57c0d5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/layouts/Layout.astro

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ const { title = 'Basic Memory', description = 'Basic Memory - Persistent memory
1212
<!DOCTYPE html>
1313
<html lang="en">
1414
<head>
15+
<!-- Google Tag Manager -->
16+
<script is:inline>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
17+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
18+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
19+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
20+
})(window,document,'script','dataLayer','GTM-KTMWZ64Q');</script>
21+
<!-- End Google Tag Manager -->
1522
<meta charset="UTF-8" />
1623
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1724

@@ -54,6 +61,10 @@ const { title = 'Basic Memory', description = 'Basic Memory - Persistent memory
5461
</script>
5562
</head>
5663
<body>
64+
<!-- Google Tag Manager (noscript) -->
65+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KTMWZ64Q"
66+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
67+
<!-- End Google Tag Manager (noscript) -->
5768
<slot />
5869

5970
<script>

0 commit comments

Comments
 (0)