Enabling web analytics
Web analytics are disabled by default. To enable logging of analytics for your website:
- Open the Settings application.
- Select the On-line marketing -> Web Analytics category.
- Check Enable web analytics.
- Save the settings.
The other settings in the Web analytics category enable or disable tracking of individual types of statistics and events. See Settings - Web analytics for details.
Disk permissions
Web analytics require your ASP.NET account to have the Modify permission for the ~/App_Data folder on your disk.
See Disk permission problems for the names of the account under various operating systems.
Selecting the logging method
The system provides two different ways of logging web analytics:
Processing analytics on every web request |
Using JavaScript |
Advantages:
|
Advantages:
|
Disadvantages:
|
Disadvantages:
|
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:
- Open the Settings application.
- Select the On-line marketing -> Web Analytics category.
- Enable the Log via JavaScript snippet setting.
- Save the settings.
Note: This setting also determines how the system logs on-line marketing activities related to website traffic.