← back to Philipperomano
GA4: inject gtag (G-8WGHZ5FTV0) into SSR head
42c2e93a82550b33949742bc712c73bcf3d8d5fe · 2026-08-04 10:58:23 -0700 · Steve
Files touched
Diff
commit 42c2e93a82550b33949742bc712c73bcf3d8d5fe
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Aug 4 10:58:23 2026 -0700
GA4: inject gtag (G-8WGHZ5FTV0) into SSR head
---
server.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/server.js b/server.js
index 0229f72..1614c87 100644
--- a/server.js
+++ b/server.js
@@ -433,6 +433,9 @@ const layout = (title, body, { q='', type='', cat='', canonical='', ogImage='',
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
+<!-- Google tag (gtag.js) — GA4 G-8WGHZ5FTV0 -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-8WGHZ5FTV0"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-8WGHZ5FTV0');</script>
<title>${esc(title)} — Phillipe Romano</title>
<meta name="description" content="${esc(PR_DESC)}">
${canonical ? `<link rel="canonical" href="${esc(canonical)}">\n` : ''}<meta property="og:type" content="website">
← d391781 migrate GoDaddy auth → Bearer PAT (TK-10 key rotation); sso-
·
back to Philipperomano
·
add ungated public-safe /api/products feed (cork+wallcoverin 9a406f2 →