Added analytics code for analytics.js and ga.js