hides analytics if not production