|
The 'Data collector' section allows you to adjust Data Collector settings. You can access this section via Main Menu->Tools->System settings->Data Collector.
The 'Data collector' section provides two subsections:
* Collector settings - The settings in this section allow you to optimize Data Collector activity.
* List of blocked IPs - allows you to block specific IP addresses, so that visitors from these IP addresses do not appear on Site Monitor and actions performed by them do not affect the site statistics (Enterprise edition only!). For example, you can block the IP addresses used by you, your webmaster or other service personnel.

Data Collector setup main page
The main page of Data Collector settings section contains the 'Collector URL' section and the 'Data Collector' section. 'Collector URL' automatically shows the licensed URL, which you entered during the system installation.
Reinstalling the Data Collector
To reinstall the external collector or move it to another website or server, use the Update license/Install collector button. When the 'Update license' dialog opens, select Continue to start the installation. 'Installation Step 1. Defining Data Collector location' dialog opens. Then follow all those steps you took while installing Sales-n-Stats.
| Note: | you will be asked to re-enter the credentials for logging in to all the monitored web sites in order to integrate them with the new collector. If you have customized templates or use your own button images, you will need to copy the buttons and templates folders to the new collector directory manually. |
To reinstall embedded collector, you need to reinstall the connector module for your software.
To access 'Collector settings' section go to Main Menu->Tools->System settings->Data Collector->Collector settings. There is also a quick way to access the 'Collector settings' dialog via Main Menu-> Connection->Collector settings.
All collector settings are set by default; however, for better Data Collector diagnostics you can modify some of the settings, for example, enter a log file name into the appropriate field, or select the 'Verbose' check box to get the detailed information of all Data Collector operations in a log file.
|

'Collector settings' dialog
|
Modify the necessary values in the following fields:
| • | 'Log file name' is a file where the information from Data Collector is stored. Log file is saved to a temporary directory /var/tmp and is named according to the following pattern: sns-collector-Year-Month-Day-Hour-Min-Sec.log where the date corresponds to the Data Collector installation. (For example, if the Data Collector was installed on February 6, 2006 at 12.00.00 the file will have a name sns-collector-2006-02-06-12-00-00.log). If you have 'Verbose' check box selected, make sure you watch over the log file as it grows very fast and can take up all the space in your file system. |
| • | Select the 'Verbose' check box if you want the information to be stored in the log file that you enter into the previous field. |
Note: Please, note that if this function is enabled for a long time, it may cause serious issues on the web server side.
|
| • | Set the time interval in the 'Visitor tracking interval' (msec) field and the system will track a visitor's current location in this time period. Default value is 30 sec. Set this time interval to 30 sec or so if your site is busy. This will help reduce traffic between Data Center and Data Collector. If your site is not very loaded you can set the 'Visitor tracking interval' to approximately 10 seconds. This interval also affects the speed with which the pushed messages are delivered. The longer the interval, the longer it takes the messages to be displayed at the visitor's end. |
| • | Tracking termination time (sec) is maximum pinging time for a single pageview. Defaults to 10800 sec. |
| • | Delay of reaction check is the delay after page load when Site Tracker inquires about any reactions that happened. By default the value is 3000 msec. |
| • | Enter the time interval into the 'Chat invitations expiration' (sec) field. If the chat invitation dialog is not delivered till this interval elapses, it will expire and will not be displayed. Default value is 300 sec. |
|
| • | Enter the time interval into the 'Pushed content expiration' (sec) field. If the pushed content is not delivered till this interval elapses, it will expire and will not be displayed. Defaults to 86400 sec. |
| • | Operators list expiration. If operators list is not received for this period of time, data collector assumes no operators are active. Default value is 40 sec. |
| • | The clicks are fetched by Data Collector in blocks. Set the corresponding number of clicks in the 'Click block size' (clicks) field. Defaults to 1000 clicks. |
| • | If an operator does not use a keyboard for the period of time that you define in the 'Operator keyboard activity timeout' (sec) field, he will be marked as 'Idle'. By default the value is 3 sec. |
|
| • | Chat window refresh interval determines how often the chat window is reloaded. Defaults to 2 sec. |
| • | Set the time interval in Chat session timeout and the chat session will close with 'Chat ended by visitor' status after there was no response from the visitor for this period of time. Defaults to 30 sec. |
| • | Queue status refresh interval determines if it is time to start a chat session with the next visitor in queue. Defaults to 2 sec. |
| • | The system considers a visitor active after the last visitor's activity on the website during the time interval that you define in the 'Visitor activity timeout' (sec) field. Defaults to 10 sec. |
| • | 'Clicks purge interval' (sec) is the time interval after which all received clicks will be purged. Defaults to 900 sec. |
| • | All the clicks received during the time interval you define in the 'Maximum click storing time' (sec) field will be stored in the database. Defaults to 604800 sec. |
|
| • | All pings received during the time interval you define in the 'Pings wrapping time' (sec) field will be wrapped in a single click. Defaults to 180 sec. |
| • | In the 'Minimum clicks amount that will be purged simultaneously' (records) field set the minimum number of clicks that will be purged to decrease script execution time. Defaults to 1000. |
| • | In the 'Maximum ping clicks amount that will be wrapped simultaneously' (records) field set the maximum number of ping clicks that will be wrapped in one click to decrease script execution time. Defaults to 100. |
| • | 'Cookie lifetime' is a Sales-n-Stats cookie lifetime period (sec). Defaults to 2592000 sec. |
|
| • | 'Cookie path' is the Data Collector path. The path is a portion of the URL that identifies the folders containing a file. For example, in the URL http://www.company.com/data_collector, the path is /data_collector. The path is entered automatically during installation. |
| • | 'Cookie domain' is the Data Collector domain name. For example, company.com. The domain name is entered automatically during installation. |
| • | P3P Policy shows the privacy policy of your website. A sample P3P policy is entered automatically during installation. |
| • | Popup window confirmation interval is the time between the opening of a popup window and the confirmation that it has been displayed. Defaults to 3000 msec. |
| • | Enable spam protection for offline messages. Select this option to turn on the CAPTCHA functionality in the 'Leave a message' form. |
|
If you, your webmaster or any of your service personnel visit your site, the data about these visits also gets stored in Sales-n-Stats Data Collector. If you do not want this information to appear in the reports or do not want to see such visitors on the Site Monitor, you can ignore corresponding IP addresses. You can ignore a single IP or a range: this way all IP addresses falling into this range will be blocked.
|

System settings, 'List of ignored IPs' section
|
Please note that if you ignore an IP, the data about visits from this IP will be lost permanently. Even if at some point you decide to unblock it, only the data about new visits will be stored.
To add an IP address to the list of ignored IPs, select 'System Settings -> Data Collector -> List of ignored IPs'. Click Add and enable one of the options: 'Ignore single IP' or 'Ignore IP range'. Enter corresponding IP addresses and specify the reason for ignoring this IP. Click OK.
|

Adding an IP address to the list of ignored IPs
You can also right-click on the visitor's badge in the Site Monitor and select 'Ignore IP address' from the pop-up menu.
|
|