Mixpanel Community Icon

Integrating Remix React App with Mixpanel for Shopify Development

Hi everyone, I'm developing a Shopify App (so I'm not trying to setup a Shopify store, but the app) which is a Remix React app but I can't seem to find a proper solution on how to connect and send event data to mixpanel. Has anyone here managed to successfully setup Remix with Mixpanel?

  • Avatar of Thena
    Thena
    APP
    ·
    ·

    Hi Ejub- Julianne from Mixpanel Support here. Diving right in, if you're unable to use one of the SDKs in your Shopify app, you can still send events directly to Mixpanel using HTTP requests from your server to the Mixpanel API. For more detailed information on sending events, you can refer to the Import API doc. User profile information can be sent to the Engage API. I'd also recommend checking out the Server-Side Best Practices doc, which has a lot of great information about parsing out some of the properties that are tracked by default by the client-side SDKs.