How Events Are Captured
The Upstack Pixel is a lightweight JavaScript snippet that runs on your website. When a visitor performs an action — viewing a page, adding a product to cart, completing a purchase — the pixel fires an event to Upstack. From there, events flow through a four-stage pipeline:- Capture — Upstack Pixel detects the interaction and sends a structured event payload to the Upstack.
- Resolve — Upstack ID attaches identity data (email, phone, cookie, device) to the event, linking anonymous sessions to known customers.
- Enrich — Product catalog data, UTM parameters, and click IDs are merged into the event.
- Activate — The enriched event is forwarded to each configured destination (Meta CAPI, TikTok, Klaviyo, Google Ads, etc.) in the format each platform expects.
What goes in an event
Everything you send goes in one object, with three kinds of keys: standard parameters, user data and custom data. Each event expects a minimum from these sets:
See the minimum for each event in Standard Events and SaaS Events.
Upstack captures page, click and device details for you. See Auto-captured fields.
Deprecated: Health and Wellness category events
Before January 2026, Health & Wellness stores sent Meta customUPSTACK_HW_* events in place of standard events. These are deprecated: Health & Wellness stores now use a clean pixel with domain aliasing and optimize on the standard Purchase event. The legacy names are listed for reference in Health & Wellness category events (deprecated).
How Destinations Receive Events
Each destination maps standard events to its own naming convention. For example, an Upstackpurchase event becomes:
- A Meta CAPI
Purchaseevent with hashedemandph, plusfbc(built from thefbclidin the ad URL) andfbpmatch keys - A TikTok Events API
Purchaseevent withttclidattached - A Klaviyo
Placed Order - Upstackifiedevent with full product details (Placed Orderwhen Use Standard Event Names is on) - A GA4
purchaseevent withtransaction_idand line items (existing GA4 destinations only — the GA4 destination is deprecated)
What’s Next
Standard Events Reference
Every standard event, with the minimum to send with each one.
SaaS & B2B Events
Events for subscription businesses — trials, billing, expansion, and engagement.
Custom Events
Define your own events to capture interactions beyond the standard taxonomy.
Event Parameters
Every standard parameter, plus items, user data and custom data.
Identity & Stitching
How Upstack ID enriches events with resolved identity data.