How to add a hit counter to Craigslist

By Techwalla Contributor

In this eHow you will learn how to add a hit counter to Craigslist. This simple JavaScript will help track potential buyers. Sell your items on Craigslist and avoid the fees associated with eBay,, and Amazon.

Things You'll Need

  • Computer

Step 1

I wish I could just give you one line of JavaScript that you could copy and paste into your Craigslist ad, but JavaScript can't be posted in eHow. Instead you will have to copy the contents of STEP 2 to the bottom of your Craigslist ad. Next follow STEPS 3 and STEPS 4 to turn it into a JavaScript. I know you can do it!

Step 2

img src=""

Step 3

Add a < before the your paste. (No space)

Step 4

Add a > after the paste. (No space)

Step 5

If done correctly the JavaScript that you have just created will count the number of visitors that view your ad. It will basically look like this: "0 0 0 0 0 1". That would mean that one person has viewed your ad.

Step 6

Try it out. Then monitor your Craigslist hits. If it works please rate this eHow article.

Tips & Warnings

  • This JavaScript was found at