|
|
<% Select Case intTracking %>
<% Case 1 %>
 |
Javascript |
|
Javascript tracking provides a way to track any type of page including .htm, .html, .php, .aspx, .cfm, etc.
Robots cannot be tracked using javascript because they will not execute the javascript code.
|
| Code |
|
Use the following code to track any web page:
The ideal spot to place your tracking code is at the bottom of each web page before the closing html
tag (</html>). For the page title to be automatically inserted, you must place the tracking code
after the </title> tag and there must be text in the title tag.
|
|
<% Case 2 %>
 |
Active Server Pages (ASP) |
|
Using ASP is the optimal way to track your web pages. It allows you to track robots accessing your
web pages which javascript will not. The only limitation with using ASP tracking is that you will not
collect screen area data from your visitors. |
|
To track your .ASP files, add the following code to any .ASP page that you want to track:
|
|
You can also use a standard include in your asp pages like this:
|
|
<% Case 3 %>
 |
Redirects |
|
You can track files that aren't web pages by linking to them in your web
page with HTML. This is useful for tracking downloads, media files, etc. |
|
Here is an example of how to link to a file and track it:
|
|
<% Case Else '0 %>
 |
Overview |
|
To track activity on your web site, you will need to insert
tracking code on each web page. There are three different types of tracking code:
To setup web site tracking, follow these steps:
- Choose a tracking method
- Copy the code and paste it into your web pages
|
|
<% End Select %>
|
<% Response.Write ShowProductInfo() %> |