How does Google Analytics save data to a database

Posted by Pranz on Stack Overflow See other posts from Stack Overflow or by Pranz
Published on 2010-04-22T20:51:09Z Indexed on 2010/04/22 20:53 UTC
Read the original article Hit count: 135

Hello everyone, I am making a Google Analytics like project for my school assignment. I have two questions primarily:

1) Exactly when does Google store the data to the database? When it does it use XHR with some server side scripting language to store it to the database or is there a way to do it using plain javascript?

2) How do I get the IP address of a user from Javascript? How does Google do for Analytics??

Thanks for all the help.

Pranz

© Stack Overflow or respective owner

Related posts about google

Related posts about google-analytics