Trigger a Webhook via a Javascript Tag

Learn how you can fire a webhook via a JavaScript Tag.

Once you have added the AnyTrack tag on your webpage, a programmer can trigger postback URLs and add AnyTrack {click_id} for attribution automatically:

AnyTrack will automatically trigger the postback url replace {click_id} with the current user client id.

If needed, it’s allowed to send more details with the postback in the third argument:

<script>
AnyTrack('postback','https://t1.anytrack.io/xxxxx/collect?click_id={click_id}', {
brand_name:'bar',
commission: 59.99,
transactionId: 'asfasdf'
});
</script>