Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing site for online advertisements where sellers and buyers can come and sell/buy advertisements.

Just want to develop detailed statistics like click counts, from which page clicks are coming, from which position (top, right, left ...) click are coming etc. I seen that most of the codeproject advertisement has following format:

http://www.codeproject.com/Redir.aspx?adid=14521&adcrid=11649&obid=54&obtid=4&way=ban

It has many parameters like adid, adcrid, obid, obtid and way. I can use one advertisement (adid) in multiple pages. But can't figure out the way to distinguish between from which pages clicks are coming. Can any one explain me, how can I use such parameters to generate statistics which tell me the page from which clicks are coming.
Posted

1 solution

This has to be the easiest part of your task. Each user of the ads puts a different value in the query string, like refid=codeproject for example. Then the ad site reads it off the URL.
 
Share this answer
 
Comments
Ramesh_Patel_ 22-May-10 0:57am    
Thank you for reply.
Will this be a good idea to allow advertisers to enter anything in querystring?
The other thing is that, I need pagewise statistics of clicks. So, there will be different values of "refid" in querystring to distinguish each page. So, this will require publisher (website owner, just like codeproject) to go to each page and put code (to render advertisement) in each page with different values of "refid".
Am I missing something? or any other simple way to implement this? I don't think that codeproject developers are going to each page and putting code in each page manually as they have thousands of pages.
Ramesh_Patel_ 26-May-10 15:50pm    
Anyone?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900