Mixpanel

Mixpanel cheat sheet - identify, track events, references & more

A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Identify

Identify

mixpanel.identify('284')
mixpanel.people.set({ $email: 'hi@gmail.com' })
// Set common properties
mixpanel.register({ age: 28, gender: 'male' })

Track events

Track events

mixpanel.track('Login success')
mixpanel.track('Search', { query: 'cheese' })