How to Add a Hit Counter to Your Website through cPanel


cPanel has a function where you can add a hit counter to your website. You can access this function through the CGI Center located under Softwares / Services. The hit counter shows the times a web page has been viewed. The hit counter can also display the current time or date.

To create a counter, follow the instructions below:

Procedure:

1.  On the homepage of your cPanel, click CGI Center under Softwares / Services.

cPanel

2.  Click on the Counter link.

Counter link

3.  Under Please select functionality, choose counter.

choose counter

4.  Under Please select Format, enter a numerical value in the textbox to determine the thickness of the hit counter frame. Alternatively, you can click on “+” button to increase the frame thickness and “-” button to decrease the fame thickness. You will be given the option to preview your hit counter later.

Select Format

5.  Under Please select Frame Color, enter the values for the frame color. You can also pick a color through the color selector provided by cPanel. After you have chosen a color, click on the x in the upper right corner of the color selector.

Select Frame Color

6.  Under Please select Maximum digits, select the maximum digit for the hit counter from the drop down menu. By default, the maximum digit is set to 5.

select Maximum digits

7.  Under Please Select Style, click on the See Styles link to view the styles available for the hit counter.

Select Style

8.  There are 33 styles which you can choose from. Enter the letter or number of the desired style for the hit counter.

choose from

9.  Under Counter Name, enter a name for the hit counter. The name will be used by cPanel to save the hit counter that will display on your website.

Under counter name

  • The Color Replacer allows you replace all the colors in one instance. To replace a color, click on the multicolor tool box on the right of the source color. You can increase and decrease the value of a color by clicking on the “+” and “-”.

Replace Colour

  • To preview the hit counter, click on the preview button. cPanel does not limit you the times which you can view the hit counter.

Preview button

  • If you are satisfied with the preview, click html.

Click Html

  • The html code for the hit counter will appear. Copy the code beginning with <img src= and end with >.
  • After that, paste the code into the place where you want the hit counter to appear on a web page.
  • If you want to change the name of the counter after you have created the display, enter the new name in the Counter Name box and then click the Commit Changes button.

Commit Changes

  • If you want to resent the count, enter a new numerical value in the New Count textbox and then click the Commit Changes button.

Count textbox

Filed Under: Computers & Technology

Tags:

About the Author: Justin Belden is a freelance web & graphic designer with over 15 years' experience. He is also an Avid member of the Design/Development community and a Serial Blogger who loves to help people by sharing interesting and informative tips and trick related to computer and technology.

RSSComments (2)

Leave a Reply | Trackback URL

  1. Lucy says:

    Is this article recent? On my Cpanel ,it doesn’t show CGI Center under software services or anything. Please answer in a timely manner.

    Thanks,
    Lucy K.

  2. Shenron says:

    Yes, it is recent, yet it depends on the version you’re using.