Logging Ajax requests


(eltoots) #1

Hi, I have a small community site & i’d like to enable logging on the ajax loaded pages, I figure that I just string together a HTTP request and ajax load it in, however what should that request contain?

I’ve had a quick flick through the API but haven’t seen a logging function (tiredness may be a contributing factor!).

If any can provide an insight it’d be awesomeness style_emoticons/<#EMO_DIR#>/ph34r.gif


(eltoots) #2
$("#the_analytic_div").load('http://forums.nervous-energy.eu/piwik/piwik.php?url=http%3A%2F%2www.nervous-energy.eu%2Fmedia&action_name=&idsite=1&res='+screen.width+'x'+screen.height); 

doesn’t seem to log :confused:


(Matthieu Aubry) #3

this will be adressed with the new JS code that is being worked on at the moment. stay tuned.