Skip to main content
Connect Whop to see revenue and customer journeys. Datalyr creates the webhook and configures the official Whop Pixel.

Before you start

  • Install web tracking on each page before the Whop checkout.
  • Get owner access to your Whop company.
  • Create a restricted Account API key in Whop → Developer → API Keys.
  • Add these permissions to the key.

Connect Whop

1

Open Whop

In Sources, select connect on the Whop card.
2

Enter the credentials

Enter the Account API key.Enter the company ID from the Whop dashboard URL. The ID starts with biz_.
3

Create the connection

Select Connect Whop.
Datalyr validates the company, creates a signed webhook, and enables the official Whop Pixel on your tracked pages. You do not need to create a Whop app or webhook.
Never put the Whop API key in your website code.

How attribution works

  1. A customer visits a page that has Datalyr web tracking.
  2. Datalyr records the page visit and available campaign values.
  3. The customer completes the Whop checkout.
  4. Datalyr matches the payment to the available customer journey.
Use the same customer email on your site and at Whop. A different email can prevent a match. Auto identity can capture an email when your consent settings permit it. You can also call datalyr.identify() before the customer opens Whop checkout.
A payment can appear without attribution when Datalyr cannot find a matching website visit.

Data you receive

Revenue and metrics

Datalyr provides these Whop metrics: Datalyr uses the Whop total field for a successful payment. Whop defines this field as the creator-facing total that excludes buyer fees. Successful payments include one-time payments, initial subscription payments, and recurring payments. A refund does not decrease this count. Datalyr records only a refund that has the succeeded status. It uses the refund amount and the refund currency. Datalyr stores the source currency. Reports convert revenue to USD when a conversion is necessary. Datalyr does not subtract processing fees or disputes. Compare Datalyr net revenue with creator-facing payment totals after succeeded refunds.
This connection does not import Whop Ads spend or campaign-management data.

Optional conversion delivery

A Datalyr conversion rule can send each purchase event to another destination.
Whop Ads can also send purchases to Meta. Do not send the same purchase to the same Meta destination from Whop and Datalyr.
Use Datalyr rules only for destinations that do not receive the same conversion from Whop.

Test the connection

  1. Open a tracked landing page in a private window.
  2. Add a test UTM value to the landing page URL.
  3. Confirm the pageview event in Events.
  4. Complete a low-value Whop purchase.
  5. Confirm the purchase event and revenue in Datalyr.
  6. Confirm the payment value, currency, and available campaign values.
  7. Refund all or part of the payment.
  8. Confirm the negative payment.refunded event.
  9. Confirm that revenue decreases by the refund amount.
  10. Activate and deactivate a test membership.
  11. Confirm the membership activation and deactivation events.

Disconnect Whop

In Sources, open the Whop connection and select disconnect. Datalyr removes its managed webhook and disables the managed Whop Pixel. You can reconnect with a valid API key.

Troubleshoot