DEV Community

Lam
Lam

Posted on

Mixpanel Cheat Sheet

References

mixpanel.track('Login success')
mixpanel.track('Search', { query: 'cheese' })
Enter fullscreen mode Exit fullscreen mode

Identify

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

Reference

Top comments (0)