Fix Analytics init