upgrade google analytics to analytics.js