0

I know how to use ga.js +async calls.

Does analytics.js defautly makes async calls?

What I want to know if it is possible to make calls with analytics.js + async ?

1 Answer 1

1

Universal Analytics works asynchronously. The ga() method puts the arguments (i.e. which method to call and which parameters to pass to this method) on an array which is iterated and the item executed after analytics.js has loaded. The new code is just a little more oblique than ga.js because it uses a wrapper (ga()) instead of the native push method, but the way it works is not all that different.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.