How to create a custom event in Mixpanel
Learn how to create a custom event in Mixpanel from Lexicon: name it, pick the events it matches, and save it to report on them as one event.

Quick answer
To create a custom event in Mixpanel, open Lexicon, choose Custom Events, and click Create Custom Event. Give the event a name, add one or more existing events it should match, then save. The new custom event combines those events so you can report on them together.
Steps at a glance
- Open Lexicon from the left sidebar.
- Choose Custom Events under Saved Definitions.
- Click Create Custom Event.
- Pick an event the custom event should match.
- Enter a name for the custom event.
- Click Save.
Interactive demo
Summary
A custom event groups existing events into one. Mixpanel lets you create it from Lexicon without writing code, so you can analyze related actions as a single metric.
Step-by-step guide
Step 1
Open Lexicon
In the left sidebar, click Lexicon. Lexicon is where Mixpanel lists the events, properties and saved definitions for your project.
Step 2
Open Custom Events
Under Saved Definitions in the Lexicon menu, click Custom Events. The page lists custom events that combine or filter existing events, and it is empty until you create one.
Step 3
Click Create Custom Event
Click Create Custom Event at the top right of the page. A dialog opens where you define the new event.
Step 4
Pick an event to match
In the dialog, add an event the custom event should match. Search the list or choose one directly, such as signed_up. You can add more events so the custom event matches any of them.
Step 5
Name the custom event
Click the name field at the top of the dialog and type a clear name for the custom event. Choose a name your team will recognize when it appears in reports.
Step 6
Save the custom event
Click Save to create the custom event. It is now saved in Lexicon and ready to use when you build reports.
Why this matters
You track several events that mean the same thing to your team, such as signing up and creating a first task. Combining them into one custom event lets you chart them together instead of rebuilding the same report each time.
Frequently asked questions
Can a custom event match more than one event?
Yes. The dialog matches your custom event when any of the events you add happen, and you can add more than one.
Where do I find my custom events afterward?
Open Lexicon and choose Custom Events under Saved Definitions to see every custom event in the project.
Related guides
Continue with more step-by-step guides for getting work done.
How to add an event in MixpanelAdd an event to a Mixpanel Insights report: open Create New, pick Insights, choose task_created as your metric, and read the resulting chart.
How to create an Insights report in MixpanelBuild a Mixpanel Insights report that counts task_completed, splits it by plan, shows it as a bar chart, and saves it to a board in a few clicks.
How to create a board in MixpanelCreate a Mixpanel board from the Create New menu, then rename it from the board menu so your team can find your key metrics in one place.
How to create a Flows report in MixpanelCreate a Flows report in Mixpanel: pick a starting event, see the steps users take after it, and hover a path node to read its share of users.
How to create a funnel in MixpanelBuild a three-step funnel in Mixpanel from signed_up to onboarding_completed to task_created, read the conversion chart, and save the report.
How to create a new project in MixpanelCreate a new Mixpanel project from the project switcher: name it, confirm the data region, and land on a fresh workspace ready for tracking setup.
Create interactive demos like this one — free, no coding required.
Start for free →