top of page
bottom of page
import mixpanel from 'mixpanel-browser'; mixpanel.init('d1e3417d06df3e00e69740ba50f15b3d', {debug: true, track_pageview: true, persistence: 'localStorage'}); // Set this to a unique identifier for the user performing the event. mixpanel.identify('USER_ID') // Track an event. It can be anything, but in this example, we're tracking a Sign Up event. mixpanel.track('Sign Up', { 'Signup Type': 'Referral' })