Saludos,
Aquí tienes este,,, modificalo a tu antojo
Pegar entre la etiquetas <HEAD> Y </HEAD> :<script LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- By David Hyman -->
<!-- Hide script from older browsers
expireDate = new Date
expireDate.setMonth(expireDate.getMonth()+6)
hitCt = eval(cookieVal("pageHit"))
hitCt++
document.cookie = "pageHit="+hitCt+";expires=" + expireDate.toGMTString()
function cookieVal(cookieName) {
thisCookie = document.cookie.split("; ")
for (i=0; i<thisCookie.length; i++) {
if (cookieName == thisCookie
.split("=")[0]) {
return thisCookie.split("=")[1]
}
}
return 0
}
// End hiding script -->
</script>
Pegar entre las etiquetas <BODY> Y </BODY> :
<script LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from older browsers
document.write("Has visitado esta página " + hitCt + " veces.")
// End hiding script -->
</script>
Espero que te sirva