# Webhooks

> Discover how to set up incoming and outgoing webhooks in AnyTrack to track events, automate conversions, and connect with thousands of apps via Zapier, Make, and more.

Webhooks are instant notifications sent by an application to a unique target URL that enables server-side processing.

With AnyTrack, webhooks send and receive data:
- **Incoming webhooks** enable AnyTrack to receive data from HubSpot, Stripe, or any web application integrated with Zapier
- **Outgoing webhooks** enable AnyTrack to send conversion data to Zapier, Make, and their integrated applications

<Image
  align="center"
  border={false}
  src={readmeAsset1}
/>

## Webhook Providers

<AdsIntegrationCard
  icon={readmeAsset1.src}
  category="Analytics"
  title="Webhooks by Zapier"
  description="    Webhooks are automated messages sent from apps when something happens. They have a message (or payload) and are sent to a unique URL. Essentially, it's like an app's phone number or address."
  learnMoreUrl="/docs/webhooks"
/>

Companies like Zapier and Make enable anyone to implement what previously required special development skills.

Webhook providers enable scenarios with preset formats and data structures. Each server has predefined send/receive structures. Build the scenario and let it run in the background with content dynamically updated according to the event sent.

## Why are webhooks so important to digital marketers?

Sometimes you need to send or receive data from and to applications that are not directly integrated into AnyTrack. In such cases, Webhooks can be used to send data from AnyTrack (outbound) or to send data to AnyTrack (inbound).

<Tabs>

  <Tab title="Outbound Webhooks">
    When you want to send data from AnyTrack to a third party application like Google Data Studio.

    <Image
      align="center"
      className="border"
      border={true}
      src={readmeAsset2}
    />

    **Use cases:**

    * Send conversion data to Google Data Studio
    * Trigger automated email campaigns
    * Update CRM records with conversion data
    * Send data to business intelligence tools
  </Tab>

  <Tab title="Incoming Webhooks">
    When you want to send data from a third party app to AnyTrack.

    <Image
      align="center"
      className="border"
      border={true}
      src={readmeAsset3}
    />

    **Use cases:**

    * Receive conversion data from Stripe
    * Import leads from HubSpot
    * Track events from custom applications
    * Sync data from eCommerce platforms
  </Tab>
</Tabs>

Use AnyTrack inbound or outbound webhooks to connect your marketing and sales stack to send and receive data with thousands of business apps.

## The Anatomy of a Webhook

<Columns layout="auto">
  <Column>
    ### The Webhook URL

    The webhook URL is provided by the receiving server. Here's an example from Make:

    ```http
    https://hook.integromat.com/j8s8l9y0odfxokmb9ino98jxxxxxxxxx
    ```
  </Column>

  <Column>
    ### The Payload

    The payload is the data sent alongside the webhook URL. It contains all the event information in JSON format, including:

    * Event details (name, time, value)
    * Attribution data
    * Customer information
    * Custom parameters
  </Column>
</Columns>

## Related Resources

- [Advanced Options](/docs/advanced-options-ms-ads)
- [Other Ad Networks](/docs/other-ad-networks)
- [Reddit UTM Parameters](/docs/reddit-ads)

<FaqAccordion
  title="View Complete Payload Example"
  icon="code"
  items={[
    {
      question: "View Complete Payload Example",
      answer: "<pre><code>[{\"assetId\": \"IBTO9lOfAMyb\", \"clientId\": \"WS1Rxx07V9MG2I\", \"externalClientIds\": {\"googleAnalytics4\": \"1758379098.1741266432\"}, \"clickId\": \"IBTO9lOfAMybWS1Rxx07V9MG2IvXUIPO0J\", \"externalClickId\": \"Sn40FJ3pUJn843YIfr1cSBG1WovXU4OjFX\", \"eventName\": \"Purchase\", \"eventTime\": \"2025-03-06T13:38:57.616Z\", \"eventTimestamp\": 1741268337, \"eventValue\": 37.99, \"currency\": \"EUR\", \"userAgent\": \"Mozilla/5.0 ...\", \"location\": \"https://unbounce.anytrack.io/?utm_source=facebook&amp;utm_medium=cpc&amp;utm_content=unbounce+adset&amp;utm_campaign=unbounce+campaign&amp;utm_term=unbounce+ads&amp;fbclid=Sn40FJ3pUJn843YIfr1cSBG1WovXU4OjFX\", \"brandName\": \"TRY FREE_cj\", \"linkId\": \"lp-pom-button-194\", \"trackingGroupId\": \"custom\", \"integrationId\": \"custom-integromat\", \"transactionId\": \"ebf390c5-6677-4b6f-9d44-ea21b1791a49\", \"customParams\": {\"clickid\": \"IBTO9lOfAMybWS1Rxx07V9MG2IvXUIPO0J\", \"eventName\": \"Purchase\", \"eventValue\": \"35.1741268337\", \"currency\": \"EUR\"}, \"mainAttribution\": {\"identifier\": \"fbclid\", \"source\": \"facebook\", \"medium\": \"cpc\", \"campaign\": \"123123123123\", \"term\": \"unbounce ads\", \"content\": \"unbounce adset\", \"fbclid\": \"Sn40FJ3pUJn843YIfr1cSBG1WovXU4OjFX\"}, \"ip\": \"77.127.186.155\"}]</code></pre>"
    }
  ]}
/>

## How to use AnyTrack webhook data in Zapier

<Cards columns={1}>

  <Card title="Step-by-Step Setup Guide" icon="list-ol">
    1. Create a Zap and select Webhook by Zapier
    2. Grab the Webhook URL and Add it to your AnyTrack Webhooks
    3. Select the events that you want to trigger the zap with and hit test
    4. Zapier will receive the Event Data instantly so that you can map the data for your zap action
    5. Then you can select the App where you want to send the conversion data to

    <Video src={readmeAsset4} alt="Zapier Webhook Setup"  />

  </Card>
</Cards>

If the webhook provider responds with an error, the webhook is disabled. To reactivate it, edit the webhook and send a test event to reset the error counter and activate it.

<FaqAccordion
  title="FAQ and Troubleshooting"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "Why I don't see the option to add a new webhook?",
      answer: "If the role assigned to your user has restrictions or view-only permission, the option to add or edit a webhook won't be available. Please contact your account owner or manager to <a href='/docs/team-management#4-customizing-user-permissions'>increase your access level</a>."
    },
    {
      question: "Why am I am not receiving any events in my webhook?",
      answer: "If your webhook returned too many errors, AnyTrack automatically turns it off. To turn it on again, send a test and when validated save."
    },
    {
      question: "How do I troubleshoot webhook delivery issues?",
      answer: "1. <strong>Check webhook status</strong>: Ensure your webhook is active in the AnyTrack dashboard. 2. <strong>Verify URL</strong>: Make sure the webhook URL is correct and accessible. 3. <strong>Test endpoint</strong>: Send a test event to verify the endpoint is responding. 4. <strong>Check logs</strong>: Review webhook delivery logs for error messages. 5. <strong>Validate payload</strong>: Ensure your endpoint can handle the JSON payload format."
    },
    {
      question: "What events can trigger webhooks?",
      answer: "AnyTrack webhooks can be triggered by various events including: <strong>Conversion events</strong> (Purchase, lead, signup), <strong>Attribution events</strong> (First touch, last touch), <strong>Custom events</strong> (Any custom event you've configured), and <strong>eCommerce events</strong> (Add to cart, checkout initiated)."
    }
  ]}
/>
