This is a Services Addon Module, and you need Services 6.x-2.x.
After installation, you must go to /admin/settings/gaservice to enter your Google Analytics account number
Change of Implementation
The original server side script shipped by Google only works for "Browsers". I modified the implementation so it can work with any "Client". The original script is
ga.php, which is not used. The modified version is