Does anyone know or use any clicktracking software that will not only allow you to mask your affiliate linke but also gives the number of times a link has been clicked on AND the IP of the person clicking on the URL I found this software: http://www.hotscripts.com/Detailed/36874.html It does the first 2 but does not report the IP addy of the person clicking the ad. Any help or direction would be appreciated. Eric
For now, I use this: <?php $ads = array( array( 'name'=>'invalid click', 'id'=>0, 'url'=>'http://www.yahoo.com', ), array( 'id'=>1, 'name'=>'AzoogleAds Publisher white', 'url'=>'http://www.azoogleads.com/az/new/publisher.php?i=22279', ), ); $time = time(); if(isset($_SERVER['REMOTE_ADDR'])) $ip = $_SERVER['REMOTE_ADDR']; else $ip = 'no ip'; if(isset($_SERVER['HTTP_USER_AGENT'])) $browser = $_SERVER['HTTP_USER_AGENT']; else $browser = 'undisclosed browser'; if(isset($_SERVER['HTTP_REFERER'])) $referer = $_SERVER['HTTP_REFERER']; else $referer = 'no referer'; if(isset($_COOKIE['origin'])) $origin = $_COOKIE['origin']; else $origin = 'no origin'; $id = $_REQUEST['id']; $name = $ads[$id]['name']; $url = $ads[$id]['url']; $f = fopen('clicks/clicks.txt','a'); fwrite($f,"{$time}\r\n\t{$ip}\r\n\t{$browser}\r\n\t{$origin}\r\n\t{$name}\r\n\t{$referer}\r\n\t{$url}\r\n"); fclose($f); header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header("Location: {$url}"); ?> PHP: Created a folder named clicks with empty clicks.txt inside, protected with htaccess Order allow, deny Deny from all Code (markup): Then when you send traffic to that.php?id=1, it will log it in clicks.txt showing unix timestamp, ip, browser, original referer if you kept it using a cookie named 'origin,' the name I have given to the ad, the refering page, and the URL the ad points to. Would be better in MySQL
I am between beginner and intermediate. I can mod/change software but not usually write from scratch. Eric
Either nobody really uses click tracking or they are just not responding to help others out. I appreciate phree_radical sharing what they use. What I am looking for in a click tracking software is this: ability to take a affiliate URL and turn it into a cart.php?id=49 (or something like that) type of URL needs to be database compatable (mysql preferably) script needs to record each click script needs to record impressions data that needs recorded is: Click ID that was clicked Time of click IP addresses of "clicker" Referrer of "clicker" (ie where that referrer came from as in what page they are on when they click) report page that can pull up the above information into some exportable format Ability to run report and see totals of clicks by date range, by click id, by page, Report of number of impressions per click id and integration into other reports. Does ANYONE know of a script that does this (or at least gets very very close) ??? I don't mind paying for the script as I would find it hard to believe there is anything like this for free. I appreciate anyones imput on this. If I have missed some features that you would like to see post those as well and if we don't find something that does this already I might hire it out to be done. Thanks, Eric
Thanks. I fully plan to not only rewrite this to use MySQL within the next week, but down the line to make a richly featured system. I too am interested in reading about what more people want from a system like that. I hadn't thought of exporting into other formats, because that's something I've never done. Maybe you could mention other formats should I look at, and what software would you use them with? And any other ideas?