Webhook Conversion Tracking And Attribution – How To Set Up
Send events as webhooks to Zapier and other destinations
Contents
Send events from Able to an external webhook
Send Able conversions to third-party applications using Webhooks.
Enter a webhook URL to deliver the webhooks to
In Able Dashboard, press "Add Service Integration" and select "Webhook".
If you're using Zapier, see its help pages for the instructions how to set up a webhook trigger and generate a webhook URL.
The events are sent in JSON format and the data schema is similar to the 'resource' object used in the inbound webhook integrations, however, attribution fields such as 'utm_source' contain first-touch attribution parameters calculated by Able based on the customer history.
Enter authorization header
In Able Dashboard, press "Add Service Integration" and select "Webhook".
If the webhook doesn't require basic authorization, leave the fields empty and press 'Save'.
If the webhook requires authorization, enter the Authorization header value to be used verbatim, i.e. 'Bearer ...' for token authorization.
Send webhooks to Able from Zapier
You can send arbitrary events to Able webhook endpoint using Zapier, as well as by integrating with Able's webhook endpoint directly.
This guide focuses on setting up Zapier; you may find more details about sending webhooks from custom applications, as well as webhook format reference in our Send Events Using Webhooks guide.
Create Zapier Webhook action
In a new or existing Zap, add an action and select 'Webhook by Zapier'.
Select Action Event
In a webhook action settings, select 'Custom Request' as the action event.
Configure Custom Request
First, setup request parameters. Enter the following settings:
- Method – POST
- URL – https://app.ablecdp.com/uip-events/event
- Data Pass-Through – False (default)
- Headers – Content-Type – application/json
Second, prepare the request data.
Please refer to the Send Events Using Webhooks guide, which has an example of data request and the format specification.
To get started, replace %%FUNNEL_MARK%% with your funnel identifier, which can be obtained in the Get Code section of the Able Dashboard. Press plus sign in the 'Data' input to add dynamic field mappings.
The resulting data value must be a valid JSON. For example, if your dynamic fields contain quote marks these need to be escaped. If you need to send multiple deal_items, Zapier line items should be converted to string in a preceding action. We suggest using one of many available free JSON validator tools to verify request syntax. Formal JSON specification is available at https://www.json.org/json-en.html
Press 'Continue' and test the step to verify that no errors occur. If you receive a 400 error, it usually indicates that the JSON is malformed. Use a validator to ensure that the data field contains valid JSON. If the test succeeds, you should see the event in the Able Dashboard under the Customers tab within seconds.