← back to IWasCute
Strip DW marketing pixel + ad slot from internal tool (not a customer-facing site) [ads/tracking scope]
4d594ede17280b96522e5484c3ca8ca4b99198e1 · 2026-08-04 11:49:25 -0700 · Steve Abrams
Files touched
Diff
commit 4d594ede17280b96522e5484c3ca8ca4b99198e1
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 4 11:49:25 2026 -0700
Strip DW marketing pixel + ad slot from internal tool (not a customer-facing site) [ads/tracking scope]
---
public/index.html | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/public/index.html b/public/index.html
index 9785647..3d49d4a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -184,7 +184,7 @@ footer .footer-brand{font-family:var(--serif);font-size:18px;color:var(--cream3)
<!-- Meta Pixel — INERT until set-fb-pixel.sh is run (does NOT load fbevents.js or hit Meta until flipped) -->
<script>
(function(){
- var PIXEL_ID = '1431180262113856';
+ var PIXEL_ID = '{{FACEBOOK_PIXEL_ID}}';
// Inert until flipped — the brace check prevents BOTH the loader IIFE
// AND the init call from running, so fbevents.js is never fetched.
if (PIXEL_ID.indexOf('{{') !== -1) return;
@@ -198,7 +198,7 @@ footer .footer-brand{font-family:var(--serif);font-size:18px;color:var(--cream3)
})();
</script>
<!-- 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>
+<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={{FACEBOOK_PIXEL_ID}}<!-- End Meta Pixel -->ev=PageView<!-- End Meta Pixel -->noscript=1"/></noscript>
<!-- End Meta Pixel -->
</head>
<body>
@@ -853,7 +853,5 @@ if(btnSubmit) btnSubmit.addEventListener('click',function(){
});
});
</script>
- <!-- DW network ad slot -->
- <script src="https://ads.agentabrams.com/embed.js" data-slot="footer-strip"></script>
</body>
</html>
← dfb7fc3 Wire DW Meta Pixel 1431180262113856 + DW-network ad slot [ad
·
back to IWasCute
·
creds-safe fetch guard: resolve relative fetch vs credential 22cd8ab →