How To Track Events in Mixpanel
- George Apostolov
- 05 Sep 2025
Guide
To track events in mixpanel, use the mixpanel track method (Javascript) in key areas of your project. To do so, simply add a line of mixpanel.track("Event_Name"); within a script tag.
You can use this method in various key areas with unique names for each event.
Once done, head back inside the mixpanel dashboard and go to the Events tab from the top menu.
You will notice your new custom events are now being tracked inside mixpanel.
These new custom events can now be used in reports and charts and will appear within all event lists as independent events.
Create your first interactive demo in minutes
No credit card required • Start building today


