Adding analytics.

Fixes #16