tag as it is out of the way and should you need to find it again in the future, easy to locate. This is shown in the example below:
As it is important to place the tracking code correctly on each page of the site please contact Support@WebVisitor.info if you require assistance. We are happy to help you.
If you are building your website entirely from static HTML pages (i.e. you write each page individually) then you will need to open each page using either a text editor, such as Notepad, or any standard HTML editor. This may take a while but it is well worth it…
If you are building a more advanced website by using a scripting language then place the tracking code on each of the script pages as you would in a HTML page. However depending on the scripting language you use there may be preferential ways of doing this, include files, web-controls or master-pages for example.
Users of the ASP.NET v1.0 or v1.1 a suggestion is to include the tracking code in a web-control then simply include this on each page.
If you are using ASP.NET 2.0 onwards and making use of site master-pages simply place the code within this. Every content page will then be tracked.
Suggestions for all other scripting languages are welcome. Please send to Support@WebVisitor.info. A free log upgrade to any that get accepted!
There are times on certain websites that you know exactly who the person is behind an individual Session. WebVisitor.info provides you with a simple API (Application Programming Interface) that allows you to pass this information across so it can be correlated against the website reports, Session Activity and Session Details for example.
This typically is possible only with websites written using a scripting language, for example ASP.NET, PHP, Perl, JSP and ASP, rather than static HTML.
The following are examples of when you might use the Identified Visitor feature of WebVisitor.info.
The Identified Visitors API allows you to pass an identification string for a visitor formatted in any way you wish. For example pass across their username or unique identifier, or if you are feeling adventurous, both. This is done by setting a JavaScript variable located within the tracking code, shown in the diagram below:
How you implement this is dependent on the scripting language you use and also your own preference of course. At WebVisitor.Info we use ASP.NET and we have chosen to implement this by rendering a literal that includes the whole user identification block.
This shows the code placed in the WebVisitor.info ASP.NET Master-page.
We have replaced the identified used block with a Placeholder server control. Then in the code-behind if we have a user logged in we render the Identified User block to a new literal, find the placeholder on the Master-page and add the literal to it. This is shown in the following code extract:
There are of course many ways to implement this, so choose one that you feel comfortable with. At WebVisitor.info we know you will get great benefits by setting this up correctly so if you have any questions or would like assistance please contact our support team at support@webvisitor.info and we will do our best to assist you.
It is not necessary to set the identification of the visitor at the start of the visitor session. In fact you can set their details at any point during their visit. This is useful as it may be some way into a session that you know who they are, for example when they make a purchase from the shop.
The following outlines the behaviour of the identified visitor API:
About this Article
This document is part of www.WebVisitor.info, a free detailed, real-time website statistics analysis tool. It is available at various cost levels, including a free version and is quick and easy to setup on any website.
|
|
Home
|
Create Account
|
Help Contents
|
Frequently Asked Questions
Free Web Statistics - Click to find out more Contact Us | Terms & Conditions Copyright 2006-2007 WebVisitor.Info |