---
title: "How to Add ClickFunnels Webhook URL to an SMTP"
slug: "how-to-add-clickfunnels-webhook-url-to-an-smtp-1"
description: "Adding a webhook URL in ClickFunnels helps track email events like opens, clicks, and bounces when using an external SMTP provider. This article explains how to locate the webhook URL in ClickFunnels and set it up in SendGrid or Mailgun for accurate email tracking."
tags: ["smtp", "webhook", "email settings"]
updated: 2025-04-29T16:33:06Z
published: 2025-04-29T16:33:06Z
canonical: "support.myclickfunnels.com/how-to-add-clickfunnels-webhook-url-to-an-smtp-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.myclickfunnels.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding ClickFunnels Webhook URL to an SMTP

To send emails from ClickFunnels, you can use either ClickFunnels’ internal email server or connect an external SMTP provider. When integrating an SMTP provider with ClickFunnels, adding the ClickFunnels-provided webhook URL is essential for tracking important email events such as opens, clicks, and bounces. In this article, we will guide you through the process of adding the ClickFunnels webhook URL to popular SMTP providers like SendGrid and Mailgun to ensure accurate event tracking for your email campaigns.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/fnQ8-Nb1nVjcsm8W9VtS0QUmEN439Bz8vw(2).png)

---

## Requirements

- An active ClickFunnels account
- A [domain](/v1/docs/domains-how-to-connect-an-existing-domain-automated-setup) connected to the workspace
- Access to your SMTP provider’s account
- Webhook URL generated during [SMTP setup](/v1/docs/how-to-connect-an-smtp-with-clickfunnels)

---

## Adding the ClickFunnels Webhook URL in SendGrid

To track email events in SendGrid, you need to set up a webhook URL. Follow these steps:

1. In your SendGrid account, go to the **Settings** menu and select **Mail Settings**.
2. Under **Webhook Settings**, click on **Event Webhooks**.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/DSH8uV9pk5F2P5gtdgtVkvUwHv552TVJDQ(1).png)
3. Click the **Create New Webhook** button to set up a new webhook.
4. In the webhook settings, fill out the following details:
  - **Friendly Name**: Enter a name for this webhook (e.g., “CF - Your Workspace Name”).
  - **Post URL**: Paste the **Webhook URL** provided by ClickFunnels. You can find this URL in ClickFunnels when adding your SMTP settings.
  - **Actions to be Posted**: Check the boxes for the events you want to track. These typically include **Opened**, **Clicked**, **Unsubscribed**, **Bounced**, and **Delivered**. You may select all events instead of selecting particular events.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/IxEVr836QoxBzWrrM1o7PBGFtX7sQNiL4g(1).png)
5. After filling in the details and selecting the events, click the **Save** button to activate the webhook.

---

## Adding the ClickFunnels Webhook URL in Mailgun

Mailgun allows you to add a Webhook URL for each event type. This means that if you want to track multiple events such as opens, clicks, and unsubscribes, you will need to add the webhook URL separately for each event type. Follow these steps:

1. In your Mailgun account, navigate to the **Send » Sending** menu and select **Webhooks** from the options.
2. Click the **Add Webhook** button on the right-hand side.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/ahARFQNmkNODUqkdjRQpdWzn1wwrGW84Rg(1).png)
3. In the **New Webhook** window, select the **Event Type** (e.g., Delivered Messages, Opens, Clicked).
4. Paste the **Webhook URL** provided by ClickFunnels in the **URL** field.
5. Click **Create Webhook** to save the webhook.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/VFx_voFXfKM8qMc1bwi7Z5TtpV9w4w3lQA(1).png)
6. Repeat the process for each event type you want to track, such as **Opens**, **Clicks**, **Unsubscribed**, **Delivered,** etc.

![](https://cdn.document360.io/e3762771-4bea-47c2-a830-5473d543417a/Images/Documentation/vE6DWLWSF7KQr21UKbCUtYUId-uDhHCVWQ(1).png)

## Related

- [Adding a Custom Email Address in ClickFunnels](/adding-a-custom-email-address-in-clickfunnels.md)
- [Email Domains: Verifying Email DNS Records](/email-domain-verifying-email-dns-records.md)
- [Connecting an SMTP with ClickFunnels](/connecting-an-smtp-with-clickfunnels.md)
- [Connecting SendGrid as SMTP with ClickFunnels](/connecting-sendgrid-as-smtp-with-clickfunnels.md)
- [Connecting Mailgun as SMTP with ClickFunnels](/connecting-mailgun-as-smtp-with-clickfunnels.md)
