When doing analysis of website traffic the important question is what
keywords or referes lead to sales or other website goals. Connecting
output with input can give infornation that is not visible
from viewing just page stat.
The perl script below will helpfull for this task.
The own script may take some time to ajust however it has more power in terms what parameters
or events can be tracked.
The main loop in this script iterates through log file of records.
If the current record is an entrance page the information is saved.
Also if the current record is the target page the information also is saved. This information
is added to the corresponding entrance record.
Thus the end data is now connected with the input data and ready for analysis.