Google Answers Logo
View Question
 
Q: php, web stats, link tracking, ad tracking, web traffic statistics ( No Answer,   1 Comment )
Question  
Subject: php, web stats, link tracking, ad tracking, web traffic statistics
Category: Computers > Internet
Asked by: rwolpov-ga
List Price: $10.00
Posted: 14 Apr 2005 12:17 PDT
Expires: 19 Apr 2005 12:53 PDT
Question ID: 509274
Can anyone recommend a good source for a FREE PHP script to handle
tracking of links to my site?  I would like to place ads and targetted
links throughout the Internet and track those customers that return to
my site and eventually signup by clicking through those links.
Answer  
There is no answer at this time.

Comments  
Subject: Re: php, web stats, link tracking, ad tracking, web traffic statistics
From: nhaus-ga on 18 Apr 2005 17:29 PDT
 
If your affiliates use a link format like;
<a href="http://www.yoursite.com/ad-track.php?adcode=214310342405">Your Link</a>

and you have "adtrack.php" on your server with the following bit of PHP in it;

<?php
$fp = fopen("ads.txt", "a");
fwrite($fp, $adcode);
fclose($fp);
?>

then "ads.txt" will be a flat file database of your ad campaign. Just
put a different adcode for each place you put up an advert. You could
sort the data in "Exel" or whatever and see who is delivering more
hits to your site.

If you want to track them through your site you will need access to
your log files. Providing your server logs retain the "referer" tag
then your adcode variable will show up next to the IP address of the
visitor. Simply examining which pages that IP address visited should
give you a good idea of where they went. You could also try these;

http://www.scriptdungeon.com/free_php_scripts/log_analyzers/free_php_scripts.php

Hope that helps.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy