{% comment %}
  Meta Commerce & Pixel Con - Theme App Embed
  Optimized for Shopify Storefront Performance & Core Web Vitals (Zero TBT impact)
  Supports Multi-Pixel Routing, Deduplication with CAPI, and iOS 14.5+ signal capture
  Script asset is hosted on Shopify CDN and deferred automatically.
{% endcomment %}

<div id="meta-commerce-pixel-embed" data-shop="{{ shop.permanent_domain | escape }}" style="display:none;" aria-hidden="true"></div>

{% schema %}
{
  "name": "Meta Pixel & CAPI Tracker",
  "target": "body",
  "javascript": "meta-pixel.js",
  "settings": [
    {
      "type": "paragraph",
      "content": "Enable this app embed to automatically activate Multi-Pixel tracking and server-side Conversions API."
    }
  ]
}
{% endschema %}
