You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Analytics Namespace > Classes > Analytics Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Analytics Class

A class for managing and querying CMS400.NET site activity information

C#
public class Analytics : Ektron.Cms.API.Common;
Visual Basic
Public Class Analytics
Inherits Ektron.Cms.API.Common

Analytics.vb

Name 
Description 
The methods of the Analytics class are listed here. 
The properties of the Analytics class are listed here. 
 
Name 
Description 
 
Gets the Session rank of the visiting user. 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.  
 
Forces the analytics buffer to write to the database. This surpasses the checks to see if the time before write or number of records have passed.  
 
Provides a simple way of querying the database for analytics data. Returns the result as a weakly typed DataSet. Note that the connection is to the Analytics database and not to the standard CMS database.  
 
Conditionally writes the analytics buffer in memory to write to the database. If the time before write or number of records before write conditions have been met or exceeded, this function will force the write to the database.  
 
This is the overview for the TrackVisit method overload. 
 
Name 
Description 
 
Indicates if Analytics has been enabled through a setting in the web.config file. If disabled, no analytics tracking will be done. If this property is set to true, tracking on the control level can still be disabled through the "EnableAnalytics" property in the AnalyticsTracker server control.  
 
Indicates whether or not the web.config has been set to append user_id and content_id information to the IIS log.  
 
The dataset that stores all the page/content view information in memory until it reaches its record or time threshold and writes back to the database. This is a strongly typed dataset of type 'ContentHitsData'. The underlying static member is initialized on demand.  
 
Indicates the number of records to hold in the static memory buffer before writing to the database. This is used mainly to smooth out the number of writes to the database. This value and the 'TimeBeforeWrite' property are evaluated and, if any value has been exceeded, the buffered data will be written to the database.  
 
Indicates the number of seconds before writing the in-memory buffer of records to the database. This is used mainly to smooth out the number of writes to the database. This value and the 'RecordsBeforeWrite' property are evaluated and, if any value has been exceeded, the buffered data will be written to the database.  
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!