Obtain Response Data via Webhooks
Webhooks are used to obtain response data from Mailgun, such as whether your customer has subscribed or unsubscribed from your mailing. These data will be processed by CrossEngage and displayed in each campaign’s statistics. The generated data can be used to build user segments.
Your CrossEngage "Web tracking and response data API key" is needed for this Webhook configuration.
Preparing a Webhook URL
To fetch the "Web tracking and response data API key":
Log in to your CrossEngage account.
Navigate to
Settings
>System setup
.In the
API keys
section, copy the “Web tracking and response data API key”.
Paste your copied API key into the following URL instead of the placeholder "{webapikey}."
When finished, copy the adjusted URL.
Adding a Webhook to Mailgun
Webhook URLs must be added to Mailgun to allow response data to be sent to the CrossEngage System. This is done via the following steps:
Log in to your Mailgun account.
Navigate to the
Webhooks
section on the top right side of the menu.
We will now specify where the event data will be sent. Click on the
+
icon in the "URLs" column.
Paste the copied URL from the previous steps into the "URL" cell and click on
Set Webhook URL
.
Repeat the same procedure for each event type that you find relevant.
You will now be able to view response data in your CrossEngage dashboard and use the information to build segments.
Last updated