I ran in to a situation at work today where an advertiser, wanting to place a tracking pixel on a sponsored piece of Web content, only wanting to know about visitors who have been on the page containing the content for at least one minute. The advertising system we use doesn’t offer a solution for this out of the box and I didn’t think it would be terribly difficult to make happen, but was surprised to not find any quick how-to guides anywhere.
The code snippet below outputs markup to a visitors browser 60 seconds after the page they are viewing loads. It was tested in Doubleclick’s Dart for Publishers as a piece of custom creative targeted to a ad zone used exclusively by the piece of sponsored content:
<script languagage="Javascript">
/* %u - keep Dart from complaining about no url */
setTimeout("firePixels()", 60000); //60 second delay
function firePixels(){
var tStage = document.getElementById('trackerstage');
if (tStage){
tStage.innerHTML = "<img src=\"http://www.100781.org/happles.jpg\">";
}
}
</script>
<div id="trackerstage"></div>
This solution worked perfectly, after replacing my test image with the advertiser’s tracking pixel, of course. This is also simple enough that it should be able to work just as well when delivered by any advertising system. Have a similar solution or tip? Share!

Latina.com underwent a bit of a refresh earlier this month. Cameron Moore, Latina’s Web Developer and I, along with the guys at Limachips put a ton of work in to the project over the past few months, and it was great seeing the newly refreshed layout go up smoothly.
GiFEED – RSS to animated GIF PHP Script
Sunday, January 24th, 2010 //0 comments

GiFEED is a small PHP script that takes titles from an RSS feed and uses them to build an animated Gif file for use in email signatures, forum posts, and just about anything else that you can think of.
I originally put this together back in 2007 and completely forgot it even existed, but recently found it while going through some old files. I think this is the very first script I wrote in PHP, not too long after beginning at Latina. Beforehand, virtually everything I had been working on was based on Microsoft languages and tools. This was a way to start working with something new and now that I look at it a few years later, I think it’s still pretty sweet.
Granted, it isn’t the cleanest script in the world, but it does work and I think I’m going to rewrite it in the near future. Anyway, check it out and let me know if you use it for something.
Find me on LinkedIn.
Find me on Facebook.
Find me on last.fm.
Find me on YouTube.
Follow me on Twitter.
Grab the RSS feed.