WordPress database error: [Column 'page_id' cannot be null]
INSERT INTO `whtp_ip_hits` (`ip_id`, `page_id`, `datetime_first_visit`, `browser_id`) VALUES (5077, NULL, '2017/12/16 03:11:27', 61)

 Who Hit The Page – Hit Counter – WordPress Plugin

An invisible hit counter plugin for WordPress

 

 


Who Hit The Page – Hit Counter adds an invisible page hit counter on your website, know how many times a page has been visited and also know the IP addresses of your visitors.
This plugin will also register the visitor’s browser type. To use the plugin place `[ whohit]Page name or identifier[ /whohit]` on a wordpress post or page.

Please note the following

  • The plugin will place an invisible hit counter – meaning that visitors are counted on the background, they won’t see the counter.
  • There is now visual display on the website to show the counts, counts only seen by you – the website administrator
If you have already installed the plugin, SKIP to the bottom to learn how to use it.

For the purpose of this document, we have written the shortcode in the examples as [ whohit]…. [ /whohit] with spaces between [-w and here [-/, these spaces are to prevent some errors in our website. Please use the shortcode without spaces in the tags

Hopefully, you have come to this page because you have downloaded our Who Hit The Page – Hit Counter plugin for wordpress, if not, we will show you how to download and install it in your wordpress website, just read on you will have it working in no time, or read through for details on how to use it if you have already installed it.

To start using Who Hit The Page – Hit Counter wordpress plugin, please follow any of the following options – A, B, or C –
You should be up and running after completing the step by step guides below.

Option A – Using manual download and plugin uploader

  • Click the download button above it will take you to the plugin’s download page from where you can click download and then
    a download should begin immediately. Depending on your browser, you may be asked whether to save the file or not.
  • If asked choose ‘save file’ and select your preferred destination
  • If not asked, check your browser’s download window / tab, if download completed, then proceed with the next step.
  • Login to your wordpress website if you are not logged in already, then go to your admin panel
    • Click on ‘Plugins’ to open submenu, then click ‘Add New’
  • on the plugins’ page, top horizontal menu, choose ‘Upload’ and do the following
    • Click ‘Choose’, on the dialog box that appears, locate the .zip file you downloaded in step 1 above
    • Double click on the file or select it and click open to return to the plugins page.
    • Click ‘Install Now’, then the plugin should be installed
    • On the plugin’s installation page, read the result to see if installation was successful or not. If installation
      failed please check to see if you have followed the steps correctly, or else read the error message and see if it helps
  • If installation was successful, click ‘Activate Plugin’. Alternatively go to ‘Plugins – Installed Plugins’, and click activate next to the ‘Who Hit The Page – Hit Counter’s description’.
  • lastly, go to the sidebar, click ‘Who Hit The Page – Hit Counter’ to open the plugin’s administration page
  • Place [ whohit]Page name / identifier[ /whohit] on your page or post, save and publish for the plugin to start working.

Option B – Using wordpress’ built in plugin search

  • Login to your wordpress site’s admin page if you are not logged in yet
  • Go to ‘Plugins’ and click ‘Add New’
  • Under the search section, type ‘Who Hit The Page – Hit Counter’ in the search box and click ‘Search’

    Who Hit The Page – Hit Counter adds an invisible page hit counter on your website, know how many times a page has been visited and also know the IP addresses of your visitors.
    This plugin will also register the visitor’s browser type.

  • On the search results, look for a plugin with the name ‘Who Hit The Page – Hit Counter’ and the above description
  • select that plugin, click ‘Install Now’ and click ‘Activate’ on the installation results page
  • Lastly, go to admin menu on the left, click ‘Who Hit The Page – Hit Counter’ to open the plugin’s administration page
  • Place [ whohit]Page name / identifier[ /whohit] on your page or post, save and publish for the plugin to start working.

Option C – Using manual download and an FTP Program

This is an installation guide only, it assumes you know how to use an FTP program to upload files to a remote server.
  • Click the download button aboveit will take you to the plugin’s download page from where you can click download and then a download should begin immediately. Depending on your browser, you may be asked whether to save the file or not.
    • If asked choose ‘save file’ and select your preferred destination
    • If not asked, check your browser’s download window / tab, if download completed, then proceed with the next step.
  • Extract the .zip file to any location on your computer and
  • Open your FTP program – we use FileZilla – and locate the extracted folder (use local view of your FTP program)
  • Connect to your website or blog using the FTP program and browse from the root of your wordpress installation to the folder or directory ‘wp-content/plugins’
  • On local view of your FTP program, make sure you have the root folder of the plugin selected, that is; ‘who-hit-the-page’ – if you open this folder you must see several .php files and .css file
  • Upload this selected folder with its contents to ‘wp-content/plugins’ – after uploading, you must have a new folder under plugins, ‘wp-content/plugins/who-hit-the-page’
  • Now go to your wordpress’ admin panel, go to ‘Plugins – Installed Plugins’- Under ‘Who Hit The Page – Hit Counter’, click ‘Activate’.
  • Lastly, go to the side menu of your admin, click ‘Who Hit The Page – Hit Counter’ to open the plugin’s administration page
  • Place [ whohit]Page name / identifier[ /whohit] on your page or post, save and publish for the plugin to start working.

Necessary Step After Installation

After successfully installing the Who Hit The Page – Hit Counter wordpress plugin, it should be ready for use. However, you still need to to do one little thing.

  • To put the plugin into real use, copy and paste or type [ whohit]Page name / identifier[ /whohit]
    anywhere in your contact page or any other page where you want the form displayed.
    Save your page and preview it in your browser to see how the form looks on your website’s theme

24 thoughts on “Who Hit The Page – Hit Counter

  1. I just installed this much needed plugin, thank you. Is there a way that I can discount my visit to the site as Admin. I often go and check my work but I do not want to be counted as a visitor. Thanks for your help!

    1. We are already working on that, an update is coming soon.

      To tell you the truth, it is done we are just testing it to see if the new features work as intended.

      Thanks
      Mahlamusa

  2. 1. i have created hit counters on pages by accident so i renamed them. how do i delete an identifier? i can change the name of a identifier, but once created, there doesn’t seem a way to delete it.

    2. is there also a way to clear the IP address list?

    1. Hi everyone

      Thank you for using our plugin. I see that many of you has the same issue about deleting identifiers and IP addresses. I want to let you know that those requested features are coming soon. Please bear with me as I test these new features.

      Expect the following;
      1. Reset single or all counters
      2. Delete single or all identifiers
      3. Reset or delete single or all IP addresses in the table.

      Thank you for the comments and requests, you really help in the development of this plugin.

      You can keep the comment and emails coming, I will be happy to respond.

  3. I just installed the new update. And now it has stopped working. At first it was showing the code on my website so I deactivated then reactivated the programme, this solved the problem of seeing the code on my page but when I go onto dash board to see the hits it shows nothing. I visited my website from another computer and still nothing shows up as a hit….any ideas?

  4. Great plugin.
    Working well until new WP release 3.6.
    Just de-activate and then activate plugin, and it solved my problem.
    (Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in bl.a bla. bla)

  5. Hi, I’ve installed the plugin and it’s working, but if I visit the page it is coded in, the stats register multiple visits, not just one. Is that a bug or do I have the plugin set up incorrectly? I put the snippet of code into the header of the page.
    I’d appreciate any help you can give. Thanks very much

    1. Ann, please check if you have not placed the code twice on the same post or page, and I am not sure what part of the header you put the code, but if you are using wordpress post editor then you should put it in the post’s body, this doesn’t seem to be a bug, since I have never seen it happen and no one has reported it as yet, but if this occurs again I will be happy if you report it to me by email

  6. Hi,

    I installed the plugin but I don’t get it up and running. Call me stupid but where do I have to put in [ whohit]-Page name or identifier-[ /whohit]. A screenshot would be helpful.
    Thanks

    Alexander

    1. Put [whohit]Page Name/Identifier[/whohit] on every post or page you want the counter to work on. Let’s say you want to count visitors on your conatct us and About Us page, the you will have to put [whohit]Contact Us[/whohit] on the contact us page, and then [whohit]About Us[/whohit] on the about us page, and for every other page or post you will have to put the code [whohit]Page/Post Name[/whohit] on that page, but of course replace “Page/Post Name” or “-Page name or identifier-” with anything you may use to identify the page on the stats table.

      I hope that helps, but also remember to see the documentation here http://3pxwebstudios.co.nf/who-hit-the-page-hit-counter/

  7. Great plugin! One question though, the time it says a hit occurred is at least 2 hours into the future! I really don’t know how many hours it is off as I really do not know when the hit really happened. How can i correct this? The time on my website is correct by the way.
    Thanks!
    Jose

    1. Hi Jose, please check your server’s time zone and compare it to your own time zone. This may happen if the server is at a time zone that is different from yours, for example this website is hosted outside but I’m inside South Africa, and my time zone is GMT + 2, if it happens that I get a visitor from time zone GMT + 4,that will be 2 hours in the future if I see this immediately but is nothing to worry about.

  8. Hi there – Ive just installed your plugin for my College project – on a wordpress website

    Ive indserted it onto this page and cant for the life of me see where it is ..? (I cant see it on the dashboard nor the webpage)
    http://y13t401.3cit.info/

    I have inserted the code on the page .

    Thanks Tash

    1. Great Plugin:)I have a doubt related to the date and time in Visitor IP Address and Information

      The time is not displaying correctly.Please help me out to solve this issue..

      This is showing in !st visit 2013/11/29 05:29:36 but what i want is 2013/11/29 12:00:10(current date and time)

      Thanks in Advance

  9. Hi, thanks for the plugin, it works well, but I also want to count the number of visitors to my homepage, but for my theme (photographer), there is nowhere to paste the text required as in the other pages. Can you suggest how I include the homepage in the counter as well?

    thanks

  10. This is a great plugin, thanks!

    One questions, is it possible to correlate the IP addresses with the pages visited? Perhaps by including a page reference number?

  11. I notice on one of the above posts that you were almost ready to release an update to take care of unique visits, that was a long time ago. /ids it possible to delete duplicate hits?
    Patrick

  12. I’d like to share the hit information on a page that only a few people can view. Are there short codes that can be placed in a page that displays the hit info?

  13. I’ve added a new page to my website & placed the tracking necessary codes … but how do I add it to to the summary stats of “page visited”

Leave a Reply