Commerce funnel on Shopify

How add-to-cart, checkout, and purchase events are attributed to sessions.

Stages

StageSource
Product viewShopify Web Pixel product_viewed (every theme)
Add to cartShopify Web Pixel product_added_to_cart
Cart / checkoutShopify Web Pixel + rocks_session_key cookie bridge
Express checkout (Shop Pay / Apple Pay)Optional DOM data-100rocks-commerce="express-checkout" on PDP buttons
PurchaseWeb Pixel checkout_completed

Session bridge

The theme tracker writes rocks_session_key to a first-party cookie. The Web Pixel reads the same key so funnel stages stay on one session.

See Install on Shopify for Web Pixel privacy settings.