I'm building a framework so I can update affiliate ads from a backend and track information about users and ads.
Designing the db table for user info, what to store, and so far I'm stuck at:
I was going to add the mac_address for every person that ever opens the site, then track any clicks by that user on particular ads, with the date, and total number of times that device clicked any ads in particular.
I want to collect information i could use to determine any value for the impressions and web traffic. Like say 1 ad in the past 30 days has 10k impressions, 100 clicks, and I want to charge $5 to put your ad there for 30 days. You want to know if it's worth $5. I figure tracking unique devices rather than IP address is best.
You would look at a list of available ad placements, the data tied to it, and each would be up for rent for a month. Rental would be you giving me a link to your logo, the url you want the ad to open when clicked, and a rental fee.
Thoughts?
Designing the db table for user info, what to store, and so far I'm stuck at:
Where mac_address is the unique phone/computer that sent the click on adNumber, today, 4th time ever, for example.mac_address, adNumber, date, number_clicks
I was going to add the mac_address for every person that ever opens the site, then track any clicks by that user on particular ads, with the date, and total number of times that device clicked any ads in particular.
I want to collect information i could use to determine any value for the impressions and web traffic. Like say 1 ad in the past 30 days has 10k impressions, 100 clicks, and I want to charge $5 to put your ad there for 30 days. You want to know if it's worth $5. I figure tracking unique devices rather than IP address is best.
You would look at a list of available ad placements, the data tied to it, and each would be up for rent for a month. Rental would be you giving me a link to your logo, the url you want the ad to open when clicked, and a rental fee.
Thoughts?