Hi, I really do not know PHP at all. Now, I have an AdWords campaign pointing to one affiliate landing page hosted on my website. I'm using a software in php to track which keywords bring a visitor to my website from the AdWords and then which keywords convert to a sale as an clickbank affiliate. The program I'm using track these keywords using the "tid" function of clickbank. I mean, for every keywords it gives a different tid and when I make a sale, I just go to clickbank and see which tid converted to sale. Then I go to the control panel of this program and look at the tid for the corrisponding keyword. To give a different tid to every keywords, I needed to change every link on my landing page from "www.destinationurl.com" to "www.destinationurl.com/?tid= <?php echo $var; ?>" . Now, it is all working good. Now I want more, and I want to track how many clicks every single link on my landing page is receiving (so basically I want to track the CTR of every link on my landing page). I tried different PHP outgoing link counter, but they track just statical url and I wasn't able to make them track url like this www.destinationurl.com/?tid= <?php echo $var; ?>" I think that if I know anything about PHP I would be able to do, but I do not know it. If you need more details just ask and I'll answer. I will make the payment once links will work - NOT before. didn't track the different url.
are you joking with 5$? in my opinion this can be done via a mysql table and simple php tracking system but I wont make it for 5$ make it 25$ and I will take care maybe
Thats what I was thinking you need to set up a database and update it with each click. You ain't gonna get far with $5 though haha.
Well, I do not think it's worth $25. With $39 I can buy a program that does all automatic. Btw, I increase the price to $15.
on all your links, put an onclick="clicktrack(this.url,someotherdata,someotherdata)" In your <head></head>write some javascript with the function name clicktrack(url,data1,data2) or anytime someone lands on your landing page, gather the $_GET data and fead it to something like this. <?php $aid = $_GET['aid']; $loc = $_GET['loc']; $url = $_GET['url']; $filename = "./clicks-".date("m-d-Y").".html"; $ip = getenv("REMOTE_ADDR"); $userAgent = getenv("HTTP_USER_AGENT"); $string = date("Y-m-d G:i:s T") .";\n" .$url .";\n" .$aid .";\n" .$loc .";\n" .$ip .";\n" .$userAgent .";\n\n"; $fp = @fopen($filename, "a"); if ($fp) { @fputs ($fp, $string, strlen($string)); @fclose($fp); } ?> Code (markup):
Thank you for the free info. However, I'm not able even to do this: or to put something instead of "someotherdata" in the first line! I would need you to do this - I know you will lose time and this is why I can pay you. Btw, I sent you a PM with a thing that you might be interested on. Let me know, Thank you.