← back to Wallpaperhistory
GA4+Meta pixel: inject gtag + fbq into homepage
3a5eb23a4e4693f01d7d57c3e7d5ddc28948e85a · 2026-08-18 06:06:28 -0700 · Steve Abrams
Files touched
Diff
commit 3a5eb23a4e4693f01d7d57c3e7d5ddc28948e85a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 18 06:06:28 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 70e6d25..9194734 100644
--- a/public/index.html
+++ b/public/index.html
@@ -413,6 +413,11 @@ body {
<!-- noscript fallback is added by set-fb-pixel.sh on flip (omitted here to avoid unflipped img phone-home) -->
<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 -->
+<!-- GA4 -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-KHPFEJ27QS"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date());gtag('config','G-KHPFEJ27QS');</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>
← 9080629 SEO: rel=nofollow sponsored on designerwallcoverings.com lin
·
back to Wallpaperhistory
·
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to r 67afef2 →