Added support for analytics.js