Analytics logging

Collect logs & analytics.