Kentico CMS 7.0 Developer's Guide

Enabling web analytics

Enabling web analytics

Previous topic Next topic Mail us feedback on this topic!  

Enabling web analytics

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

The Web analytics module is disabled by default. To enable logging of analytics for your website:

 

1.Go to Site Manager -> Settings -> On-line marketing -> Web Analytics.

2.Check Enable web analytics.

3.Save Save the settings.

 

The other settings in this category enable or disable tracking of individual types of statistics and events. See the Configuration options topic for details.

 

 

InfoBox_Note

 

Disk Permissions

 

The Web analytics module requires your ASP.NET account to have the Modify permission for the ~/App_Data folder on your disk.

 

See the Disk permissions problems chapter for the names of the account under various operating systems.

 

Selecting the logging method [Only available after applying hotfix 7.0.17 or newer]

 

The system provides two different ways of logging web analytics:

 

Processing analytics on every web request

Using JavaScript

Advantages:

 

Provides statistics for all types of web requests.

Advantages:

 

Filters out statistics generated by non-human tools such as RSS readers and web crawlers.

Provides more accurate and relevant data for most public-facing websites.

Disadvantages:

 

Results may be skewed by non-human traffic such as web crawlers, RSS readers and other bots (typically irrelevant statistics).

Disadvantages:

 

Ignores users with browsers that do not support JavaScript or have it disabled (typically less than 1% of all visitors).

If your website uses custom analytics, JavaScript logging does not affect their functionality. This may lead to inconsistency with the default analytics.

May not work correctly on pages that run custom JavaScripts (if conflicts occur). The logging is compatible with all default Kentico CMS scripts.

 

In most cases, it is recommended to use JavaScript logging for web analytics. Switching to JavaScript logging does not reduce the performance of the website.

 

To enable JavaScript logging:

 

1.Go to Site Manager -> Settings -> On-line marketing -> Web Analytics.

2.Enable the Log via JavaScript snippet setting.

3.Save the settings.

 

Note: This setting also determines how the system logs on-line marketing activities related to website traffic.