I have a website where most of the traffic comes from the API ( http://untiny.com/api/ ). I use Google Analytics to collect traffic data, however, the statistics do not include API traffic, because I could not include the Google Analytics JavaScript code in the API pages, and this will also affect the results of the API. (example: http://untiny.com/api/1.0/extract/?url=tinyurl.com/123 ).
The solution can execute javascript using the javascript engine. I searched stackoverflow and found javascript engines / interpreters for Java and C, but I could not find it for PHP except the old "J4P5" http://j4p5.sourceforge.net/index.php
Question: Does the javascript mechanism use a solution to this problem? or is there another reason to enable API traffic in Google Analytics?
The simple problem with this in general is that any data you receive can be very misleading.
, , , . , , , , , . , , , ... .. .
, PHP, IP , , . , , API ( , , , , ).
, , , , .
http://code.google.com/p/serversidegoogleanalytics/
.
, , http- , ..... , , , - .
, curl ( php) gif ,
http://code.google.com/apis/analytics/docs/tracking/gaTrackingTroubleshooting.html#gifParameters
, Javascript, Google Analytics script, (, , API : API [ iframable-], , , javascript ).
(, Apache IIS Analog, Webalizer Awstats), - , API, useragent, request IP - API.