change analytics to a partial so it only renders in a production environment