How does client-side tracking, such as Google Analytics, capture and transmit user interaction data back to a server?