title: How does google analytics collect its data?
body: <p>Yes, I know you have to embed the google analytics javascript into your page.</p>
  
  <p>But how is the collected information submitted to the google analytics server?</p>
  
  <p>For example an AJAX request will not be possible because of the browsers security settings (cross domain scripting).</p>
  
  <p>Maybe someone had already a look at the confusing google javascript code?</p>