That’s quite the vague question. But every page loads the header and the footer, so perhaps there?
Thread Starter
arnob
(@arnob)
ok, I’ll try in the header, thanks I even didn’t think about that…
Are you looking for something like BAStats? As miklb stated, the initial question was a little vague, but you may want to check out BAStats and see if that’s what you are looking for.
Thread Starter
arnob
(@arnob)
yes, what I have is a script generated by “phpmyvisits” and I put it in every html or php pages in my website, but I don’t know where to put it for wordpress ?
Thread Starter
arnob
(@arnob)
here is the script I want to insert :
<script type=”text/javascript”>
<!–
doc = document; d = new Date(); res = screen.width+”x”+screen.height; c = screen.colorDepth;
src = ‘http://www………./phpmyvisites/phpmyvisites.php?url=’+escape(doc.location.pathname+doc.location.search);
src += ‘&site=2&res=’+res;
src += ‘&siteh=’+doc.location.hostname+’&c=’+c+’&h=’+d.getHours()+’&m=’+d.getMinutes()+’&s=’+d.getSeconds();
doc.writeln(‘<img src=”‘+src+’&ref=’+escape(doc.referrer)+'” alt=”phpMyVisites” style=”border:0″ />’);
//–>
</script>
<noscript>
phpMyVisites : logiciel gratuit de mesure d’audience et de statistiques de sites Internet (licence libre GPL, logiciel en php/MySQL)
<img src=”http://www………/phpmyvisites/phpmyvisites.php?nojs=1″ alt=”phpMyVisites” style=”border:0″ />
</noscript>
And so the header didnt’ work?
I’m just uploading v2.0 beta 1 of phpmyvisites to my site too. I assume too that the best place to add this script is the header?
No. You have to put the phpmyvisites in the footer.php of your theme