Using google analytics to track hits on an XML web

2019-07-23 18:21发布

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?

2条回答
时光不老,我们不散
2楼-- · 2019-07-23 19:03

Maybe this would be of help

Server Side Google Analytics (PHP)

查看更多
等我变得足够好
3楼-- · 2019-07-23 19:19

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?

查看更多
登录 后发表回答