Mixpanel Community Icon

Setting Up Mixpanel for Offline Deployments in Health-Tech AI Apps

·
·

Hey everyone, Need help with setting up mixpanel for offline deployments We’re a health-tech AI startup with a global presence and have been using Mixpanel to track user activity on our app. So far, this has only been for our online deployments. The tricky part is, we also have offline deployments where the app works without internet but connects to the internet every 3–4 days to sync data. I’ve read online that it’s possible to track offline events in Mixpanel by storing them locally and syncing them when the system is back online, but I’m not sure how to set this up. Has anyone here tried something like this or knows how to approach it? Would really appreciate your suggestions or any guidance! Thanks a lot in advance!

  • Avatar of Dagan
    Dagan
    ·
    ·

    Hi, I am quite new to MixPanel, actually just now working on setting it up. We have the same problem as mentioned by Ansh V., for similar with an additional use case:

    1. 1.

      Standard online analytics collection

    2. 2.

      Partially online - as described above - so that the analytics can be sent periodically, on demand (not automatically)

    3. 3.

      Completely offline - no analytics is collected at all, preferably not even installed (maybe some mock alternative)

    If we could achieve that with MixPanel without coding it ourselves, that would be great. Tech Stack: Our frontend is React.js and the backend is Python Thanks for any info

  • Avatar of Ansh V.
    Ansh V.
    ·
    ·

    Dagan if you could also share this as "message on the channel"

  • Avatar of Dagan
    Dagan
    ·
    ·

    Response from Customer Support: Tl;DR:

    • SAAS / online: standard implementation

    • Partially online: you should store the data locally, and then send it to MixPanel as batches. This requires some coding.

    • Private Cloud: not supported. This requires storing the data on the backend side and maintaining some updating mechanism.

    Full Answer: Based on the information you’ve provided, it seems like your first and third deployment options could potentially work with Mixpanel. For your SaaS deployment, Mixpanel is a cloud-based service and is designed to work well with this type of setup. We have several SDK's depending on your needs. For your Virtual Machine deployment, while Mixpanel doesn’t directly support local storage of analytics results, you could potentially store the data locally and then send it to Mixpanel when a connection is available. This would require some custom implementation on your end. However, for your Private Cloud deployment, Mixpanel might not be the best fit. With Mixpanel being cloud-based - data is ingested, analyzed, compressed, and stored on Mixpanel’s servers, and you view it through Mixpanel. I will mention that we do offer BAA’s (Details on our legal page) at the Enterprise level to remain HIPAA compliant if that is the main factor at play. However, if no information can be sent outside the private network, it might not be possible to use Mixpanel in this scenario.