Fixed analytics.js methods.