Webhooks
What are webhooks, why you need them and how to use them to leverage your conversion data and automate your marketing.
What are webhooks?
Webhooks are automated notifications sent by an application to a URL. Generally, the target URL is an API end-point that will be able to handle the data sent with the URL and record such information into a server for further processing.
Thanks to companies like Zapier and Integromat, working with webhook requires very little technical skills and allow to automate workflows between applications that you use every day.
Why do you need webhooks?
You need webhooks because sometimes you need to send or receive data from and to applications that are not directly integrated in AnyTrack.
Webhooks can be used to send data from AnyTrack or to send data to AnyTrack.
Outgoing Webhook:
When you want to send conversion data from AnyTrack to a third party application like Drip or ActiveCampaign so you can tie conversions with your subscribers.
Incoming Webhook:
When an affiliate network or app is not integrated with AnyTrack and you want to send your conversion data from such app to AnyTrack.
Before we dive into some use cases, let's see first what is a webhook and what kind of data it can carry.
The anatomy of a webhook
tl:dr : Head to the tutorial to see how it's done.
The webhook is composed of two elements. The URL which is provided by the receiving server and the data payload, which comes either as a json or as query strings.
A popular webhook provider is Integromat. In our case, they are the receiving server.
The webhook URL
The webhook URL below is provided by Integromat.
The Webhook URL is added to the settings of one of your property.
You can select which events you wish to send to the webhook and when enabled, each of those events will call the webhook, and send the associated data payload.
The webhook data payload
The webhook payload is the data sent alongside the webhook URL. It is formatted as a JSON
so that both Zapier and Integromat can parse it for further processing.
When creating your webhook, you should first hit the "test" button in order to send all standard parameters to the webhook provider end point.
if you look closely at the data, you will see familiar faces such as utm_source
, utm_medium
etc...
What happens when Integromat receives this data?
Integromat is connected with hundreds of applications used everyday by marketers, sales, accountants, developers and professionals that want to automate certain tasks and don't want to hire a developer to build a workflow that connects their apps through an API.
The complexity of getting the data out of an application and into an other one, is simplified by Integromat since, when you have the data in Integromat, you simply have to select the application you want to send the data to and map the data you received in the webhook with fields available in the destination app.
Some definitions:
Scenario: A scenario is a series of tasks you can set up to run automatically. A scenario starts with a Trigger and is generally followed by one or many actions.
Trigger: The trigger is what will initiate the scenario to run and is the initial data receiving point.
Action: The action is what will define the what you want to do with the data and to which application you want to send it.
Tools: Integromat has a set of tools that you can use to manipulate, store, filter the data received in the trigger.
In the illustration below, you can see the webhook trigger and a choice of application where you want to send the data.
Send Anytrack conversion data to Google Sheets
This is a very simple use case but it illustrates very accurately what you can do with the data sent by AnyTrack webhook.
Before you begin make sure you have:
An Integromat account - If you don't have one, you can open one here
A Google Sheet account
An AnyTrack account with an active Asset (property)
Watch the webhook by AnyTrack tutorial
Webhook providers
If you know other providers, do not hesitate to recommend them here.
Last updated