PHk Traffic Tracker records incoming referers and displays them in a simple way for admins.
Version: 1.2
License: GPL
Author: Geekster
Description:
November 06, 2005 @ 08:19:33 AM
PHk Tracker Version 1.2
http://www.phk.ca/
Written by Scott Leonard
Copyleft Licensed under the GNU General Public License (GPL)
More Info on GPL: http://www.gnu.org/copyleft/gpl.html
Every time someone new visits your site, a session is started and their referer will be recorded on their first hit. If their referer is empty, likely they are using a bookmark or feed reading prog. Admins can view/edit the tracker table by going to MANAGE -> PHK Track in the admin area. Flush the table if it gets too big because all you would use this for is to see where fresh hits are coming from, perhaps to see what people are saying about you or who’s giving you traffic. This is not a replacement for regular logfile analysis… just a fast way to get some stats.
HOW TO INSTALL
Backup your database and FTP files. (you should always do this anyway)
Have the most recent version of Wordpress installed. If you don’t, these scripts won’t run.
Drop the phk_tracker.php in your Wordpress plugins folder.
Drop the phk_tracker_admin.php in your wp-admin folder.
Activate the plugin and then quickly visit MANAGE -> PHK Track to create the database table for tracking. Failure to do so right away will cause problems and your new visitors would see the error messages.
Visit MANAGE -> PHK Track anytime you want to see where your traffic is coming from.
Flush your PHk Tracker table every so often as regular maintenance.
*** DEBUG ***
If you have "Session Header Already Sent" errors, you will have to do the following easy step to get rid of them:
Open your root Wordpress index.php …
Right after <?php
put the following line:
ob_start();
Then at the very bottom, just before ?> put:
ob_end_flush();
This will read your site into a buffer so that headers are not already sent and the session that this plugin creates can operate normally. On most blogs this will result in a speed/performance boost.
*** /DEBUG ***
Tracker will record hits and link to incoming URLs. See GPL for restrictions.
Read the rest of this entry »