I have a web application that I have been trialing Mixpanel on. Before I buy, I would like to clean up the integration to make sure we're using it in the best possible way.
Should we be tracking events and properties in the frontend, backend, or both?
Tracking in the frontend will allow us to easily capture user-interaction based events (i.e., clicked button, interacted with widget, etc.)
Tracking in the backend will allow us to easily track custom internal properties (i.e., duration of API call, internal database IDs, internal status codes).
What are the best practices here?