Skip to main content

Overview

The Upstack Pixel is a JavaScript library that enables you to track user behavior, capture events, and identify users on your website.
Works everywhere — The Upstack Pixel runs on Shopify stores, headless storefronts, custom websites, and any platform where you can add JavaScript.

Quick Start

Install the pixel in 5 minutes

JavaScript SDK

Full SDK reference

Standard Events

E-commerce event reference

Event Properties

All available properties

Feature Availability by Platform

Not all features work the same across platforms. Here’s what’s automatic vs manual:
FeatureShopifyHeadless / Custom / GTM
page_view tracking✅ AutomaticManual — call _upstack('page')
view_content on product pages✅ AutomaticManual — fire on product page load
add_to_cart events✅ AutomaticManual — fire on cart add
initiate_checkout✅ AutomaticManual — fire on checkout start
purchase events✅ AutomaticManual — fire on order confirmation
Form capture (Klaviyo, Postscript)✅ Automatic✅ Automatic (when both installed)
Custom events✅ Manual✅ Manual
Identity resolution✅ Automatic✅ Automatic (after identify() call)
nc_purchase / rc_purchase✅ Automatic❌ Shopify only
Shopify merchants: The theme app extension handles most tracking automatically. You only need the JavaScript SDK for custom events or advanced use cases.Custom implementations: Use the JavaScript SDK Reference and Standard Events to implement tracking manually.