Tracking events - not with google analytics

Hi,

Google Analytics does not let you export the raw data of the events, so I’ve been trying to track events with Mixpanel using their tracking code - mixpanel.track, but that don’t seem to work cause I’m getting an error message: ‘mixpanel’ is not identified.
Should I import mixpanel to be able to use it or maybe I can use the Wix code wixWindow.trackEvent to send events to Mixpanel.

I’ve been trying to solve this issue for more than a week now, does anyone know how to do it?
Can I please get some help?

Best,
Asaf

You have 2 options -

  1. use the mixpanel npm module (if it’s not already on the list, add a request for it to be added)
  2. use the site monitoring feature: https://support.wix.com/en/article/corvid-about-site-monitoring