live chat,live help,live support Boldchat Web Service
API Reference
 
[ Programmer's Guide | API Reference Home ]


Class VisitInfo

A VisitInfo instance contains information about one visit. A visit belongs to a single folder.

Property Summary
StringvisitIP
The visitor's IP address.
StringvisitName
IntegerareaCode
The area code of the visitor.
LongchatInvitationID
The chat invitation ID or null.
LongchatInvitationTemplateVariantID
The chat invitation template variant ID.
BytechatStatusType
The chat status type.
StringcurrentUrl
The URL of the last page accessed by this visit.
StringentryUrl
The URL of the page that created this visit.
IntegerinviteDeclines
The number of invite declines.
IntegerinviteIgnores
The number of invite ignores.
ByteinviteStatusType
The invite status type.
IntegerpageViewCount
The number of pageviews owned by the visit.
StringrefererUrl
The URL that referred this visit.
StringuserAgent
The visitor's user agent (browser identifier).
BytevisitActionType
The visit action type.
IntegervisitSeq
The visit sequence number.
BytevisitStatusType
The visit status type.
BytevisitType
The visit type.
Stringcity
The visitor's city, which may be blank or null if unknown.
Dateclosed
The Closed timestamp, which may be null if the visit is active.
StringcountryCode
The visitor's country code, which may be blank or null if unknown.
Datecreated
The Created timestamp.
Dateended
The Ended timestamp, which may be null if the visit has not ended.
LongfolderID
The ID of the folder this visit belongs to.
StringinitialQuestion
The initial question (entered either in a pre-chat survey or chat invitation).
StringiP
The visitor's IP address.
LongoperatorID
The ID of the operator who owns the visit.
StringregionCode
The visitor's region code.
LongrelatedToItemID
The ID of the item this visit is related to, or null.
ByterelatedToItemType
The item type of the item this visit is related to.
StringreverseIP
The visitor's resolved IP host.
Dateupdated
The Updated timestamp.
StringvisitEmailAddress
The visitor's email address (which usually comes from a pre-chat survey or chat invitation).
LongvisitID
The visit ID.
StringvisitInfo
The visit info field, which should come from the "vi" parameter of the visitor monitoring URL.
StringvisitPhone
The visitor's phone number.
StringvisitRef
The visit ref field (which should come from the "vr" parameter of the visitor monitoring URL).
LongwebsiteDefID
The website definition ID.
LongvisitorID
The ID of the visitor this visit belongs to.

Property Detail
String visitIP

The visitor's IP address.

String visitName


Integer areaCode

The area code of the visitor. This may be zero or null if unknown.

Long chatInvitationID

The chat invitation ID or null.

Long chatInvitationTemplateVariantID

The chat invitation template variant ID.

Byte chatStatusType

The chat status type.
  • 0 - None
  • 1 - Pre-Chat form
  • 2 - In Chat
  • 3 - Pre-Chat Form Closed
  • 4 - Chat Ended
  • 5 - Post-Chat Form
  • 6 - Post-Chat Form Submitted
  • 7 - Unavailable
  • 8 - Unavailable Email Sent

String currentUrl

The URL of the last page accessed by this visit.

String entryUrl

The URL of the page that created this visit.

Integer inviteDeclines

The number of invite declines.

Integer inviteIgnores

The number of invite ignores.

Byte inviteStatusType

The invite status type.
  • 0 - None
  • 1 - Auto Inviting
  • 2 - Manual Inviting
  • 3 - Auto Invite Accepted
  • 4 - Manual Invite Accepted
  • 5 - Auto Invite Declined
  • 6 - Manual Invite Declined
  • 7 - Auto Invite Ignored
  • 8 - Manual Invite Ignored

Integer pageViewCount

The number of pageviews owned by the visit.

String refererUrl

The URL that referred this visit.

String userAgent

The visitor's user agent (browser identifier).

Byte visitActionType

The visit action type.
  • 0 - Normal
  • 1 - Blocking
  • 3 - Chat Inviting
  • 5 - Call Inviting

Integer visitSeq

The visit sequence number. The first visit by a visitor has sequence number 1.

Byte visitStatusType

The visit status type.
  • 0 - Normal
  • 1 - Blocked

Byte visitType

The visit type.
  • 0 -
  • 1 -

String city

The visitor's city, which may be blank or null if unknown.

Date closed

The Closed timestamp, which may be null if the visit is active.

String countryCode

The visitor's country code, which may be blank or null if unknown.

Date created

The Created timestamp.

Date ended

The Ended timestamp, which may be null if the visit has not ended.

Long folderID

The ID of the folder this visit belongs to.

String initialQuestion

The initial question (entered either in a pre-chat survey or chat invitation).

String iP

The visitor's IP address.

Long operatorID

The ID of the operator who owns the visit.

String regionCode

The visitor's region code.

Long relatedToItemID

The ID of the item this visit is related to, or null.

Byte relatedToItemType

The item type of the item this visit is related to.
  • 2 - Contact
  • 3 - Ticket

String reverseIP

The visitor's resolved IP host.

Date updated

The Updated timestamp.

String visitEmailAddress

The visitor's email address (which usually comes from a pre-chat survey or chat invitation).

Long visitID

The visit ID.

String visitInfo

The visit info field, which should come from the "vi" parameter of the visitor monitoring URL.

String visitPhone

The visitor's phone number.

String visitRef

The visit ref field (which should come from the "vr" parameter of the visitor monitoring URL).

Long websiteDefID

The website definition ID.

Long visitorID

The ID of the visitor this visit belongs to.