I'm not sure I'd go with the idea (yet). The power of Google Analytics is in the "Analytics" pieces. This seems to be only the data gathering piece. Granted that is also important. But this would need a ETL & BI system or something like that in-front of it to be useful.
It is a great start.
I also really enjoy looking through the source code for projects like this and seeing how other coders do things.