| AJAX...It's Not Just for Cleaning |
|
|
|
| Web Analytics | |
| Written by Lyris HQ Staff Writer | |
| Thursday, 20 March 2008 | |
We know what you're asking—Why is ClickTracks writing an article on cleaning supplies? Actually, we aren't. We are, however, going to spend a little time giving you the scoop on AJAX—an acronym that stands for Asynchronous JavaScript and XML—and what it has to do with web analytics.
To Refresh or Not to Refresh: That is the Question
Sounds pretty cool right? Well, it is. But before you all go out and buy an AJAX development book, there are some things you'll want to take into consideration. If you need accurate web analytics—and believe us, you do—you'll need to keep a few things in mind before developing your AJAX application. Log Files or JavaScript: Which is Better for AJAX?
On the other hand, log file based systems note both page requests *and* AJAX server requests. To better understand, let's take a look at a specific example: index.html → user clicks on the products link → XML Server Object is accessed and data is passed to server → XML data containing product info is sent back from server → data is presented on index.html In this example, if you used a conventional JavaScript tracking solution, only the request to index.html would be logged. However, in a log file based tracking system, both the request to index.html and the XML server object request would be logged. As a result, it would be possible to track which actions occurred, which links were clicked, etc. It's important to weigh all the options when selecting an analytics solution. Both JavaScript and log file based tracking systems have their pros and cons, but if AJAX is your thing, having in place a log file based analytics solution should be a priority. Comments (0)
![]() Write comment
|
|
| < Prev | Next > |
|---|





We know what you're asking—Why is ClickTracks writing an article on cleaning supplies? Actually, we aren't. We are, however, going to spend a little time giving you the scoop on AJAX—an acronym that stands for Asynchronous JavaScript and XML—and what it has to do with web analytics.

