You only need your company ID (
biz_xxxxxxxxxxxxx) to install the pixel. Find it in the URL of your dashboard, or on the pixel page at https://whop.com/dashboard/{biz_id}/pixel.Install the snippet
Paste this snippet inside the<head> of every page in your funnel — landing pages, advertorials, checkouts, and thank-you pages, not just your homepage. Replace biz_xxxxxxxxxxxxx with your own company ID.
Pixel snippet
For most brands — especially e-commerce stores that send traffic to Whop checkout — this snippet is all you need. Whop automatically tracks page views, checkout views, purchases, subscriptions, and trials. You only need extra event code if you want to track steps Whop can’t see, like a lead form on your own site.
Verify the install
Openhttps://whop.com/dashboard/{biz_id}/pixel and watch Step 1 — Install the pixel. Page views appear within about a minute of the first visit, and the status turns green once data starts flowing. The page also lists domains that report pixel events.
Track events
Most brands can skip this section. Add extrawhop.track calls only when your funnel has an important step outside Whop checkout — for example a lead form, call booking, application, or quiz.
The most common setup is to fire whop.track("lead") either:
- when the lead form submits successfully
- on the thank-you page or confirmation page the visitor sees after submitting
Tracking events
Standard event names
Use these names for common funnel moments. Each one optionally accepts avalue (number) and currency (International Organization for Standardization (ISO) 4217 code).
Your own event names
You can track anything else your funnel does under a name you choose — pass it as the event name. It shows up under that name in your ads reporting, and takes the samevalue, currency, and customer fields as a standard event.
Custom event
The older two-field form,
whop.track("custom", { name: "watched_vsl" }), still works and reports identically, so existing installs need no changes.Give each event an ID
Pass anevent_id with any event that could reach Whop more than once. Whop counts each event_name and event_id pair once, so a retry, a page refresh, or the same conversion sent from two places collapses into a single event.
Event with an ID
"lead" as the ID for every lead and Whop treats them all as one event, so hundreds of leads show up as one.
Use a value your own system already has for that one action — a lead ID, order number, or form submission ID. Reuse that value only when you’re sending that same action again. A retry counts as the same action. So does the same conversion mirrored from your server. A value made up at fire time is new every time, so it won’t stop duplicates.
If the same conversion can come from both your website and your server, send the same event_id from both so it lands as one event.
You can leave
event_id out. Whop then assigns one for you, which keeps the event valid. That assigned value is new on every request, so repeat sends of the same action can’t be matched to each other.Attach customer fields
You usually don’t need to attach extra customer fields. Whop can often match events from the pixel, checkout activity, browser signals, and first-party payment data automatically. If you already have customer details available when an event fires, you can attach them for extra matching coverage. It doesn’t hurt to include them, and it can improve matching. You can attach these fields to any event type and send only the fields you have.Lead with customer fields
Don’t track purchases, subscriptions, or trials. Whop records every checkout view, purchase, subscription, and trial start server-side with zero configuration. The pixel won’t accept duplicates. Only send events Whop can’t see. Examples include leads and bookings on your own infrastructure.
Send events from your server
You can send events from your backend instead of the browser or alongside it. Ad blockers can’t touch server-side events, and these events are more reliable for high-value conversions. Use the Events API. Attach as much customer information as you have so the event attributes correctly. If you run browser and server tags side by side for the same conversion, send the sameevent_id from both. That’s what keeps it from being counted twice.
Events API reference
Create conversion events from your server with an API key. Full endpoint, fields, and examples.
Advanced: Multiple companies on one page
Most brands can ignore this. It only applies if the same website or landing page is intentionally tracking events for more than one Whop business. In that case, define a default scope with multiple IDs, or scope an individual call.Scoping
Next steps
Events API
Send conversions from your server when browser tracking isn’t enough. Ad blockers can’t touch them.
Whop Ads & the Whop Pixel
How first-party attribution powers ad measurement.
Tracking integrations
Pipe Whop sales data into Meta, Google, Hyros, and other platforms.
Tracking links
Build branded links to attribute traffic and conversions across channels.

