›
›
…

Webhook Integration

Through our Webhooks you can automatically receive the conversion data our system collects in your own databases and applications. Whenever our system registers a new conversion or conversion updates, it will trigger the Webhook within 10 minutes.

Requirements

Webhook Integration activation guide

  • Within wecantrack, go to Features
  • Enable ‘Reporting API & Webhook’

POST Response Example

				
					{
  transaction_id: '1111111111',
  network_id: 'awin',
  user_network_account_id: 111,
  reference: 'WCT201026224341abcde',
  sale_amount: 100,
  commission_amount: 10,
  currency_id: 'EUR',
  sale_amount_euro: 100,
  commission_amount_euro: 10,
  status: 'approved',
  order_date: '2020-10-27 01:57:36',
  click_date: '2020-10-27 01:43:41',
  validation_date: null,
  modified_date: '2021-01-11 08:36:21',
  updated_at: '2021-01-11T09:55:11.000000Z',
  advertiser_id: '1111',
  advertiser_name: 'OTTO DE',
  decline_reason: null,
  sub_ids: {
    clickref: 'XYYZUSERID-DEALID-WCT201026224341abcde',
    clickref2: null,
    clickref3: null,
    clickref4: null,
    clickref5: null,
    clickref6: null
  },
  paid_to_publisher: 0
}
				
			

GET Response Example

				
					https://domain.com/?transaction_id=11111111&network_id=awin&user_network_account_id=111&sale_amount=100&commission_amount=10&currency_id=EUR&status=approved&order_date=2021-07-27%2014%3A20%3A04&validation_date=2021-07-27%2014%3A20%3A04&modified_date=2021-07-27%2014%3A20%3A04&updated_at=2021-07-30T17%3A24%3A21.000000Z&advertiser_id=1111&advertiser_name=OTTO%20DE&sub_ids%5Bclickref%5D=XYYZUSERID-DEALID-WCT201026224341abcde&sub_ids%5Bclickref2%5D=abcde
				
			

Additional Information

  • Please consider that by standard the amount values are reported in cents.
  • If your endpoint responds with an error the same transaction will be fired again.

Related setup guides

Google Analytics

Send affiliate conversions to GA4

Google Ads

Track affiliate sales in Google Ads

Facebook Ads

Server-side conversions to Meta

Looker Studio

Visualise your affiliate data