housekeeping. Add analytics.