async call to analytics.js