You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Analytics Namespace > Classes > Analytics Class > Analytics Methods > TrackVisit Method > TrackVisit
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Analytics.TrackVisit Method (Long, Long, String, Integer, String, String)

Tracks a visit to a page, and places it into the analytics buffer. This method calls SoftDumpAnalyticsBuffer.

C#
public TrackVisit(Long content_id, Long user_id, String visitor_id, int session_rank, String referring_url, String url);
Visual Basic
Public Sub TrackVisit(ByVal content_id As Long, ByVal user_id As Long, ByVal visitor_id As String, ByVal session_rank As Integer, ByVal referring_url As String, ByVal url As String)
Parameters 
Description 
content_id 
The ID of a content block that a visitor has viewed. 
user_id 
The CMS user ID of either a CMS User or Member. Is zero for a visitor. 
visitor_id 
A unique ID used for tracking purposes. 
session_rank 
The rank of the session of a particular visitor. A session rank of 0 is the first page a new user has visited. A session rank of 1 is the first page a returning user has visited. A session rank of 2 is any other page. 
referring_url 
An external URL a user has arrived from. 
url 
The URL the user is visiting. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!