Skip to main content
A Shopify install has two parts, and you need both:
  1. The pixel snippet in your theme. It runs on every storefront page — home, products, collections, cart — where it tracks visitors and powers the install overlay you see when verifying your pixel from the Whop dashboard.
  2. A custom pixel. Shopify’s checkout runs in a sandbox that ignores theme scripts, so the snippet goes dark there. 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. The script in step 4 forwards each one to Whop, tied to the same visitor the theme snippet tracks.
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 the pixel snippet to your theme

In Shopify, go to Online Store > Themes. On your current theme, select ⋯ > Edit code. Under Layout, open theme.liquid and paste this snippet immediately before the closing </head> tag. Replace biz_xxxxxxxxxxxxx with your own account ID, then select Save.
Pixel snippet
Because theme.liquid wraps every storefront page, this one edit covers your whole store. Don’t paste the snippet into a single page or section template instead. A visitor who lands anywhere else wouldn’t be tracked, and the install overlay would disappear as soon as you navigate off that page.
3

Add a custom pixel

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

Paste the script

Paste this into the pixel’s code editor. Replace biz_xxxxxxxxxxxxx with your own account ID.The script reads the _wuid cookie the theme snippet sets, so checkout events land on the same visitor the theme snippet has been tracking. It also skips storefront page views — the theme snippet already reports those — and only sends page views from checkout, where theme scripts can’t run.
Custom pixel
5

Save and connect the pixel

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

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.When you verify the install live from the dashboard, the overlay follows you across storefront pages but disappears once you enter checkout — Shopify doesn’t run theme scripts there. That’s expected: the custom pixel keeps reporting checkout events, and the test purchase still shows up in your dashboard.
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.