helpers/analytics library