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 the Upstack edge API.Shopify stores: The pixel is injected automatically via the theme app extension. Custom implementations: Add the pixel snippet to your site’s
<head> — see Pixel Setup.- Capture — Upstack Pixel detects the interaction and sends a structured event payload to the Cloudflare edge API.
- 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, GA4, etc.) in the format each platform expects.
Standard Event Taxonomy
Standard events have well-defined names, properties, and semantics that all destinations understand. Using standard events ensures compatibility across your entire marketing stack.Page & Browse Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| page_view | Every page load | pageUrl, pageTitle, referrer |
| view_content | Product page viewed | items, value, currency |
| view_category | Collection or category page viewed | items, value, currency |
| view_item_list | Product list displayed (search results, recommendations) | items, listId, listName |
| view_cart | Cart page viewed | items, value, currency |
| search | Site search performed | searchTerm, resultsCount, items |
Cart Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| add_to_cart | Item added to cart | items, value, currency |
| product_removed_from_cart | Item removed from cart | items, value, currency |
| add_to_wishlist | Item added to wishlist | items, value, currency |
Checkout Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| initiate_checkout | Checkout flow started | items, value, currency |
| add_shipping_info | Shipping details entered | items, value, currency, shippingTier |
| select_shipping_method | Shipping method selected | items, value, currency, shippingTier |
| add_payment_info | Payment method entered | items, value, currency, paymentType |
Order Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| purchase | Order completed | orderId, items, value, currency, tax, shipping |
| refund | Order refunded (full or partial) | orderId, items, value, currency |
Conversion Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| lead | Lead form submitted | value, currency, leadType |
| subscribe | Email or SMS subscription | value, currency |
| trial_started | Free trial initiated | value, currency, trialLength |
| contact | Contact form submitted | value, currency |
| book_call | Call or demo booked | value, currency |
| schedule | Appointment scheduled | value, currency |
| submit_application | Application submitted | value, currency |
Account Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| complete_registration | Account created (post-verification) | value, currency |
| sign_up | Sign-up form submitted | value, currency |
| login | User logged in | — |
Quiz Events
| Event Name | When It Fires | Key Properties |
|---|---|---|
| quiz_completed | Quiz or assessment finished | quiz_id, result_id, questions_answered |
| quiz_question_answered | Individual quiz question answered | quiz_id, question_id, answer_id |
Quiz events are custom events — fire them manually using the JavaScript SDK. See quiz_completed and quiz_question_answered for implementation details.
All standard events include automatic context fields —
pageUrl, userAgent, ipAddress, eventTime, and identity signals — regardless of the event type. See Properties for the full reference.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 hashedem,ph, andfbclidmatch keys - A TikTok Events API
CompletePaymentevent withttclidattached - A Klaviyo
Placed Orderevent with full product details - A GA4
purchaseevent withtransaction_idand line items
What’s Next
Standard Events Reference
Full specification for every standard event — required properties, optional fields, and example payloads.
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.
Properties & Context
Complete reference for all user data, custom data, and context fields attached to events.
Identity & Stitching
How Upstack ID enriches events with resolved identity data.