djp1988 Posted February 20, 2010 Share Posted February 20, 2010 How can I track xml requests with google analytics ?I thought maybe with PHP, as my xml is being generated from php, but I can't seem to get it working... Link to comment Share on other sites More sharing options...
boen_robot Posted February 20, 2010 Share Posted February 20, 2010 You'll likely need a local, PHP based tracking solution for that. For example, AWStats. Google Analytics is made for HTML pages only, whereas server side solutions like AWStats are made for any kinds of resources, or to be exact - they are made to parse your server log's details.If you generate the XML with PHP so that it is used by an XMLHttpRequest object, I think you can call Google Analytics at that point... from the client side JavaScript code I mean. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.