After you have installed the Counterize II-Plugin, you can see a lot of diagrams on the Counterize II stats page (Dashboard/Counterize II).
Most likely you’d like to have a counter somewhere on your pages, showing XX hits or something like that. Here’s an overview of the functions which can be used in your Wordpress sidebar.
New: <!-- counterize_stats -->
– Shows a complete stats page in one of your blog posts.
echo counterize_getuniqueurl()
– Returns amount of unique URl’s that have been shown
echo counterize_getamount()
– Returns total hits seen by Counterize.
echo counterize_gethitstoday()
– Returns total hits registered today.
echo counterize_getuniquebrowsers()
– Returns amount of unique browser-strings that have visited.
echo counterize_getuniquereferers()
– Returns amount of unique referers that’s registered.
echo counterize_getlatest7days()
– Returns total amount of hits from the last 7 days.
echo counterize_getuniqueamount()
– Returns total unique IP’s that’s been seen.
echo counterize_getfromcurrentip()
– Returns total hits from the IP that’s visiting.
echo counterize_getuniquehitstoday()
– Returns the number of different IP’s registered today.
echo counterize_gethitstodayfromcurrentip()
– Returns daily hits from the IP that’s visiting.
echo counterize_return_first_hit()
– Returns the date of the first registrated entry in the database.
counterize_most_visited_pages()
– Create graph of most visited pages.
counterize_most_visited_ips()
– Create graph of most active IPs.
counterize_most_used_browsers()
– Create graph of most seen useragents.




Danke für die Infos!
Comment by Gedichte — Friday, 10. August 2007 um 12:43 Uhr
have been looking for a plugin like this for a LONG time, thank you for your wonderful work!
The only wish I have, would be to add a function that returns in the sidebar, something like
Firefox 80%
IE 10%
Opera 5%
Safari 5%
or something to that effect. This would be helpful to me, and neat to show in my sidebar, to get a more general idea of what browser type my users are using, because generally I don’t care if people are using Firefox 2.0.0.9 or 2.0.0.8 er whatever, main browser type is what I care about from a design point of view.
Comment by tcoburn — Wednesday, 28. November 2007 um 8:24 Uhr
Which function should i use to show “xxx users online” in my pages?
Comment by robi — Tuesday, 4. March 2008 um 12:49 Uhr
Hi, how to show only “Most seen referers” ??
Comment by sl4sh — Wednesday, 21. May 2008 um 20:52 Uhr
Hi, please can U write full code what me show user online on site.
thx
Comment by Ka — Saturday, 3. January 2009 um 22:20 Uhr
Hi, im a real php noob so bare with me!
ok, here’s what i want. i want a simple visitor hit counter that “see’s” the ip’s of the visitors and therefore registers only 1 hit/per visitor. now i think that counterizeII can do this but how the hell do i make this counter visible in my sidebar??
i see that i can use “echo counterize_getamount()”
but i’m guessing i need to type in more php code to make this work, please anyone can guide med what to write in the sidebad.php….
Thanx in advance!
/Juan
Comment by Juan — Saturday, 16. May 2009 um 13:02 Uhr
thanks to Juan! have exactly the same question! and did not find anything in google about that.
Comment by Alex — Saturday, 23. May 2009 um 0:26 Uhr