Kentico CMS 7.0 Developer's Guide

Configuration options

Configuration options

Previous topic Next topic Mail us feedback on this topic!  

Configuration options

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

You can configure the functionality of the web analytics module in Site Manager -> Settings -> On‑line marketing -> Web analytics. The settings here allow you to enable or disable tracking of various types of events and specify other related configuration options.


Note: The system checks the values of the settings at the moment that tracked events occur. Changes do not affect previously logged data, only future events.



Enable web analytics

Enables or disables the entire web analytics module. If this setting is disabled, the system does not track any of the statistics listed below.

Log via JavaScript snippet

By default, the system logs analytics directly on each request. If you enable this setting, the analytics are logged via JavaScript.


JavaScript logging ignores all browsers and devices that do not support JavaScript or have it disabled. This filters out non-human tools such as RSS readers and web crawlers from future analytics statistics.


Switching to JavaScript logging does not affect the performance of the website.

Campaigns & Conversions

Track campaigns

Indicates if campaign tracking should be enabled.

Campaign tracking URL parameter

Sets the name of the URL query string parameter which is used to indicate that the site was accessed as a result of a campaign. The value of the parameter stores the code name of the given campaign.

Track conversions

Indicates if tracking of conversions should be enabled. This includes both general conversions and those logged within a certain special context, such as for A/B or Multivariate tests, or as a result of a Campaign.

Views & Downloads

Track file downloads

If enabled, the system tracks which files were downloaded by website visitors. Please note that only files stored as documents in the website's content tree are tracked.

Track invalid pages

Indicates if invalid page requests should be tracked. Invalid requests are those that contain the website's domain name, but specify a path to a page that does not exist.

Track page views

Indicates if the system should track how many times the website's pages were viewed by visitors. Only pages that are served by Kentico CMS are included in the statistics.

Track aggregated views

If enabled, access to pages via links contained in RSS or Atom feeds (created using the Syndication module) are tracked.

Track landing pages

Indicates if the system should track which pages are the first ones viewed by visitors when they start their browsing session on the website.

Track exit pages

If enabled, the system logs the final pages that were visited by users when their browsing session ended.

Track average time on page

If enabled, the average time that users spend on pages is tracked.


Track browser types

Indicates if the browser types and versions used by the website's visitors is tracked.

Track visits

Indicates if site visits should be tracked. A single visit includes any number of page views or other actions performed by a specific user during one session.


First time users are logged as new visits. After a specified time period of inactivity, known users are logged as returning visits. Visitors are recognized using a browser cookie.

Visitor idle time (minutes)

Determines how long (in minutes) a visitor must be inactive before their presence on the website is logged as a returning visit.


The default value is 1380 (23 hours). You can adjust this setting depending on how often visitors usually return to your site. For example, to track how frequently your site's visitors return over the course of a single day, you could set the value to 60 minutes or less.

Remember visitors by IP (minutes)

If the entered value is higher than 0, the IP addresses of the website's visitors are stored in the memory for the specified number of minutes.


You may use this setting in cases where there are problems identifying visitors using the standard approach, e.g. if many of your visitors have cookies disabled in their browser.

Track countries

If enabled, the countries from which visitors access the website is tracked.


The countries are recognized according to the IP addresses of visitors, which may not be 100% reliable in all cases, but the overall statistics for a high number of visits should provide correct results.

Track registered users

Enables tracking of user registrations.

Track search crawlers

Indicates whether the activity of search engine web crawlers (robots) should be monitored. This type of tracking is performed even if the Exclude search engines setting is enabled.

Track mobile devices

If enabled, the system tracks whether visitors access the website using mobile devices.


Exclude search engines

If enabled, hits generated by search engine robots (crawlers) are not included in tracking statistics. This does not affect the Search crawlers statistic.

Excluded file extensions

Sets which file types should not be tracked as part of the File downloads statistics. The file types are specified using a list of extensions separated by semicolons (;), for example: .jpg;.gif

Please note that it's necessary to include the period in the extension name.

Excluded URLs

Can be used to exclude websites or their sections from all types of web analytics tracking. To exclude a page and all underlying pages, enter its URL (or document alias). You can specify multiple URLs (or site sections) separated by a semicolon (;).

Excluded IP addresses

Hits generated by the client IP addresses listed here are not included in web analytics tracking. If multiple addresses are entered, they must be separated by semicolons (;). The asterisk ( * ) wildcard can be used as a substitute for any number in an IP address, substituting for all values from 0 to 255.


This can be used to exclude the IP addresses of the website's administrators or other special users so that they do not influence tracking results.

Traffic sources

Track search engines

Indicates if traffic from search engines should be tracked.

Track search keywords

Indicates if the keywords that were entered into search engines in order to find the website should be logged.

Track on-site keywords

Indicates if the keywords that were used in the website's local search functionality should be logged.

Track referring local pages

If enabled, the system tracks which links visitors use to navigate within the website (i.e. menus or other types of links present on the site's pages).

Track referring pages by direct link

If enabled, the system tracks how many times website's pages are accessed directly through a URL entered into the browser.

Track referring sites

Indicates if the system should log the total amount of page views gained through links from external websites and the statistics for individual website domains.

Track referrals

Indicates if the system should log the full URLs of external pages from which visitors were linked to the website and the number of resulting page views.