WIP
Batch events
WIP
Fix build`
Add AnalyticsContext methods
Clean up
More cleanups
Getters
More cleanups, also check if device is connected to network before posting