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

# Export Notifly events to Mixpanel

> Send Notifly message events such as sends, clicks, and opens to Mixpanel to analyze messaging performance alongside other events.

> [!TIP]
>
> * Event export to Mixpanel is available on Notifly's Pro and Enterprise plans.
> * Contact your Notifly representative to use this feature.

Choose which message events to include in Mixpanel funnel, retention, and cohort reports. For example, check whether users make a purchase after clicking a push notification or return after opening an email.

## How it works

Notifly collects the selected events and sends them in batches to Mixpanel's Import Events API at regular intervals. Expect a short delay before the data appears after setup.

## Set up event export

### 1. Find your Mixpanel project token

In the Mixpanel dashboard, open the project you want to connect and copy its **Project Token**. You can usually find it under **Project Settings**.

![Project Token field in Mixpanel Project Settings](https://mintcdn.com/notifly/0_mniRtlC78csfem/images/i18n/en/mixpanel/mixpanel-project-token.png?fit=max\&auto=format\&n=0_mniRtlC78csfem\&q=85\&s=2115f5dd215f25c4d27189897a902481)

### 2. Enter the Mixpanel project token in Notifly

1. In the Notifly console, open **Settings** > **Integration**.
2. If you're setting up Mixpanel for the first time, click **Register** under **Mixpanel Integration** and paste the token into **Project Token**. If Mixpanel is already connected, edit and save **Project Token** as needed.

![Mixpanel integration settings in Notifly](https://mintcdn.com/notifly/0_mniRtlC78csfem/images/i18n/en/mixpanel/mixpanel-event-export-settings.png?fit=max\&auto=format\&n=0_mniRtlC78csfem\&q=85\&s=97dd817324b3e373e65a612271566f06)

### 3. Choose events to export

Under **Events to import to Mixpanel**, select the events you need for your analysis. Check your Mixpanel plan or agreement for how exported events count toward usage and may affect your bill.

![Event selection for Mixpanel export](https://mintcdn.com/notifly/0_mniRtlC78csfem/images/i18n/en/mixpanel/mixpanel-event-export-list.png?fit=max\&auto=format\&n=0_mniRtlC78csfem\&q=85\&s=5902cc23ce55f9d5312dd5827357953d)

* Use **Select all** to select every event or **Clear all** to clear the selection.
* If you're setting up the integration for the first time, click **저장** (Save, shown in Korean). If you're updating the event selection, click **Save**.

***

## Supported events

| Category | Event name | Description |
| :- | :- | :- |
| **Message sends (excluding email)** | `send_success` | Message sent successfully |
| | `send_failure` | Message failed to send |
| | `failover_text_message_send_success` | Fallback text message sent successfully |
| | `failover_text_message_send_failure` | Fallback text message failed to send |
| **Email** | `email_send` | Request to send an email |
| | `email_delivery` | Email delivered |
| | `email_open` | Email opened |
| | `email_click` | Link in the email clicked |
| | `email_bounce` | Email bounced |
| | `email_complaint` | Complaint received, such as a spam report |
| **Push notifications and popups** | `push_delivered` | Client confirmed receipt of the push notification |
| | `push_click` | Push notification clicked |
| | `in_app_message_show` | In-app popup displayed |
| | `in_web_message_show` | Web popup displayed |
| | `main_button_click` | Primary popup button clicked |
| | `close_button_click` | Popup close button clicked |

## Events without an external user ID

Mixpanel requires a `distinct_id`. Notifly uses `external_user_id` as `distinct_id` and skips events without an `external_user_id` by default.

If you need to export events without an `external_user_id`, contact Notifly support to check whether your project supports exporting those events.

***

## FAQ

> [accordion] I finished setup. Why don't I see data in Mixpanel yet?
>
> Notifly sends events in batches at regular intervals. Allow time for the data to appear in Mixpanel.
>
> 1. Check the Mixpanel project token.
> 2. Make sure the event is selected.
> 3. Check that the test user has an `external_user_id`.

> [accordion] Do I need to send all events?
>
> Send only the events you need. Opens and clicks may tell you more about user behavior than send logs. Prioritize the events you use in your analyses to manage your Mixpanel costs.

> [accordion] Can Mixpanel count the same event twice?
>
> Notifly maps each event's unique ID to Mixpanel's `$insert_id` field. If Notifly resends an event after a network issue, Mixpanel checks the combination of event name, timestamp, `distinct_id`, and `$insert_id` to identify duplicates in its reports.

> [accordion] Can I connect multiple Mixpanel projects?
>
> The console supports one project token. For a custom setup that connects several projects, email [contact@notifly.tech](mailto:contact@notifly.tech).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.