add analytics
Fix #29