Meta Pixel + Conversions API hooks for Amboras storefronts.
Consent
Everything this package does in the browser is gated on the storefront's
amboras_consent cookie (analytics: true), read through
@amboras-dev/pixel-core and re-checked on amboras-consent-changed:
the Meta Pixel (fbevents.js) script and its cookies, and every browser event;
the browser-to-server Conversions API relay (the events this package posts
to the Medusa backend for server-side delivery).
Nothing loads or is sent until consent is granted: an absent cookie (no banner
shown yet, or no click) counts as denied. The Amboras edge writes a granted
cookie automatically for shoppers outside the EEA, UK and Switzerland.
Not covered: server-side conversions that the Medusa backend sends from its
own subscribers (for example on order.placed) are decided in the backend,
not by this package.