only load analytics in production