Share via


VisitInfo

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The VisitInfo class represents information about a completed visit to a Web site. If a visit has not been completed at log import time, an instance of an OpenUserVisit object is created instead.

The VisitInfo class is the primary structure for recording user activity on a Commerce Server 2007 Web site. A person who interacts with a Commerce Server 2007 Web site is called a user. The VisitInfo class records information that describes user activity.

A VisitInfo object is associated with a LogUser object and a UserAgent object. The LogUser object contains information about the user. The UserAgent object contains information that describes the software and computer the user is using.

A VisitInfo object describes the context of a visit, including the time and date of the visit. The VisitInfo object links to a Date structure that contains date information.

Data Members

Data Member Name

Data Type

Default Value

Description

CountOfRequest

int

None

Number of requests in this visit.

DTimestamp

datetime

None

First time stamp of visit.

Duration

int

None

Duration of visit.

FirstRequestNum

binary

None

Foreign key to first request in visit.

FirstTimeStamp

datetime

None

Time the visit started.

LastRequestNum

binary

None

Foreign key to last request in visit.

SecondRequestNum

binary

None

None.

UserKey

bigint

0

None.

VisitNum

binary

0

Unique key for the object. Key member.

DateId

binary

1

None.

ReferrerDomainID

binary

Unknown

Domain name of referrer of visit.

RegisteredUserID

binary

Unknown

None.

SiteID

binary

Unknown

None.

TaskHistoryID

binary

0

None.

UserAgentID

binary

Unknown

None.

Class Key

VisitInfoKey is composed of a single data member, VisitNum.

Relations

For a description of the relation type, see Data Warehouse Classes.

Relation Name

Parent

Child

Type

DateVisitInfoFirstTimeStamp

Date

VisitInfo

2

ReferrerDomainVisitInfo

ReferrerDomain

VisitInfo

2

RegisteredUserVisitInfoRel

RegisteredUser

VisitInfo

2

SiteVisitInfoRel

Site

VisitInfo

2

TaskHistoryVisitInfoRel

TaskHistory

VisitInfo

2

UserAgentVisitInfo

UserAgent

VisitInfo

2

See Also

Other Resources

Data Warehouse Classes