| |
|
Welcome to KnowledgeSutra - Dear Guest | |
I Want A Good Hit Counter
Started by web_designer, Apr 04 2010 07:23 PM
11 replies to this topic
#1
Posted 04 April 2010 - 07:23 PM
hi, i want you guys to suggest me a good hit counter. i already got a one using java script but it may be not very accurate. a few days ago, i used this wordpress plugin ( CHICKUN COUNT REPORTING ). it is a hit counter for the whole website and for a certain page, it gives me more accurate results. but now, i get even more confused. because i got a completely different number, i can understand if there is a logical difference between them. but the differences between results are huge.
any way, i hope you can suggest me a good hit counter you already tested before, or tell me if the one i use now (chickun count reporting ) is a good one or not.
another question, can i add the number of visitors in my old counter to the new one? and how?
the old one i used that using java script in an online hit counter i get it from
BlogPatrol.com
so think it maybe use a txt file for saving hits, but the new one (chickun count reporting) is
using a databast table to save the hits. so any ideas on how to merge the results?
any way, i hope you can suggest me a good hit counter you already tested before, or tell me if the one i use now (chickun count reporting ) is a good one or not.
another question, can i add the number of visitors in my old counter to the new one? and how?
the old one i used that using java script in an online hit counter i get it from
BlogPatrol.com
so think it maybe use a txt file for saving hits, but the new one (chickun count reporting) is
using a databast table to save the hits. so any ideas on how to merge the results?
#2
Posted 04 April 2010 - 07:46 PM
One that I enjoy because of its simplicity and how easily it can be redesign to fit your site, I would check this website out: http://www.hscripts....usersOnline.php. You can see it in action on my site on the left http://saint-michael.trap17.com/ and what I did was add all the various counter and user scripts together to develop a nice state sheet.
#3
Posted 04 April 2010 - 09:34 PM
i went to your site to check out your stats on your site. how can you have more unique hits than hit?
that really doesn't make sense
Saint_Michael, on Apr 4 2010, 02:46 PM, said:
One that I enjoy because of its simplicity and how easily it can be redesign to fit your site, I would check this website out: http://www.hscripts....usersOnline.php. You can see it in action on my site on the left http://saint-michael.trap17.com/ and what I did was add all the various counter and user scripts together to develop a nice state sheet.
#5
Posted 05 April 2010 - 01:39 AM
Quote
i went to your site to check out your stats on your site. how can you have more unique hits than hit? smile.gif that really doesn't make sense
that's exactly what i am talking about anwiii, how can i get more hits on pages than the main or home website??
it's a completely mess. even was satisfied after i installed the plugin because it gives hits in many browser but after that i noticed the strange numbers of hit.
and thank you saint_michael for your fast reply. i checked your website and it looks a good hit counter, i will try it tomorrow.
#6
Posted 09 April 2010 - 12:55 AM
If you still need a good hit counter, you could always just add a table in your mySQL database or hold it in a text file and edit it with PHP. The advantage with this is that you can decide what counts as a hit and what doesn't (reloading pages for example). I can give you the code to do this if you need to.
#7
Posted 09 April 2010 - 05:51 AM
Statcounter have wordpress integration that you can follow for your wordpress blog. As for importing data from old counter. i don't think it's possible or is available with statcoutner. It'll not show much information like SM's hit counter but it's sufficient for your blog. Check that and let me know.
#8
Posted 09 April 2010 - 10:28 AM
mahesh2k, on Apr 9 2010, 07:51 AM, said:
Statcounter have wordpress integration that you can follow for your wordpress blog. As for importing data from old counter. i don't think it's possible or is available with statcoutner. It'll not show much information like SM's hit counter but it's sufficient for your blog. Check that and let me know.
thanks mahesh for you suggestion, it looks good one.but unfortunenatly this counter using widget and i don't. i use drect code in my sidebar, even it is more harder but it's fun. the bad thing that there are always new plugins and features for widget. any way, thanks.
#9
Posted 09 April 2010 - 09:54 PM
that is right rigaudon, but i get enough of errors the past few weeks, and i don't want to mess my code especially i am using worpress platform which means that a simple php code may not be compatible with the other files which brings more errors. therefore using plugins are easier to use, if you don't like it just remove it in one click. thanks for replying.
#10
Posted 09 April 2010 - 09:59 PM
I think you're familiar with MySQL and PHP, so why not just use that?
mySQL
You can add more pages like this. Just put this at the top of each page:
mySQL
CREATE TABLE `hitcounter` (
`id` INT NOT NULL AUTO_INCREMENT ,
`name` VARCHAR(20) NOT NULL,
`hits` INT( 20 ) NOT NULL ,
PRIMARY KEY ( `id` )
)
INSERT INTO hitcounter (name, hits) VALUES ('Homepage',0)
You can add more pages like this. Just put this at the top of each page:
<?php
$name = "Homepage"; //Change this to whatever the page is.
//Connect to Database first.
mysql_query("UPDATE hitcounter SET hits=hits+1 WHERE name='{$name}'");
?>
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















