Offline analytics commits: nearly there!

Cheers,
T
Offline analytics commits: works now!
TODO: introduce storage limit.

Cheers,
T