Does analytics.js derive its functionality from the Google Analytics API? In other words, can I use the Analytics API to record the same sort of data that analytics.js records?

If not, what data can be recorded by analytics.js that cannot be inserted using the Analytics API?


Yes, analytics.js is a script to construct and send Measurement Protocol requests. You can construct requests to insert required data yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.