Traffic analysis at several sites.

A single copy of the system can collect and analyze traffic data from several sites located on one and the same server. When the statistics are displayed, the traffic from different sites is divided into groups.

Sequence of actions:
1. Installation and setting of the main system.
The main system is the system used to display the statistics and to collect the information about traffic from traffic source sites.
To use the script domain as the group name? In order to install and set up the main system, resort to the corresponding manual provided at the site and to the built-in Help section. When setting up the system, pay special attention to "Use script domain as the name of the group?" parameter in "Trader identification" section. If you want the group for traffic from a certain site to have the domain of this site as its name, you need to activate this parameter. However, this option can not be activated if you want to split the traffic from different pages of one site into separate groups. There are other ways of setting the name of the group as well - we will list them later.

2. Setting server paths.
In order to proceed, you need to set two server paths to the following directories: the directory where the main system is installed and the directory where the symbolic link is to be located at the connected site.
Symbolic link at the traffic source site must be located in a directory set so that the only difference between the links to cacount.cgi at main and connected sites is the difference of the domain name (main site: http://mainsite.com/cgi-bin/cacount.cgi -> connected site: http://somesite.com/cgi-bin/cacount.cgi). You can define the required paths with the help of script: DF Perl Informer. In order to get the full server path for a given directory, you need to upload DF Perl Informer (perlinfo.cgi) script into this directory and launch it from the Web. When the script is launched, you will see the full server path to this directory in Script Path field (Script Path: /home/user/domains/mydomain.com/html/cgi-bin). In order to get both paths, you need to upload DF Perl Informer twice - into directories at the main site and at the connected site.

3. Creating a symbolic link.
In order to create a symbolic link, you will need to use the command line of the server (shell) or shell-scripts. You don't need to have an administrator account (root) in order to do it.

Command used to create a symbolic link:
ln -s path_main path_include

Where:
path_main - path to cacount.cgi on the main system;
path_include - path to symbolic link at the connected site.

Example:
ln -s /home/user/domains/mainsite.com/html/cgi-bin/cacount.cgi /home/user/domains/somesite.com/html/cgi-bin/cacount.cgi

If the symbolic link is created successfully, caccount.cgi file must appear in the directory at the connected site and the counter pic must be displayed after query from the Web.

4. Installing system counter.
The process of installing a counter is described in full in "Installation of the system counter" category of the system’s Help section.
When installing the counter, you can set the name of the group for traffic from different sites or from different pages of one site.


Notes.
1. In order to analyze traffic at several sites, you need to have Unlimited model of DF Cheat Analyzer 2.1+.
2. One copy of the system is used in traffic analysis. Consequently, this copy has identical system settings for all of the sites included into it. Therefore, you can’t include several sites with scripts using different means of defining the trader (e.g.: by inbound link parameters and by linked page) into one system.