Click or drag to resize
AnalyticsHelper Class
Analytics helper class.
Inheritance Hierarchy
SystemObject
  CMS.WebAnalyticsAnalyticsHelper

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 11.0.0
Syntax
C#
public static class AnalyticsHelper

The AnalyticsHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberMANAGE_WINDOW_HEIGHT
Height of manage data window
Public fieldStatic memberMANAGE_WINDOW_WIDTH
Width of manage data window
Public fieldStatic memberPARAM_SEMICOLON
Replacement for the semicolon character used in the url parameter
Public fieldStatic memberSUBSCRIPTION_WINDOW_HEIGHT
Height of subscription window
Public fieldStatic memberSUBSCRIPTION_WINDOW_WIDTH
Width of subscription window
Top
Properties
  NameDescription
Public propertyStatic memberReferrer
Replaceable referrer (checks "AnalyticsReferrerString" item in RequestStockHelper first).
Public propertyStatic memberRemoveReferralQuery
Returns true, if query string should be removed from the referral URL; otherwise, false.
Public propertyStatic memberSlidingIPExpiration
Returns true if IP for anonymous visitor should be logged every time. Returns false if IP should be logged only once per user visit.
Public propertyStatic memberVisitorStatus
Returns visitor status.
Top
Methods
  NameDescription
Public methodStatic memberAnalyticsEnabled
Returns true if web analytics is enabled for specified site.
Public methodStatic memberExcludedFileExtensions
Returns "Excluded file extensions" value from the database.
Public methodStatic memberExcludedIPs
Returns "Excluded IPs" value from the database.
Public methodStatic memberExcludedURLs
Returns "Excluded URLs" value from the database.
Public methodStatic memberExcludeSearchEngines
Returns "Exclude search engines" value from the database.
Public methodStatic memberGetContextStatus
Returns current visitor status
Public methodStatic memberGetQueryStringParameters
Generates reports parameters for query string
Public methodStatic memberGetVisitorStatusByIP
Returns visitor status by IP visit
Public methodStatic memberGetVisitorStatusIdle
Gets or sets the value in minutes for how long user should be counted as active(1380 minutes by default = 23 hours).
Public methodStatic memberIsFileExtensionExcluded
Determines whether extension is excluded or not.
Public methodStatic memberIsIPExcluded
Determines whether IP is excluded or not.
Public methodStatic memberIsLoggingEnabled
Return true if analytics log enabled for given data
Public methodStatic memberIsSearchEngineExcluded
Returns true if current request is search engine and should be excluded from the analytics log.
Public methodStatic memberIsURLExcluded
Determines whether URL is excluded or not.
Public methodStatic memberJavascriptLoggingEnabled
Returns "Use JavaScript logging" value from the database.
Public methodStatic memberLogAverageTimeOnPage
Logs average time on page
Public methodStatic memberLogExitPage
Logs exit page
Public methodStatic memberLogExitPageCandidate
Logs exit page candidate
Public methodStatic memberLogIPVisit(String, String)
Logs given IP address to the IP table
Public methodStatic memberLogIPVisit(String, String, DateTime)
Logs given IP address to the IP table
Public methodStatic memberLogLandingPage
Logs landing page.
Public methodStatic memberLogOnSiteSearchKeywords
Logs onsite search keywords.
Public methodStatic memberLogReferringSite
Track traffic sources (used by search engines, direct url, inner site links..).
Public methodStatic memberLogRegisteredUser
Logs registered user to the statistics.
Public methodStatic memberLogSearchCrawler
Logs crawler visits
Public methodStatic memberLogSearchKeywords
Logs keywords.
Public methodStatic memberSetContextStatus
Sets context status.
Public methodStatic memberTrackAggregatedViewsEnabled
Returns true if aggregated views tracking is enabled for specified site.
Public methodStatic memberTrackAverageTimeOnPage
Returns true if average time on page tracking is enabled
Public methodStatic memberTrackBrowserTypesEnabled
Returns true if browser types tracking is enabled for specified site.
Public methodStatic memberTrackCountriesEnabled
Returns true if countries tracking is enabled for specified site.
Public methodStatic memberTrackExitPageEnabled
Returns true if exit page tracking is enabled for specific site.
Public methodStatic memberTrackFileDownloadsEnabled
Returns true if file downloads tracking is enabled for specified site.
Public methodStatic memberTrackInvalidPagesEnabled
Returns true if invalid pages tracking is enabled for specified site.
Public methodStatic memberTrackLandingPageEnabled
Returns true if landing page tracking is enabled for specific site.
Public methodStatic memberTrackMobileDevicesEnabled
Returns true if mobile device tracking is enabled
Public methodStatic memberTrackOnSiteKeywords
Returns true if onsite keywords tracking is enabled for specified site.
Public methodStatic memberTrackPageViewsEnabled
Returns true if page views tracking is enabled for specified site.
Public methodStatic memberTrackReferralsEnabled
Returns true if referrals tracking is enabled for specified site.
Public methodStatic memberTrackReferringSitesDirect
Returns true if referring sites direct link tracking is enabled for specified site.
Public methodStatic memberTrackReferringSitesLocal
Returns true if referring sites by local links tracking is enabled for specified site.
Public methodStatic memberTrackReferringSitesReferring
Returns true if referring sites by other domain tracking is enabled for specific site.
Public methodStatic memberTrackRegisteredUserConversion
Tracks registered user conversion.
Public methodStatic memberTrackRegisteredUsersEnabled
Returns true if registered users tracking is enabled for specified site.
Public methodStatic memberTrackSearchCrawlersEnabled
Returns true if search crawlers tracking is enabled for specific site.
Public methodStatic memberTrackSearchEnginesEnabled
Returns true if search engine tracking is enabled for specific site.
Public methodStatic memberTrackSearchKeywordsEnabled
Returns true if search keywords tracking is enabled for specific site.
Public methodStatic memberTrackUserRegistration
Logs user registration into the web analytics and if conversion name and value are set, the conversion is tracked.
Public methodStatic memberTrackVisitsEnabled
Returns true if visits tracking is enabled for specified site.
Public methodStatic memberVisitorsSmartCheckingTime
Returns how long should be visitors' IP addresses stored in memory. Visitors smart checking is disabled if 0 is returned.
Top
See Also