← back to Fabricfriday
GA4+Meta pixel: inject gtag + fbq into homepage
5ac17bc8f39be7d6add4465ec0ad43609065ac10 · 2026-08-18 06:06:27 -0700 · Steve Abrams
Files touched
Diff
commit 5ac17bc8f39be7d6add4465ec0ad43609065ac10
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 18 06:06:27 2026 -0700
GA4+Meta pixel: inject gtag + fbq into homepage
---
public/index.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/public/index.html b/public/index.html
index 698af47..ee317f3 100644
--- a/public/index.html
+++ b/public/index.html
@@ -306,6 +306,11 @@
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1431180262113856<!-- End Meta Pixel -->ev=PageView<!-- End Meta Pixel -->noscript=1"/></noscript>
<!-- End Meta Pixel -->
<!-- corner-nav disabled (UL-hamburger rebuild) -->
+<!-- GA4 -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z3SRYFXLZR"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date());gtag('config','G-Z3SRYFXLZR');</script>
+<!-- Meta Pixel -->
+<script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','1431180262113856');fbq('track','PageView');</script>
</head>
<body>
<!-- Theme toggle (theme1 / theme2) — query-param-gated preview surface
← fd70861 SEO: rel=nofollow sponsored on designerwallcoverings.com lin
·
back to Fabricfriday
·
deploy: guard live runtime data from rsync --delete d65efa4 →