Google Analytics only records client-side interactions. For server-side, you would have to write your own analytics, and use Google Analytics API to integrate the report data, I think.
On Tue, Jun 21, 2011 at 4:39 AM, Jeff Knox <[email protected]> wrote: > Is it possible to setup Google Analytics on a Java servlet request > that doesn't return an HTML page? In other words I can setup analytics > on > > www.foo.com > > just fine but instead I would like to setup analytics on a servlet > request that returns a JPG image: > > www.foo.com/image?id=1234 > > Currently I have my App Engine project kicking along and have just > added ananlytics to the web portion. If an image is hotlinked on a > forum I would like to include it in the data. Currently I am > internally tracking the number of views, I would like to use more of > the power of the analytics product. > > I don't mind adding code to the servlet, I just haven't found the > right refrence. I see the management API but nothing for tracking. > > Thanks, > > Jeff > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Branko Vukelić [email protected] Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
