Skip to main content
Once the Upstack app is installed, its theme app extension is enabled, and the Upstack custom pixel is added under Settings → Customer events, Upstack captures customer journey events on your Shopify store automatically — no event code required. This document explains what events are tracked and when they fire.
Both pieces are required: the theme app extension (Online Store → Themes → Customize → App embeds → Upstackified) and the Upstack custom pixel. See Install on Shopify.

Tracking Methods

Upstack captures events through two complementary methods:

Customer Events API (custom pixel)

Shopify’s official Customer Events API provides real-time cart and checkout events through the Upstack custom pixel. This is the most reliable method for conversion tracking and captures:
  • Checkout started, progressed, and completed
  • Payment information entered
  • Shipping information entered
  • Cart views, items added to and removed from the cart, and searches

URL-Based Detection (theme app extension)

For storefront browsing, the theme app extension detects product and collection pages by URL pattern: No configuration required — events fire automatically when visitors browse these pages.

Event Mapping

The following table shows all automatically captured events:

Data Payloads

The JSON examples below show destination wire format — what Meta CAPI, TikTok, and other destinations receive after Upstack transforms the event. Event names are converted to PascalCase (e.g., AddToCart) for destination compatibility. When using the SDK directly, always use snake_case (e.g., add_to_cart).

Product View (view_content)

Automatically captured when a visitor views any /products/* page:

Add to Cart (add_to_cart)

Captured when a visitor adds an item to their cart:

Checkout Started (initiate_checkout)

Captured when checkout begins:

Purchase (purchase)

Captured when an order is completed:

Identity Capture

When customers enter contact information during checkout, Upstack automatically:
  1. Captures email and phone from the contact info step
  2. Associates the session with the customer identity
  3. Persists identity for cross-session attribution
This happens when customers enter contact or address information during checkout. No additional configuration is required.
Identity data enables cross-device attribution and improves match quality with ad platforms like Meta and TikTok.

Upstack respects Shopify’s customer consent settings:
  • If analytics consent is not granted, tracking is limited to essential events
  • Marketing consent affects which destinations receive forwarded events
  • Consent state is captured and included with each event
The Permission option on the Upstack Custom Pixel decides whether the pixel waits for this consent before it loads. See How to set up custom pixel privacy settings for the recommended Permission and Data sale settings.

What’s NOT Automatically Tracked

The following events require manual implementation:

Standard Events

Full reference with JavaScript snippets for manual event tracking.

JavaScript SDK

Complete API reference for the Upstack JavaScript SDK.

Properties & Context

Reference for item arrays, customer data, and auto-captured fields.

Custom Events

Track custom interactions beyond the standard taxonomy.

Form Capture Integrations

Automatic lead capture from Klaviyo, Postscript, and more.

Connect Shopify

Initial setup guide for connecting your Shopify store.