Use this code to track how many views of an ad you have on craigslist. Simply insert an image link into your ad which references this script, with a parameter of "image=X", where X is a number pointing into the hash defining the image and the widgets associated with that ad.
Example: This is my awesome cat shampooer I am selling: <img src="http://my.server/image.cgi?image=1">
Public dashboard showing the widgets live: https://public.ducksboard.com/xrDM0AQDXX8UUbhrqhYi/