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?