Whop revenue attribution
Attribute Whop checkout and membership revenue to Kobbe journeys.
Use Whop when you sell memberships, digital products, or checkout links through Whop.
Setup
- Enable Whop in Site settings → Integrations → Revenue attribution.
- Copy the Kobbe webhook URL.
- Create a webhook in the Whop Developer dashboard.
- Subscribe to payment.succeeded.
- Copy Whop’s webhook signing secret into Kobbe.
- Pass
kobbe_attribution_idin checkout configuration metadata.
Tracker
Enable revenue attribution on pages that send visitors into Whop checkout:
<script
defer
data-token="YOUR_SITE_TOKEN"
data-revenue-attribution="true"
src="https://app.kobbe.io/tracker.full.js"
></script>
Checkout metadata
When you create a checkout configuration, include the attribution ID in metadata:
const attributionId =
window.kobbe?.getAttributionId?.() ?? window.kobbe?.attributionId;
const checkoutConfig = await client.checkoutConfigurations.create({
company_id: "biz_xxxxxxxxxxxxx",
plan: {
initial_price: 10.0,
plan_type: "one_time",
},
metadata: attributionId
? { kobbe_attribution_id: attributionId }
: {},
});
Webhook
Whop uses Standard Webhooks signing. Kobbe verifies webhook-id, webhook-timestamp, and webhook-signature using your saved signing secret before recording revenue.