View Full Version : Hit Counter
Flanking
01-12-2006, 11:50 AM
Hello,
I'm new to site ground and was hoping someone could tell me where I can find the hit counter for my site?
Thanks a lot.
dizzycow78
01-12-2006, 07:46 PM
You should log into you CPanel and you can get all kinds of reports from the Web/FTP Stats button
A how-to from cPanel, how to create Counters :)
The Counter Maker script allows you to create three different items that you can put on your web pages:
Counter
Clock
Date
CounterThis is a simple counter that displays the number of times a particular web page has been accessed. By putting a counter on your home page, you can keep track of how many visitors have looked at your web site since the counter was created. This is useful not only for your own information, but as a means of showing visitors how popular your site is.ClockThis is a simple clock that displays the time for the set time zone. It updates each time the page is loaded.Another available CGI script is a Java clock (http://www.newista.com/cpanel/cpanel/clock.htm), which displays the time dynamically, just like a digital watch. However, Java may not be an acceptable technology to use, depending on the browsers your visitors are using.DateThis is a simple date display that can be customized to display in a number of different formats.All three items can be heavily customized, as required. You can do the following:
Choose the display style from a large number of available styles.
Further customize the display style by replacing one color with another.
Choose the frame color and thickness around the item.
Set time and date formats.
Preview the item.
To create a counter, clock, or date:
Click on the Counter link in the CGI Center area.
Click on the Counter, Clock, or Date radio button.
If you are creating a clock, choose the time zone and format options in the TimeZone and TimeFormat drop-down lists.
If you are creating a date display, choose the required date format in the Date Format field. M = Month, D = Day, and Y = Year.Example: If you choose the MMDDYY option, the 25th of December, 2003 will be displayed as 12- 25- 2003. If you choose the DDMMYY option, the same date would be displayed as 25- 12- 2003.
Enter the thickness of the border around the item in the Frame Thickness field. Zero removes any border around the item.
Choose the maximum digits in your counter, if required.
Choose the style for the item from the Style drop-down list. To see an example of all of the styles, click on the See Styles link.
Enter the red, green, and blue values for the border in the Frame Color fields. Click on the Preview button to see the border color. Most graphics programs will show you RGB colors, as will the Windows Color Picker.
Enter the name of the counter in the Counter Name field. You can not duplicate item names within the same CPanel.
Click on the Preview button to see what your item will look like. Alter the criteria fields and keep previewing until you are happy with the finished product. http://www.newista.com/cpanel/cpanel/images/image.pnghttp://www.newista.com/cpanel/cpanel/images/counter.png
Click on the Make HTML button to create the HTML code that you can cut and paste into your HTML page where you want it.
Upload your new HTML page to see how it works. I hope that helps :)
sladegen
04-14-2006, 11:30 PM
I was unable to find any "How to . . . " section on cpanel. Can you give me guidance how to find the instructions to install a counter?
Thanks, Jim
To install a counter on your website please do this:
1. Login to your Cpanel
2. Click on the "CGI Center" icon (4th row, last icon)
3. Click on the "Counter" script from the list
4. Follow the instructions Tom cited in the previous post on how to create a counter.
regards,
Hezeel
05-05-2006, 07:36 AM
I had no trouble following the directions, gave it a name & clicked "Make HTML", then cut & pasted that code into Sitebuilder using the "switch to HTML source"
But once I host that page up (actually even when I just preview) I get the frame ok (colour etc) but instead of the counter inside I get "Could not write to counter file: /var/cpanel/Counters/pagecount.dat"
Would that just be a server error that will clear up shortly, or is it something I've done wrong on my end?
Cheers,
Hez.
kenny
05-08-2006, 04:53 AM
This is a cPanel issue/bug we face every once in a while. You will have to open a support ticket from your user area on siteground.com -- we need to know which is the server that hosts your account, and your username to be able to rectify the problem.
Hezeel
05-08-2006, 06:53 AM
Thanks Kenny, that worked.
What I didn't catch onto (until you posted the direct link in the ticket) was I needed to add my domain name eg "http://mydomain.com" to the front of the code cPanel was creating for me.
img src="/cgi-sys/Count.cgi?df= etc, etc should actually be
img src="http://mydomain.com/cgi-sys/Count.cgi?df= etc, etc
Guess that's what you get when you let noobs like me loose trying to learn HTML :)
Thanks again.