- Direct installation — Add the pixel script directly to your page’s HTML
- Google Tag Manager (GTM) — Deploy via your GTM container for centralized tag management
When You Need This Guide
Install the Upstack Pixel manually when you have:- Landing pages — Unbounce, Instapage, Webflow, Carrd, or custom HTML pages
- Subdomains —
shop.yourdomain.comorpromo.yourdomain.comrunning outside Shopify - Headless storefronts — Custom React, Next.js, or Vue frontends using Shopify’s Storefront API
- WordPress / WooCommerce — Sites that redirect to Shopify checkout
- Quiz or survey tools — Octane AI, Typeform, or Jotform funnels
- Third-party checkout platforms — Checkout Champ, ClickFunnels, or custom checkout flows
Prerequisites
- An Upstack Data account with the Upstack Data app installed on your Shopify store
-
Your Upstack Pixel ID (UUID format:
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, e.g.,58284d43-85f6-41fb-b2e0-f32f8ecb4e9b). See How to find my Upstack Data Pixel ID - Edit access to the site or landing page (admin access in your page builder, CMS, or GTM container)
Step 1: Find Your Upstack Pixel ID
Your Upstack Pixel ID is a unique identifier linked to your Shopify store. This ID connects browser events from external sites to your Upstack account. For step-by-step instructions, see: How to find my Upstack Data Pixel ID?Step 2: Choose Your Implementation Method
- Direct Installation
- Google Tag Manager
Add the pixel script directly to your page’s
<head> section. This is the simplest approach for landing pages and sites without a tag manager.Base Pixel Snippet (Required on Every Page)
Replace
YOUR_PIXEL_ID with the Pixel ID you obtained in Step 1 (UUID format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX).Step 3: Track Events
Beyond page views, you’ll want to track key conversion events. Each event follows the same pattern:Event Snippets Reference
View Content
View Content
Fires when a visitor views a product or content page.Required properties:
value, currency, itemsSee ViewContent in Standard Events for the full specification.Add to Cart
Add to Cart
Fires when a visitor adds an item to their cart.Required properties:
value, currency, itemsSee AddToCart in Standard Events for the full specification.Initiate Checkout
Initiate Checkout
Fires when a visitor starts the checkout flow.Required properties:
value, currency, itemsRecommended: Include identity fields (email, phone, firstName, lastName) to improve destination match quality.See InitiateCheckout in Standard Events for the full specification.Purchase
Purchase
Fires when an order is completed. This is the most important conversion event.Required properties:
transactionId or orderId, value, currency, itemsRecommended: Include all identity fields for maximum match quality at destinations.See Purchase in Standard Events for the full specification.Lead
Lead
Fires when a visitor submits a lead form, quiz, or survey.Required properties: At least one identity field (
email or phone)See Lead in Standard Events for the full specification.Subscribe
Subscribe
Fires when a visitor subscribes to email or SMS marketing.See Subscribe in Standard Events for the full specification.
Step 4: Preserve UTM Parameters Across Pages
If your landing page links to your Shopify store or checkout, preserve UTM parameters and click IDs to maintain attribution continuity. Add this script to automatically append the current page’s query string to all outbound links:fbclid, gclid, ttclid, and UTM parameters flow through to Shopify checkout.
Step 5: Verify Your Installation
- Visit your site and trigger each event you configured (page view, lead capture, purchase, etc.)
- Use the Pixel Helper — Install the Upstack Data Pixel Helper browser extension to confirm events fire with the expected parameters
- Check Event Health — In the Upstack dashboard under Event Health, confirm events arrive with your Pixel ID and correct properties
Platform-Specific Guides
Landing Pages & Subdomains
Quick setup for Unbounce, Instapage, Webflow, and custom landing pages.
Checkout Champ
Full integration guide for Checkout Champ implementations.
Reference Documentation
Event Taxonomy
Overview of the Upstack event model and how events flow through the pipeline.
Standard Events
Complete specification for every standard event — required properties, optional fields, and example payloads.
Properties & Context
Full reference for user data, custom data, and context fields attached to events.
Custom Events
Define your own events for interactions beyond the standard taxonomy.
Health and Wellness stores: If you’re in the health/wellness category and need to use custom event names for platform compliance, see Health and Wellness Custom Event Mappings →