What are tips on attracting visitors to a website?

Frm where i can get javascript code 2 include visitors counter in my site?

  • i had made a site i want 2 include the visitors counter in my site but i could not found a proper code 2 embed it in on my site pls give some good links or suggestion frm where i can get the code 2 embed visitors counter on my website & also pls tell how 2 monitor the traffic on my site, how 2 promote my site (free different ways of promoting a website), good javascripts, n website development tips n tricks anything related 2 website development u like 2 share thanks

  • Answer:

    A hit counter runs on the server (php, Perl) not on the browser (Javascript). When you start the session, read the hit count from the database into a variable and update the database with the variable + 1. Then write the page including the variable as the hit count.

Shree R at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

One way of adding a counter to your site is to use server side programming & include a counter. In case you looking for a easier way & don't mind using other party products you can get yourself a good hit counter from many website. The one I use is --> http://www.simplehitcounter.com As far as your question goes on promoting a website I think you'll find a lot of good material if you just do a google search on it. Sam. http://www.ajaxrich.wordpress.com

Sam

I have also created a website www.plccoastal.org and use a free webcounter to track traffic on it. It also gives facility to hide number of hits (if you think its too less and want to hide it). Visit following site and register www.thecounter.com

altaflangda_yours

the best one and rocking i deserve and using for my sites and made my clients too is statcounter.com easy to use... and work

DeepU

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.