Track your own events
window.whop exists before your app code runs, so call it directly:
lead, schedule, submit_application, contact, complete_registration, view_content, add_to_cart, initiate_checkout — each optionally take a value and a currency. Any other name works too, and shows up under that name in reporting.
Fire the event where the action completes: in the success handler if the page stays put, or on the confirmation page if it redirects.
Track products and carts
Tracking tools match a sale back to the product a visitor looked at. Tell the pixel which Whop product and variant each view, cart add and checkout start is for. Stores Whop AI builds already do this on their product and checkout pages. A site you build yourself or upload with the CLI adds three calls and four attributes. Fireview_content when a product page shows a variant, again when the shopper picks another one, add_to_cart when they add it, and initiate_checkout when checkout opens:
variant_idis the variant’s ID, prefixedplan_, andproduct_idis its product’s ID, prefixedprod_.valueis the price the page shows, in the currency’s major units (49for $49.00), andcurrencyis its ISO 4217 code. Leave both out when the page shows no price.- A checkout for several variants sends
initiate_checkoutwith its total, and leaves outvariant_idandproduct_id.
Where the data lands
Open Websites in your dashboard for visitors, page views, and attributed revenue per domain, or the pixel dashboard for the full event breakdown. First events appear about a minute after the visit.Installing the pixel snippet yourself is still supported — the platform one checks for an existing
window.whop and no-ops, so nothing double-counts. Do that when your site needs a scope other than its own business.whop.site, install the snippet by hand: Install the Whop pixel.
Next steps
Pixel reference
Every event field, customer matching, and server-side sends.
Accept payments
Give the pixel conversions to attribute.

