![]() |
![]() |
![]() |
|
Step 3: add lines The "Links" version of SiteSpeed is meant for applications such as databases and cgi-scripts. It expands the measurement of the "Basic" and "Frames" versions to include the time it takes to jump. The clock starts ticking when visitors click. The measurement therefore includes the time it takes to connect to the server, wait for the reply (script processing), and receive the results, in addition to all other things measured such as html and images. All you have to do is add a parameter to the link (text link, clickable images, imagemap, etc.) on which visitors click. The method uses a cookie to store an intermediate time and will only work for visitors that have working cookies. If people jump into the measured page from places beyond your control (other websites, searchengines, bookmarks, etc.) then they will only measure the images on the page, not all the rest, and thus faul up your statistics.
Step 3.1: page to be measured
Follow the instructions for the
Step 3.2: page with link The following changes must be made to all links on your website (text link, clickable images, imagemap, etc.) that jump to the page you're measuring. There are two changes to be made. First you have to add a single line to the <HEAD> of every page with the link. Then you have to add a parameter to the link itself. The example only shows how to add the parameter to a text link. Other kinds of links are similar and are left as an excercise to the reader. Certain kinds of links are not supported, such as jumps from within Java applets and plugins like Flash.
Add this parameter to the link that jumps to the
page to be measured:
The source of your page should now look like this:
Note: The SiteSpeed icon will not become visible on this page. Not this page is measured but the page jumped to.
Step 4: finish Upload all the pages you've changed to your webserver and open with a browser. Turn the cookie-warning of your browser on and click the link. Your browser should now inform you twice in quick succession that SiteSpeed wishes to set a cookie that will be sent back only to itself. You should then see the SiteSpeed icon inside the page beiing measured. When the page has finished loading the icon will start animating, and you can click it to see your statistics. That's all! You're done! |
![]() |
![]() |
![]() |