Fix Analytics script.