Fermat · AsyncAPI Specification
FERMAT Pixel v2 Event Ingest
Version 2.0.0
Browser-to-FERMAT commerce telemetry. A brand installs the FERMAT Pixel v2 and calls window.fermat({ method: "track", eventName, properties }) for each of the six documented commerce events. Events are POSTed to the FERMAT event collector, with navigator.sendBeacon as the unload-time fallback.
View Spec
View on GitHub
CompanyCommerceE-CommercePersonalizationAnalyticsConversion Rate OptimizationArtificial IntelligenceMerchandisingMCPAgentic CommerceSession ReplayExperimentationAttributionAsyncAPIEventsWebhooks
Channels
pixelEvents
All six documented commerce events are published to this single channel. Authentication is the public per-brand Pixel ID supplied at init; there is no secret credential.
Messages
pageView
Page view
Fired on every page load. SPAs must re-fire on route change.
viewProduct
View product
Fired when a user views a product detail page.
addToCart
Add to cart
Fired when a user adds a product to their cart. Quantity required.
removeFromCart
Remove from cart
Fired when a user removes a product from their cart. Quantity required.
beginCheckout
Begin checkout
Fired when the user starts the checkout process.
purchase
Purchase
Fired when the purchase completes (order confirmation / thank-you page).
Servers
https
collector
FERMAT pixel event collector. POST only; GET returns 405 "Method not allowed".
https
sessionRecording
Session-recording collector. Loaded only when recording is enabled in the pixel config. Payload shape is not published and is deliberately NOT modelled here.
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.