only send analytics when it's not in dev mode