added gAnalytics support