← back to Interiordesignershowroom
GA4: inject gtag.js (G-DH9G5HL7YJ) into layout head — analytics for interiordesignershowroom.com
bc6f4d99987acd2e4daaf6b64e7ce05af9eaf3df · 2026-08-03 12:30:44 -0700 · Steve
Files touched
Diff
commit bc6f4d99987acd2e4daaf6b64e7ce05af9eaf3df
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Aug 3 12:30:44 2026 -0700
GA4: inject gtag.js (G-DH9G5HL7YJ) into layout head — analytics for interiordesignershowroom.com
---
lib/render.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/render.js b/lib/render.js
index a869375..ada9b7e 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -265,6 +265,9 @@ function layout({ title, description, canonical, jsonld, image, body, activeNav,
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+<!-- Google tag (gtag.js) — GA4 property "Interior Designers Showroom" (G-DH9G5HL7YJ) -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-DH9G5HL7YJ"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-DH9G5HL7YJ');</script>
<title>${esc(title)} · ${esc(SITE.name)}</title>
<meta name="description" content="${esc(description || SITE.tagline)}">
<link rel="canonical" href="${esc(canonical || SITE.url)}">
← c686c5d fix(server): graceful listen error handler + honest HOST bin
·
back to Interiordesignershowroom
·
deploy: add push-full-kamatera.sh (full-source sync, avoids c988220 →