<!-- https://help.izeads.com/integracoes/hotmart | IzeAds Help Center | locale: en -->

## Hotmart Integration

Connect Hotmart to IzeAds to automatically receive sales, refunds and chargebacks, so your ROAS, ROI and profit reflect real revenue. Hotmart requires a Hottok to validate the webhook.

### Configuration

1. **Go to Integrations in IzeAds** — In the sidebar menu, open "Integrations" and find the Hotmart card.
2. **Copy the webhook URL** — IzeAds generates a unique webhook URL for your company. Click the copy button.
3. **Create the webhook in Hotmart** — In Hotmart, go to Tools > Webhook, add a new webhook and paste the copied URL.
4. **Select the events** — Enable the events you want to receive: approved purchase (PURCHASE_APPROVED / COMPLETE), refund (PURCHASE_REFUNDED), chargeback (PURCHASE_CHARGEBACK) and others.
5. **Copy the Hottok and paste it in IzeAds** — In the Hotmart webhook screen there is a Hottok column. Copy that value and paste it in the Hottok field on the IzeAds Hotmart integration. It is required.
6. **Save and test** — Save on both sides and make a test sale to confirm the event arrives in IzeAds.

> ⚠️ **Hottok (required)**
>
> The Hottok is Hotmart's webhook signature. IzeAds uses it to validate that the notification really came from your Hotmart account — without it, the webhook is rejected. You find it in Hotmart under Tools > Webhook, in the Hottok column.

### Tracked events

- **Approved / complete sale:** Recorded as Purchase with the sale value
- **Refund:** Recorded as Refund to adjust revenue
- **Chargeback / protest:** Recorded to adjust revenue

> 💡 **Sale attribution**
>
> For IzeAds to link the sale to the right campaign, the origin parameter (src / sck) must carry the visitor's SCK. This happens automatically when you use the IzeAds tracker/link on the checkout.
