Using google analytics to track hits on an XML web service

馋奶兔 提交于 2020-01-15 04:54:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!