check_fbc_url
Fetches a landing page and scans its HTML plus same-origin external scripts to flag fbclid-to-_fbc cookie handling issues, returning pass, fail, warning, and unknown rule results.
Instructions
Fetch a landing page and run the same checks as check_fbc_code on its HTML plus every same-origin it loads, so tracking code kept in an external file is included. Cross-origin scripts (tag managers, the Meta Pixel, analytics SDKs) are never fetched and are listed under skipped_scripts. Limits: 30 s timeout per request, at most 20 scripts, 2 MB per file. Uses a mobile Safari user agent. Only public hosts are fetched: URLs that resolve to loopback, private, link-local or other internal addresses are refused, on every redirect hop too (start the server with FBC_GUARD_ALLOW_PRIVATE=1 to check local pages). Returns JSON with status ("pass", "fail", "unknown" or "not_applicable"), failed, unknown and warnings (rule IDs), and rules (one entry per rule with status "pass", "fail", "unknown" or "warn", evidence, what it protects against, severity, and a link to Meta's documentation). "unknown" means no rule failed but at least one could not decide, for example FBC-01 when it cannot tell which variable holds the fbclid from the URL. "not_applicable" means no _fbc appeared in the content, so nothing was judged. Neither is a pass. "warn" comes from a warning-level rule (FBC-06) and never changes the overall status. Also returns final_url (after redirects), scanned_scripts and skipped_scripts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http or https URL of the landing page. |