Jump to content


Photo

External Click Counter


  • Please log in to reply
2 replies to this topic

#1 smurf00

smurf00
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 August 2006 - 03:28 PM

Hi all.

Just set up a website and need to create an external click counter to find out who is clicking on my advertisers and more importantly how often.

I was told I will need a PHP script for this. I have a VERY BASIC knowledge of HTML and know nothing about PHP.

My website is www.iwantafreehouse.com

Can someone give me an example of a basic webpage with a link and this type of counter and tell me how I actually get the results??

Thanks all!!

Shane





#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 28 August 2006 - 03:42 PM

since the url of the link is probably not to your own site, but your advertiser's site, you're either going to have to attach some javascript to your html to capture the info whilste whisking the user away to the other site, or else modify the ad link to point to your own script on your server, where you can get your own information, and then redirect to the link's original destination. 

either way, after you get the info, you're gonna have to store it in either a database or flatfile. 

that's pretty much the logic behind it.  hopefully you can use this info to get you started, but your question coupled with "i barely know html, no php" is like asking someone how to ride a bike when you are barely learning to crawl.  There's an awefully long distance between point A (where you're at now) to point B (where you want to be).  Too long to cover in a single thread or even several. 

All i can suggest is to try to find a prefab site/ad tracking script or else start with the basics, learn your first "hello world" with php, etc...
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 SharkBait

SharkBait
  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 28 August 2006 - 03:54 PM

I knew someone would come up with anther MillionPixel website.  :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users