Could some explain what does 'www.google-analytics.com/analytics.js' do? I mean how the code works and what are the 2469 lines of code do...
I have seen an explanation of what the code that loads this script do. It is here: Google Analytics Code Explanation. This is useful, but it only explains how the final script gets loaded, not the inner workings of the actual analytics.js file.