Site-Wide Ad Management
So far I implemented click tracking on my Ads but I had the idea for Site-Wide Ad Management where a script rotates and tracks Ads all over the site.
The problem with my current implementation is that I have inserted one Ad code per position in my template. This means that the same Ads are showing on all the post pages with the same tracking tags.
So I want to vastly improve this to avoid Ad blindness of visitors and get better Ad tracking in place to detect which Ads work best.
So the new strategy will involve having an “inventory” of Ads. These will be rotated about the whole site and their performance will be tracked. I may even go as far as dynamically optimizing which Ads are displayed and where!
But to get this thing rolled out fast, I will write some code just to rotate the Ads from the inventory and have one function call to insert into the template.
The script will randomly select an Ad from the inventory and increment a view count. If the Ad is clicked, then the click count for that Ad will be incremented and the page will re-direct to the destination URL. This simple approach should be good enough to see which Ads have highest click-through ratio.
I will also record details of every click on Ads separately for later analysis. This data will include the time of the click, IP address, Ad ID and page ID.
Let me know if this kind of thing excites you and you would like to get your hands on the code.




Today, I got this code in place. The top banner is at the moment, randomly switching between alternative versions.
I forgot to track the page where the click takes place, so I still have to add that feature.
But, the software is very useful now. It can be used to track clicks on links and to test banners.
Later, I need to code an admin interface to make it easier to Ad new links and banners and to report stats.
I also plan to create some of my own banner and image Ad designs. I will probably post about how I do this with some specialist Ad design software that I use.
Comment by Andy — November 23, 2007 @ 8:15 am