[object Object]

← back to Wallpaperdictionary

GA4+Meta pixel: inject gtag + fbq into homepage

666b287f38874fa961b980804e261b5ddc386ad4 · 2026-08-18 06:06:28 -0700 · Steve Abrams

Files touched

Diff

commit 666b287f38874fa961b980804e261b5ddc386ad4
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 571e130..f292108 100644
--- a/public/index.html
+++ b/public/index.html
@@ -405,6 +405,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-FL92MQYWRD"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date());gtag('config','G-FL92MQYWRD');</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>
 

← 728a9e7 SEO: rel=nofollow sponsored on designerwallcoverings.com lin  ·  back to Wallpaperdictionary  ·  TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to r ced5ba0 →