Hello world,
A new version of the package is available which provides:
- an explicit MIT license file “LICENSE.txt”, so it’s explicit that you guys can do whatever you want with this package,
- a new “IsGeolocationEnabled” option on the MixpanelClient class which allows you to turn that feature on or off (on by default),
- a new “IsVerboseEnabled” option to enable API calls with the verbose flag specified to ease debugging.
Hope this helps,
Carl
The library has some bugs that surfaced for us in production on our ASP.NET MVC website and caused memory to exceed 500MB application pool limit. This is unacceptable. If it was open source we would look into this further, but we see no link to source code.
LikeLike
Hi, sorry for that, the code wasn’t tested on a web server as I never expected the code to be used in a web site since you have Mixpanel’s Javascript SDK for that (https://mixpanel.com/help/reference/javascript).
I can’t open source the code for now as I’m using a code chunk that I can’t open source, I’ll see to this.
LikeLike
Hi Carl,
How close are you to open sourcing your code?
We’ve used your library and prefer it over, say, the top Google result for ‘C# mixpanel’, but can’t continue while it’s not open source (we want to be able to submit PRs to fix bugs we’ve found).
Do you have an ETA?
Thanks,
Luke
LikeLike
Hi Luke,
I already did, it’s just I didn’t write a post about it yet.
Wanted to refactor the code and all before making it public but since it’s been dragging on for a while, here it is: https://github.com/canderso/Mixpanel
Cheers,
Carl
LikeLike
Ah that’s awesome.
Thanks Carl 🙂
LikeLike
Thanks Carl!!
LikeLike
One question Carl – You sure the library works in Offline mode?
I’m trying for a while to use it. I see the “SaveElement” indeed saves the event in a “mixpanel.dat” file, but when I use the “TrySendElements” or when I restart the app on online mode, the events dont make their way to the mixpanel Server.
The “mixpanel.dat” file is reset to no data tho.
Any idea what I’m missing?
LikeLike
Hi, my offline mode unit tests pass, I’d need more info to look into the bug. On which platform are you using the package?
LikeLike
Hello Carl,
Firstly, thank you for your support!
I’ve been trying to send events offline as well, but mixpanel returns 0 when the TrySendLocalElements method is called. Any clues as to why this might be happening?
LikeLike