Is this really the version you are looking for? Kentico Xperience 8 Documentation is no longer updated. Use the switcher in the header to choose your product version.
Kentico EMS required
Features described on this page require the Kentico EMS license.
To allow tracking of activities for contacts, you need to:
You can additionally configure logging of activities for specific pages, visitors and certain features. The system only tracks activities within a given scope if all related settings are enabled. See the sections below for more information.
Logging activities immediately
By default, the system logs activities into temporary files and batch-processes them periodically using a scheduled task. As a result, there is a slight delay of up to several minutes before activity-related data is updated in the user interface
You can configure the system to log activities directly into the database. Immediately logging activities can generate a very high database load, so it is only recommended when evaluating or testing the functionality of activities, not for live websites.
To enable immediate logging of activities, administrators with access to the project's file system need to add the following key to the appSettings section of the web.config file:
<add key="CMSLogActivityImmediatelyToDB" value="true" />Tracking file downloads
The system can track file downloads as Page visit activities for files stored as CMS.File documents in the content tree of a website. The Track file downloads (cms.file) for these extensions setting in the General section specifies which types of files the tracking includes.
Enter the allowed file types as a list of extensions separated by semicolons, for example: pdf;docx;png
If left empty, the system tracks all file types.
You can enable or disable logging of page-related activities (e.g. Page visit, Landing page or Content rating activity types) for individual pages on your website.
By default, documents inherit the value of the Log on-line marketing activity property from their parent document. This state allows you to configure activity logging for all documents on the website through the root document.
The system provides two different ways of logging activities related to website traffic (Page visit and Landing page):
Processing activities on every web request | Using JavaScript |
|---|---|
Advantages:
| Advantages:
|
Disadvantages:
| Disadvantages:
|
In most cases, it is recommended to use JavaScript logging. Switching to JavaScript logging does not reduce the performance of the website.
To enable JavaScript logging:
Note: The Log via JavaScript snippet setting also determines how the system logs web analytics.
By default, the system tracks activities for all contacts. You can disable activity tracking for individual contacts or the user accounts of registered users.
Contacts:
Users:
The activities performed by the visitor (or registered user) will no longer be recorded.
You can choose whether the system logs the related activity types for individual instances of the following applications:
Application | Related activity types | To enable/disable activities |
|---|---|---|
Newsletters |
|
|
Forums |
|
|
Message boards |
|
|
Polls |
|
|