Skip to main content
August 26, 2009
Question

Traffic Counter

  • August 26, 2009
  • 2 replies
  • 1617 views

How do you put a traffic counter in Dreamweaver CS3?

Thanks,

Heather

This topic has been closed for replies.

2 replies

August 28, 2009

You can add a Command to the page to increment a column in your database.... here's a sample of the SQL:

Update HitCounter

Set PageCounter = PageCounter + 1

Where pagename = 'whatever.asp'

except if your on ASP, because the ASP Command implementation is broken in CS3 and CS4.

Participating Frequently
August 26, 2009

Is there a reason that you don't want to just use your web logs and statistics?

August 26, 2009

I am not sure how to use them. Can you please advise?

Known Participant
August 27, 2009

Contact your host, or check your host control panel. Many hosting plans include access to the logs via an advanced statistics package.


Ok My host doesn't supply a web counter script. So I went to sourceforge.net and search for a free webpage counter and downloaded the script. It worked fine. It will have easy instructions on how to use it.

But I would like to know how to create one if someone knows how.