How to add a hit counter to Craigslist

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

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.

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!


Video of the Day

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.



Report an Issue

screenshot of the current page

Screenshot loading...