Forum Moderators: open

Message Too Old, No Replies

Possible to track Ajax links/collapsible block links?

         

esllou

7:43 pm on Jan 1, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am working on a site where users will need to click on links such as "Open Block" or "Read More" where Ajax will be used to open up further content. Is it possible to track click throughs on these links?

To see whether an article has a "view" or not, our idea was to count the clicks on the "Read More" links, but as no page load is involved, being Ajax, I suspect it may not be possible to track the click throughs. Is that true?

penders

12:48 pm on Jan 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



...but as no page load is involved, being Ajax, I suspect it may not be possible to track the click throughs.

But presumabley you are making an HTTP request and performing some kind of server-side processing (being Ajax) in order to return the appropriate content - I would have thought that at this point you would need to record in your database, "yes, content XYZ has been requested"? Perhaps not quite the same as if you were monitoring click throughs by analysing the server logs?