Which part is confusing? The browser sends lots of data to the server with each request. The server usually logs at least some of that data. Among other things, that data can be used to generate a subset of the data that is typically gathered by GA and other client-side analytics tools.