Html simple counter:
To add a counter to you site, it's useful to monitorate
visitors access, you can use one of the many free
counters but the best free counter, I think, is statcounter.
Statcounter (www.statcounter.com) is completly free
and you have many resource like popular pages, entry
pages, exit pages and more and more. You can also
set a visible counter for your homepage and invisible
counter for the others, or alls invisible. It's very
simple to register and install. Remember to check
the HTML only during the set up.
Once you have done the set up, statcounter will give
oyu the code for your pages. Copy it in the body section
(i.e. <body> in this section</body>),
usually at the end.
Javascript counter BEST
METHOD
Now GPC allows the use of javascript code, so paste
the code from, e.g. from statcounter, directly in GPC:
- open an account in www.statcounter.com (I
prefer statcounter for many resons)
- setup your account in stacounter using the
javascript option and not the html only option
- at the end of the setting up of your acconut
in statcount yoou have the javacode
- the javacode for your homepage will be like
this:
<!-- Start
of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=NUMBER1;
var sc_invisible=NUMBER2;
var sc_partition=NUMBER3;
var sc_security="NUMBER4";
</script>
Insert this code just before, e.g., the </body> tag
or, in GPC where you like. Remember that you can place
a code for your home page (so you can set visible the
visitor's number only in your home page) and a code
for the other pages.
Insert the statcounter code for the other pages inside your
pages
You can also add to your pages, in addition to
a counter, google analytics. Google
Analitycs is similar to a counter but more powerful.
Its drwaback is that you cannot track a single user.
Using statcounter and Goolge
analitycs you
have all.