I am trying to integrate mixpanel in my svelte project. To intializae mixpanel instance i need to do something like :
import {mixpanel} from 'mixpanel-browser'mixpanel.init('TOKEN', {options});// and then can use it's functions like mixpanel.track('user_Action')mixapnel.identify('...')
Doing it for every file doesn't seem to be a good idea but how do i do it in svelte ? like instantiate this at one place and then use it everywhere else ?