Skip to content

Move Facebook Pixel noscript fallback from head to body#1536

Merged
gugu merged 2 commits into
mainfrom
fix/noscript-parse-error
Jan 27, 2026
Merged

Move Facebook Pixel noscript fallback from head to body#1536
gugu merged 2 commits into
mainfrom
fix/noscript-parse-error

Conversation

@gugu

@gugu gugu commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

The block is disallowed inside per the HTML spec, causing a parse5 error in the Angular/Vite build. Moving it to fixes the parse error while preserving the tracking behavior.

The <noscript><img> block is disallowed inside <head> per the HTML spec,
causing a parse5 error in the Angular/Vite build. Moving it to <body>
fixes the parse error while preserving the tracking behavior.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 27, 2026 12:56
@gugu gugu enabled auto-merge (squash) January 27, 2026 12:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR relocates the Facebook Pixel <noscript><img> fallback from the <head> to the <body> to comply with HTML spec and fix a parse5 error in the Angular/Vite build, without changing tracking behavior.

Changes:

  • Remove the Facebook Pixel <noscript> tracking image from the <head> section.
  • Add the same <noscript> tracking image (with a clarifying comment) at the top of the <body> section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

gugu added a commit that referenced this pull request Jan 27, 2026
…azy-load SDK (#1536)

- Remove Zapier link and SVG logos from connections list
- Add Zapier menu item to both desktop dropdown and mobile sidebar menus, gated behind isSaas
- Remove global Zapier SDK script/CSS from index.html and index.saas.html
- Dynamically load Zapier SDK in ZapierComponent on init
- Migrate Zapier component to signals and @if template syntax

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gugu gugu merged commit b217614 into main Jan 27, 2026
15 checks passed
@gugu gugu deleted the fix/noscript-parse-error branch January 27, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants