How to put a visitor counter in WordPress –

Hosting Mautic QuickStart -50% with support in Spanish
24 hours and free training

Send up to 1,000,000 emails/year. Mautic support in Spanish 24 hours, 365 days

The monitoring of visits to our website should be one of the actions that we must always do.

The benefits of this are unquestionable. tracingfrom seeing the results of the positioning, results of our marketing campaigns as well as detecting possible problems on the web or its content.

Measure either through Analytics or others most of us do it, but in this post I am going to show you three plugins that measure, but also allow us to put a visitor counter in our WordPress.

In this way we can show real time some of the information collected from our users.

I am going to go from a plugin focused on measuring that allows us to show a simple visit counter to a plugin that has very simple statistics but allows us to configure a more complete counter.

Contents:

  1. WP Statistics.
  2. Advanced Page visit counter.
  3. Page View Count.

WP Statistics

WP Statistics is a plugin clearly focused on measurement of visits on the web. It presents a series of very detailed statistics with many configuration options.

This plugin performs practically the same measurements as the plugins we use to insert the code of Google Analytics and it also has a very complete panel area.

Keep in mind that the plugin WP Statistics stores all the information in the web database, so it will take up space and resources. In the long run it will condition the hosting that we must have. This is one of the main differences with the plugins that use analytics and one of the main drawbacks of this plugin.

Of all the extensive configuration, it should be noted that the exclusion of visits that you do not want to measure can be configured very well. It allows to exclude by role type on the page, by IP, by lists of countries, servers, specific pages.

See also  Poster with error "this website cannot be accessed" on c...

Insert hit counter with WP Statistics

Apart from all the options to measure this plugin also offers to insert a WordPress hit counter to show visitors some of the data collected.

For this, it has a widget that we can use from the Appearance > Widgets administration menu.

If you are not clear about what a you can read in this post on the subject.

Once the Widget is placed in the area that we want, we can see the null possibility of configuration. Depending on the template that we use in our WordPress, we will have more or less areas available.

In fact we can only choose the type of data we want to display. By collecting many statistics the plugin we have many possibilities.

What the plugin does not allow us is to give it styles, we cannot modify font sizes, typography, colors, etc.

As I mentioned at the beginning, this counter has many limitations. You can only put it in a widget area and it does not allow us to add any kind of style to integrate it into our website.

Advanced Page visit counter

Advanced Page Visit Counter is a plugin that collects many user datato a lesser extent than the first commented plugin and with much less possibilities of configuring the statistics.

It has a very simple but complete data summary panel and allows us to exclude visits by specific users and IPs. You can know and which is yours in this link.

Like the previous plugin, this one saves all those records it collects in the database and therefore it will be necessary to monitor the use of space and resources that you use

Insert Visit Counter with Advanced Page Visit Counter

The strong point of this plugin is its visitor counter. It allows us an important configuration and above all to give it styles so that it integrates as much as possible within our website.

See also  How do I access the WP" "Error: you do not have permissions to access ...

The main limitation is that it only shows three data; visits today, people who have visited the page you are on and total visitors to the web.

We have two possibilities to insert the counter, on the one hand the plugin allows us to insert it in the type of page that we want, such as pages, posts, products, projects, etc. And on the other hand it allows us to put it in the position we want through shortcode.

If you are not clear about what a you can read in this post on the subject.

The setting of the counter is very simple, once we have chosen the types of page in which we want it to appear, we can style it.

We can choose where to display it, if below or above the content, we can put a border, alignment, padding, background color, font color and size.

But it also allows us to change the texts that are displayed before the data.

We can also give you styles via Templates predefined that come with the plugin and with which you can test to see if they fit your website.

If you want to insert the counter in another part such as the sidebar, footer or any widget area that your template has, it must be done through shortcodes.

The plugin has a generator shortcodewhere we are going to give the styles to the counter, then we are going to be able to insert it in a text widget or even in the middle of the content of a page or blog entry.

You just have to configure the different options of styles and data that we want to show and click on the button “Generate Shortcode”.

In this option we can see a preview of how the counter will look.

Page View Count

It’s latest plugin is the most easyit is true that it is the only one that is not translated, but I do not think it will pose any problem for its configuration.

See also  How to activate the debug mode in WordPress -

It is a plugin focused only on showing on the web the data of visits to the page in which the user is located and total visits to the web.

It does not offer many options to change the styles as shown, but it does its job well and consumes a lot of energy. little space in the database as well as few server resources.

It allows us to activate and deactivate the visitor counter by type of content, that is, we can differentiate between pages, posts, products, projects, etc.

We can choose the position, top or bottom, centered, left or right alignment, and set the color and size of the icon that appears before the data.

An important aspect of this plugin is that it prevents data from being cached if you have any caching plugin installed so that it doesn’t mess up the stats.

It is also compatible with . And in the editor of each page we can manually assign an initial number of visits in case we already had a counter or have carried out a web migration.

Another interesting aspect is that the plugin allows you to insert the counter by shortcode which we will create in the general configuration section of the plugin.

And it also allows us to insert it through code.

In short, it is a plugin easyeasy to implement and that provides us with a WordPress visit counter without consuming space or server resources.

Help us improve our content by sharing your opinion

Co-founder of Covalenciawebs where I am responsible for web positioning and Google Ads. I also teach SEO, SEM and Web Analytics courses to be applied in projects carried out in WordPress and Woocommerce.

Loading Facebook Comments ...
Loading Disqus Comments ...