<script> tags), edge-injecting GTM via HTMLRewriter on the Snippets free tier (25/zone) bypasses the CMS entirely. Tracking lives at the edge, gets purged at the edge, never touches the database.Link preload via CF Transform Rules — when the theme/WPCode path is blocked but you need to preload fonts or hero images for LCP, a Cloudflare Response Header Transform Rule injects the Link: </font.woff2>; rel=preload; as=font header at the edge./wp-admin/* skip rules that allow legitimate script-tag POSTs through without disabling the WAF site-wide.Posted May 10, 2026
Solving WordPress problems at the Cloudflare edge when the admin path is locked (read-only WPCode, KSES, role-capped Custom Code, WAF). Three production patterns: GTM injection via Snippets (HTMLRewriter), Link preload via Transform Rules, and narrow /wp-admin WAF skip rules.