Data Collector

Return to Introduction  Previous page  Next page

This section provides all the necessary tools for better adjusting Data Collector settings according to your purposes.  You get access to the 'Data Collector' section in Data Center via Main Menu->Tools->System settings->Data Collector.

There are several sections where you can manage Data Collector settings:

Optimize Data Collector activity by editing the 'Collector settings' section.
Organize the process of fetching data from Data Center in the 'Traffic monitoring' section.
Use the set of templates in the 'Web templates' section to change the look and feel of Sales-n-Stats on your site.
Block specific IP addresses, so that visitors from these IPs do not appear on Site Monitor and in statistics reports. 'List of blocked IPs' is useful when you do not want you, your webmaster or other service personnel to interfere with your site visitors and appear in the reports.


Data Collector setup main page

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.

If for some reason you want to re-install the collector or change its location, 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.

 


‘Updating license’ dialog appears as a notification before you reinstall Data Collector.

‘Updating license’ dialog appears as a notification before you reinstall Data Collector.

 

'Data Collector' consists of three sections from where you can get access to the settings dialogs - 'Collector settings', 'Traffic monitoring', and 'Web templates'.

Collector settings

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

'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.
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.

Traffic monitoring

Select Main Menu->Tools->System settings->Data Collector->Traffic monitoring or Main Menu->Connection->Traffic details to go to the 'Traffic monitoring' dialog.

The first line in the section shows how many pageviews there are in Data Collector. By clicking on the Purge button you clear the Data Collector database any time you need which will ease Data Collector start up.

Use the 'Clicks purge interval' field in the 'Collector settings' section to define the time interval between automatic database clearing.

Indicate 'Traffic warning limit' and 'Traffic disabled limit'. If the traffic warning limit is reached, an operator gets an email notification, which also appears at the Data Center console. If the traffic disabled limit is reached, an operator gets the same notifications as in the case with the traffic warning limit but the connection with Data Collector will be immediately interrupted. Use these settings to fetch the data from Data Center, for example, to gather statistical information for the reports.

You can see the traffic for any date you define in the 'Show traffic for' select box in the table below. Click Refresh to renew the data in the table.

The table allows you to see the traffic (in bytes) for each hour in the selected period of time. The information in the table is shown for the last 24 hours. There is the 'Total' traffic amount for the period of time till the present moment at the bottom of the table.

 


‘Traffic monitoring’ dialog.

‘Traffic monitoring’ dialog.

Web templates

Sales-n-Stats allows you to edit the look and feel of Sales-n-Stats dialogs and popup windows visible on the site so they will match the overall style of the site. Moreover, if you use the same Sales-n-Stats system to monitor more than one site, you can have a different look for your Sales-n-Stats elements on each site. All you need to do is create the necessary number of template sets and use the 'Web templates' section to assign a template set to each of your sites.

Initially, Sales-n-Stats uses the so-called default template set for all the elements on all the sites. To find out how to create a new template set, refer to the chapter 'Integrating Sales-n-Stats into your website'.

To assign a template set to a website:

1.Open the 'Web templates' section. Click Add. A new row will appear.
2.Double-click on the field in the 'URL' column. Enter the URL of a site to which you would like to assign a specific template set.
3.If you want the entered URL to use the default template set, just leave everything as it is. If you need to assign a different template set to it, click on the field opposite the URL in the 'Template set' column. You will be offered to select a template set from a drop-down list (all the template sets you create are added to this list automatically). Select the appropriate template set. The name of the set will appear in the 'Template set' column.

Note: Any modified fields will be marked with an asterisk.


‘Web templates’ dialog: adding new set of templates

‘Web templates’ dialog: adding new set of templates

 

4.Click Save to apply the changes.

If you no longer want some template set to be assigned to an URL, remove its record from the 'Web templates' section:

1.Click on the record you want to remove. The record will be selected.
2.Click Remove. The URL and the template set will be marked by a minus sign.
3.Click Save to apply the changes.

'List of ignored IPs'

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.
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, in the Data Center 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.

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.