[google_analytics] Fix javascript error if ga is not loaded.