How to add Javascript to Wix pages

Hi,

I’m trying to track events with Mixpanel, using the code mixpanel.track(“event”); but I’m getting the error message: ‘mixpanel’ is not defined.

I know that I need to import mixpanel but I can’t find where to import it from.

I’ll appreciate your help,
Asaf