3 ms·
Really neat! I might be a newbie to this, but how do you get those client-side javascript function calls over to the serverside? I am assuming the client's brow
by le_isms 14y ago
Really neat! I might be a newbie to this, but how do you get those client-side javascript function calls over to the serverside? I am assuming the client's browser is running the Mixpanel Javascript and that your events are serverside.
- rprime 14y agoI think he is not talking about the javascript events. Probably they fire the events in the backend. [1] [1] https://mixpanel.com/docs/integration-libraries/ https://mixpanel.com/docs/integration-libraries/
- wulczer 14y agoYep, like rprime said, we're sending tracking events from the server (let me plug http://libsaas.net http://libsaas.net here). So instead of using mixpanel.track from Javascript, you do an AJAX call to your own server and schedule a Celery job there. There's an issue with passing Mixpanel's super properties to your server-side handler, but that's the general idea.
- le_isms 14y agoGotcha, I'm going to have to try this, thanks for the insight!