ASP/.NET Web Hosting
* 3 Months FREE *
CLICK HERE!
 CoverYourASP --> Losing my visitors

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
161 active users
10228 visitors today
11067 pages today
how is this done?
ASP.NET Showcase
ASP.NET Graph and Chart Component with FREE developer version

ASP.NET Shopping Cart and E-commerce Control with FREE trial download

ASP.NET Web Hosting with free month and setup

$15 Domain Name Registration from .DNR.
As seen on these sites
Special thanks go to the sites that support me by publishing my articles.
See more

CoverYourASP
Copyright © 1999-2008 James Shaw.
All rights reserved.

ASP.NET Blog
ASPRSS
ShawThing

Now open source with SourceForge!

How many visitors are leaving your pages early?

Unless you have a very small web page, let's say less than 5k, it is probable that some of your visitors are moving on before your web page has even finished loading.

This may not be as bad as it initially sounds. If your site is like mine there are a lot of links to articles or features that the user may pick before the current page finishes loading. That's not really a loss. Having said that, there are some well-known points you should bear in mind when trying to get your page to load (or appear to load) quickly. I'm not going to go into detail - there are plenty of how-to HTML sites out there - but at least keep your tables small, and always specify width/height for images and tables.

This article is about how to detect those visitors "leaving early".

Initially you might be tempted to put in code like this, that counts the headers and footers viewed. The difference is the number of pages that weren't fully viewed:

// increment application variable at top of page
Application.Lock ( );
Application ( 'HeadersViewed' )++;
Application.Unlock ( );

// ...page content goes here...

// increment application variable at bottom of page
Application.Lock ( );
Application ( 'FootersViewed' )++;
Application.Unlock ( );

Part 2: But you'll be pleasantly surprised...

Featured sponsor
My favorite resources

Selling products online - read how James does it now



Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!


See my source code
wherever you see this icon...

You can also download the entire site source code for FREE!