You probably don’t need to worry too much about refunds as they’re unlikely to meaningfully affect your stats, but if you are interested in refund data in ClickMagick here’s how it works …
Refunds processed automatically
Most refunds are processed automatically by ClickMagick:
1. If you’re using any of our integrations e.g. ClickFunnels or HighLevel then your refunds will be processed automatically.
2. If you’re using the ClickMagick Shopify App, any refunds from Shopify will be processed automatically.
3. If you’re using the Stripe, PayPal or Authorize.net recurring payment integrations, any refunds of those recurring payments will be processed automatically.
4. Refunds of affiliate sales tracked via Webhook or Postback URL will be processed automatically as long as your affiliate network also sends refund data to your Webhook or Postback URL. All major affiliate networks do this.
Manually mark a sale as refunded
In your sales log, you can simply click the Edit menu next to any sale and then select Refund Sale.
Automatically send refunds to ClickMagick
If you have the ability to send a webhook when a refund is issued in your system, or processed by your payment processing system, you can record your refunds in ClickMagick automatically.
Just have a webhook sent to the endpoint below when a refund is issued:
Here’s an explanation of the three parameters you can send to your endpoint URL:
s1 – This required value should be the email address or Visitor ID for the visitor. If you don’t have the email address, you can get the Visitor ID from the first-party cookie that ClickMagick sets on your domain, or via the [cmc_vid] token which is available on any page with Click Tracking code.
amt – This required value should be the amount of the refund, expressed as a negative value e.g. -99.00
ref – The optional “reference” value associated with the conversion. If the customer has multiple orders for the same amount as the refund, this is used to determine which order should be refunded.
Article 718 Last updated: 10/15/2025 2:10:29 PM https://www.clickmagick.com/kb/?article=718