Install the Whop Pixel
Get your Whop Account ID
Find it from your Whop Dashboard - the part of the URL after
dashboard/, starting with biz_. Looks like biz_xxxxxxxxxxxxx.Install the snippet
Paste this snippet inside the Building your funnel on a platform instead of raw HTML? Use the dedicated install guide instead of pasting the snippet into a page builder text block.
<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 account ID.Pixel snippet
Track events
If your funnel has important steps outside Whop checkout, like a lead form, call booking, or application, add Where to put the call depends on what happens after the action:a. The action redirects (a form that sends the visitor to a thank-you page)Fire the event on the page they land on. The call goes in that page’s HTML — or a page builder’s code field — so wrap it in b. The action stays on the same page (a form that shows an inline success message)Fire the event in the action’s success handler. You’re already inside JavaScript, so no It’s important to include any information you have about the customer at every stage of the funnel. If you accept a lead with a name, email and phone number, include those in the event fired to Whop.
whop.track calls to track those events.Tracking events
<script> tags. The pixel snippet must be installed on that page too.Track on a thank-you page
<script> tags.Track on submit (no redirect)
Standard events
The Whop Pixel includes a set of standard event names for common stages of a funnel. Each one accepts an optionalvalue (number) and currency (ISO 4217 code). The exception is purchase, which requires a positive value.
Custom events
If Whop’s standard events don’t cover your funnel’s needs, or you want to track specific stages of the customer journey, you can fire custom events.Custom event
Track sales on your own checkout
If you sell through your own checkout instead of Whop’s, fire apurchase event when a sale completes. value is required — Whop rejects a purchase event that has no positive value, because ad platforms can’t optimize toward a sale with no amount. currency is optional and defaults to USD.
Purchase on your own checkout
Give each event an ID
Pass anevent_id with any event that could reach Whop more than once. For example, if you fire an event when landing on a thank you page, ensure that event is fired once per real conversion, not once per page view. 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.
Attach customer information
Always send as much customer information as you have available. This helps Whop match events to customers and improve conversion tracking. These fields can be attached to any event type and are optional. Send only the fields you have.Lead with customer fields
Don’t track Whop checkouts, subscriptions, or trials. Whop records every checkout view, purchase, subscription, and trial start on its own checkout server-side with zero configuration. The pixel won’t accept duplicates. Only send events Whop can’t see: leads and bookings on your own infrastructure, and sales on your own checkout.

