> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/docs/_mcp/server.

# Mixpanel

> Track user behavior with Mixpanel.

[Mixpanel](https://mixpanel.com/) is a business analytics platform. With the Mixpanel integration, you can track user behavior in your Glide app.

> **Don't see the Mixpanel integration?**
>
> You may need to upgrade your plan. [Browse Glide's plans and find the right fit for you.](https://www.glideapps.com/pricing)

## Adding and Configuring the Action

#### Adding Mixpanel Arcade

In **Glide**, click the **Settings** menu.

Find the [Integrations](/docs/automation/integrations) section and then select [Mixpanel](https://mixpanel.com/).

Click the **Add to app** button.

You will need your Mixpanel project's **Project token** to track events.

You can find your **Project token** in your project settings.

## Track custom event

The **Track custom event** action is used to send an analytics event to your Mixpanel project. After naming the event, you can add values to track in Mixpanel.

The action can be added to a [Component](/docs/essentials/components) that supports Actions (e.g., a [Button component](/docs/essentials/components/button)), added to a workflow in the [Workflow Editor](/docs/getting-started/introduction-to-workflows#the-workflow-editor), or after a [Form](/docs/use-cases/forms) is submitted.

> **Analytics Events Only Work in Live Apps**
>
> Tracking custom events only works in live apps when triggered by a user. Note that when testing in the Glide builder, the action will not track data.

#### Track Custom Event Mixpanel Arcade

Click on the plus (**+**) sign in the **Components** panel to add a new component that supports actions, or select an existing component to add an action.

In the **General** tab on the right side of the Layout Editor, navigate to the **Actions** section and search for **Track custom event** or navigate to **Integrations → Mixpanel → Track custom event.**

Select the icon and title for your action.

Create an **Event name.**

Add the values you'd like to sent to Mixpanel.

Click away to save and exit the configuration.

To learn more generally about Integrations in Glide, including how they affect your app's usage, check out our [Introduction to Integrations](/docs/automation/integrations).

## Frequently Asked Questions

#### Don't see the Mixpanel integration?

You may need to upgrade your plan. [Browse Glide's plans and find the right fit for you.](https://www.glideapps.com/pricing)

#### I ran the Track custom event action in the Layout Editor and the Action Editor, but I do not see any events in Mixpanel. What's wrong?

The Track custom event action will only fire when you open your published app in a browser.

#### Can I connect more than one Mixpanel project to my app?

No, each Glide app can connect to only one Mixpanel project. However, different apps in your team can connect to different Mixpanel projects.

#### How do I connect my app to a different Mixpanel project?

You can connect a different Mixpanel project by changing your **`Project token`** in your Mixpanel integration settings.