From andywatts at yahoo.com Fri Jun 1 01:34:39 2007 From: andywatts at yahoo.com (Andy Watts) Date: Thu, 31 May 2007 22:34:39 -0700 (PDT) Subject: [Railstat-list] railstat and logging hits from ajax Message-ID: <686816.32882.qm@web58712.mail.re1.yahoo.com> Hi, Firstly, many thanks for releasing this code. I'm wondering how to log page hits that come from ajax and bypass the layout. I thought I'd just add the 1x1 image and the javascript to the view ajax was loading. Unfortunately this didn't work. Any advice would be greatly appreciated. Thanks again Andy ____________________________________________________________________________________ Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/railstat-list/attachments/20070531/90b05f31/attachment.html From nick.penkov at gmail.com Fri Jun 1 16:41:45 2007 From: nick.penkov at gmail.com (Nick Penkov) Date: Fri, 1 Jun 2007 23:41:45 +0300 Subject: [Railstat-list] railstat and logging hits from ajax In-Reply-To: <686816.32882.qm@web58712.mail.re1.yahoo.com> References: <686816.32882.qm@web58712.mail.re1.yahoo.com> Message-ID: <2d97bdb50706011341q4be40733mf3699d04e41662e9@mail.gmail.com> Hi, Andy, There is no universal solution for your problem, atleast I don't know. One custom solution, but demanding more coding, is to add additional code to one that submits (creates ajaxing request). Greetings, Nick Penkov On 6/1/07, Andy Watts wrote: > > Hi, > > Firstly, many thanks for releasing this code. > > I'm wondering how to log page hits that come from ajax and bypass the > layout. > > I thought I'd just add the 1x1 image and the javascript to the view ajax > was loading. > Unfortunately this didn't work. > > Any advice would be greatly appreciated. > Thanks again > Andy > > > ------------------------------ > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user > paneland lay it on us. > > _______________________________________________ > Railstat-list mailing list > Railstat-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/railstat-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/railstat-list/attachments/20070601/5002da8e/attachment.html