when calling the track event inside the js file. The event doesn’t dispatch. There is no network call happen.
i can log the mixpanel inside but the track event is not dispatching anything.
import { fetch } from ‘wix-fetch’ ;
import mixpanel from ‘mixpanel-browser’ ;
// import { localMix } from ‘public/mixpanel-lib’;
// mixpanel.init(‘1aaad2205a7f4f9f00da140cf80c83db’, {debug: true});
// mixpanel.track(‘log event’)
// console.log(mixpanel.track, ‘mixpanel$$’)
mixpanel . init ( ‘1aaad2205a7f4f9f00da140cf81c83db’ , { debug : true })
console . log ( mixpanel )
mixpanel . track ( “log this please” );