AnalyticsHelper Class |
Namespace: CMS.WebAnalytics
public static class AnalyticsHelper
The AnalyticsHelper type exposes the following members.
Name | Description | |
---|---|---|
MANAGE_WINDOW_HEIGHT |
Height of manage data window
| |
MANAGE_WINDOW_WIDTH |
Width of manage data window
| |
PARAM_SEMICOLON |
Replacement for the semicolon character used in the url parameter
| |
SUBSCRIPTION_WINDOW_HEIGHT |
Height of subscription window
| |
SUBSCRIPTION_WINDOW_WIDTH |
Width of subscription window
|
Name | Description | |
---|---|---|
Campaign | Obsolete.
Gets/sets the visitor's campaign from/to a cookie.
| |
Referrer |
Replaceable referrer (checks "AnalyticsReferrerString" item in RequestStockHelper first).
| |
RemoveReferralQuery |
Returns true, if query string should be removed from the referral URL; otherwise, false.
| |
SlidingIPExpiration |
Returns true if IP for anonymous visitor should be logged every time.
Returns false if IP should be logged only once per user visit.
| |
Source | Obsolete.
Gets/sets the visitor's source from/to a cookie.
| |
TrackedCampaigns | Obsolete.
Gets enumerable of campaigns which should be logged in web analytics service called by Javascript.
| |
VisitorStatus |
Returns visitor status.
|
Name | Description | |
---|---|---|
AddTrackedCampaign | Obsolete.
Adds new campaign to TrackedCampaigns collection. Adding is performed only when campaign is not already present.
| |
AnalyticsEnabled |
Returns true if web analytics is enabled for specified site.
| |
CurrentCampaign | Obsolete.
Returns the name of the current campaign.
| |
CurrentSource | Obsolete.
Returns the name of the current source.
| |
ExcludedFileExtensions |
Returns "Excluded file extensions" value from the database.
| |
ExcludedIPs |
Returns "Excluded IPs" value from the database.
| |
ExcludedURLs |
Returns "Excluded URLs" value from the database.
| |
ExcludeSearchEngines |
Returns "Exclude search engines" value from the database.
| |
GetContextStatus |
Returns current visitor status
| |
GetQueryStringParameters |
Generates reports parameters for query string
| |
GetVisitorStatusByIP |
Returns visitor status by IP visit
| |
GetVisitorStatusIdle |
Gets or sets the value in minutes for how long user should be counted as active(1380 minutes by default = 23 hours).
| |
IsFileExtensionExcluded |
Determines whether extension is excluded or not.
| |
IsIPExcluded |
Determines whether IP is excluded or not.
| |
IsLoggingEnabled(String, String) |
Return true if analytics log enabled for given data
| |
IsLoggingEnabled(String, String, LogExcludingFlags) |
Return true if analytics log enabled for given data
| |
IsSearchEngineExcluded |
Returns true if current request is search engine and should be excluded from the analytics log.
| |
IsURLExcluded |
Determines whether URL is excluded or not.
| |
JavascriptLoggingEnabled |
Returns "Use JavaScript logging" value from the database.
| |
LogAverageTimeOnPage |
Logs average time on page
| |
LogExitPage |
Logs exit page
| |
LogExitPageCandidate |
Logs exit page candidate
| |
LogIPVisit(String, String) |
Logs given IP address to the IP table
| |
LogIPVisit(String, String, DateTime) |
Logs given IP address to the IP table
| |
LogLandingPage |
Logs landing page.
| |
LogOnSiteSearchKeywords |
Logs onsite search keywords.
| |
LogReferringSite |
Track traffic sources (used by search engines, direct url, inner site links..).
| |
LogRegisteredUser |
Logs registered user to the statistics.
| |
LogSearchCrawler |
Logs crawler visits
| |
LogSearchKeywords |
Logs keywords.
| |
RemoveTrackedCampaigns | Obsolete.
Removes TrackedCampaign cookie from cookie collection.
| |
SetCampaign | Obsolete.
Creates log with current campaign or write campaign into cookie, if Javascript logging is enabled. Cookie will be used for logging using web analytics service.
| |
SetContextStatus |
Sets context status.
| |
TrackAggregatedViewsEnabled |
Returns true if aggregated views tracking is enabled for specified site.
| |
TrackAverageTimeOnPage |
Returns true if average time on page tracking is enabled
| |
TrackBrowserTypesEnabled |
Returns true if browser types tracking is enabled for specified site.
| |
TrackCountriesEnabled |
Returns true if countries tracking is enabled for specified site.
| |
TrackExitPageEnabled |
Returns true if exit page tracking is enabled for specific site.
| |
TrackFileDownloadsEnabled |
Returns true if file downloads tracking is enabled for specified site.
| |
TrackInvalidPagesEnabled |
Returns true if invalid pages tracking is enabled for specified site.
| |
TrackLandingPageEnabled |
Returns true if landing page tracking is enabled for specific site.
| |
TrackMobileDevicesEnabled |
Returns true if mobile device tracking is enabled
| |
TrackOnSiteKeywords |
Returns true if onsite keywords tracking is enabled for specified site.
| |
TrackPageViewsEnabled |
Returns true if page views tracking is enabled for specified site.
| |
TrackReferralsEnabled |
Returns true if referrals tracking is enabled for specified site.
| |
TrackReferringSitesDirect |
Returns true if referring sites direct link tracking is enabled for specified site.
| |
TrackReferringSitesLocal |
Returns true if referring sites by local links tracking is enabled for specified site.
| |
TrackReferringSitesReferring |
Returns true if referring sites by other domain tracking is enabled for specific site.
| |
TrackRegisteredUserConversion |
Tracks registered user conversion.
| |
TrackRegisteredUsersEnabled |
Returns true if registered users tracking is enabled for specified site.
| |
TrackSearchCrawlersEnabled |
Returns true if search crawlers tracking is enabled for specific site.
| |
TrackSearchEnginesEnabled |
Returns true if search engine tracking is enabled for specific site.
| |
TrackSearchKeywordsEnabled |
Returns true if search keywords tracking is enabled for specific site.
| |
TrackUserRegistration |
Logs user registration into the web analytics and if conversion name and value are set, the conversion is tracked.
| |
TrackVisitsEnabled |
Returns true if visits tracking is enabled for specified site.
| |
VisitorsSmartCheckingTime |
Returns how long should be visitors' IP addresses stored in memory.
Visitors smart checking is disabled if 0 is returned.
|