migrate ga.js to analytics.js; complete pageview and event