Skip to main content
Shopify’s checkout runs in a sandboxed environment that ignores scripts pasted into theme.liquid, so a normal pixel install never sees it. Shopify’s own Custom Pixel feature is the way around that — it runs in every part of your store, checkout included, and reports standard events like checkout_completed and payment_info_submitted directly. The script below listens for those events and forwards each one to Whop.
1

Get your Whop Account ID

Find it from your Whop Dashboard - the part of the URL after dashboard/, starting with biz_. Looks like biz_xxxxxxxxxxx.
2

Add a custom pixel

In Shopify, go to Settings > Customer events, then click Add custom pixel. Name it Whop.
3

Paste the script

Paste this into the pixel’s code editor. Replace biz_xxxxxxxxxxxxx with your own account ID.
Custom pixel
4

Save and connect the pixel

Click Save, then Connect. Shopify won’t send any events to an unconnected pixel.
5

Confirm it's tracking

Visit a live storefront page, then check the Websites page in your Whop dashboard. Your domain appears there once a page view comes through. Then place a test order and confirm a purchase shows up too.
Whop’s automatic server-side purchase tracking only covers checkouts that happen on Whop itself. A Shopify order is processed entirely inside Shopify, so Whop never sees it unless something reports it — that’s what this script’s checkout_completed (sent as purchase) is for. Don’t remove it thinking it’s a duplicate of Whop’s own tracking.