move gAnalytics to head