djp1988 Posted February 20, 2010 Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now