Whop integration

Whop revenue attribution

DataFair connects your Whop payments to the visits that led to them, so you can see which traffic sources earn money for your memberships and digital products, not just which ones send visitors.

Add your website

What you see once Whop is connected

How payments are matched to visitors

The DataFair script gives every visitor an anonymous id. When that visitor pays, the id travels with the payment and DataFair credits the sale to the visit that brought them.

Add df_visitor_id to the metadata of the checkout configurations you create. Whop checkout links can’t carry it, so other payments match by email.

A payment that arrives without an id still counts in your revenue totals. It just has no traffic source.

Connect Whop in a few minutes

  1. In DataFair, open Integrations, choose Whop and copy your webhook URL.
  2. Open your Whop dashboard and go to the Developer tab.
  3. Click Create webhook and paste your DataFair webhook URL.
  4. Tick the events listed below and save.
  5. Copy the secret from the Secret column. It starts with ws_ and is only shown once.
  6. Paste the signing secret into DataFair and save.

Whop events DataFair listens to

Every webhook is checked against its signature before anything is stored, and the secret is encrypted at rest.

Good to know

The sandbox at sandbox.whop.com has its own webhooks.

Questions

Do I need to write code to track Whop revenue?
A small change to your checkout. Add df_visitor_id to the metadata of the checkout configurations you create. Whop checkout links can’t carry it, so other payments match by email.
What happens to refunds?
When Whop reports a refund or a dispute, DataFair takes it off the source that earned the original sale, so your revenue by channel stays honest.
Which plan do I need?
Every plan includes revenue attribution. Starter includes one revenue provider connection; Growth and Scale include several. Starter is $5.99 a month at launch and falls to $3.99 as the community grows. Growth goes from $14.99 to $9.99, and Scale from $49.99 to $29.99. Every customer moves to the lower price at their next renewal.
Can I use Whop with another payment provider?
Yes, on Growth and Scale you can connect several providers to one website, and each payment is attributed the same way.

Related