问题
I have a xml web service which I would like to track using Google Analytics. Since it uses a small client side javascript to do the tracking, this is a problem. Is it possible to workaround this without running a javascript client server side?
回答1:
Maybe this would be of help
Server Side Google Analytics (PHP)
回答2:
Work around? Of course, this is the web. Hook up an HTTP analyzer and see what that Google JavaScript transmits. Then, have your webservice make those same HTTP requests.
But wouldn't it be easier to just store that data in a database?
来源:https://stackoverflow.com/questions/2449866/using-google-analytics-to-track-hits-on-an-xml-web-service