| Posted by Toby Inkster on 11/17/05 10:17 
Chad wrote:
 > <img src="https://www.mydomain.com.com/url?campaign=25&env=PRD" width=1
 > height=1 border=0>
 >
 > That's fine
 
 No it's not. Try:
 http://www.mydomain.com.com/url?campaign=25&env=PRD
 ^^^^(1)                                    ^^^^^(2)
 
 1. Many browsers will bring up a warning dialogue if a page contains a
 mixture of HTTP and HTTPS objects.
 
 2. Ampersands in HTML must be escaped.
 
 > but my question is: what are the different methods I can use on our
 > side to track the pixel hit?
 
 Easiest would be to make "url" some script in a language of your choice
 that increments a counter stored in a database somewhere, and then prints
 out a transaparent GIF (with the correct MIME type of course).
 
 You might be able to speed it up a little by storing your count in a flat
 file instead of a database, but then you'll need to worry about file
 locking: to make sure that simultaneous writes to the file don't break
 things. (With an SQL database, the SQL engine takes care of these little
 intricacies itself.)
 
 --
 Toby A Inkster BSc (Hons) ARCS
 Contact Me  ~ http://tobyinkster.co.uk/contact
  Navigation: [Reply to this message] |