Learn how to easily add detailed blog stats to your WordPress site and how to display your WordPress blog stats to visitors …
Note: This tutorial is about getting statistics about your WordPress blog or website.
If you are looking for useful facts or statistics about the WordPress platform, see this post.
How To Display Your WordPress Blog Stats To Visitors
By default, when you log into your your admin dashboard, WordPress displays basic statistics about your blog in the ‘At a Glance’ information panel …
Depending on what you plan to do, however, you may need to view more in-depth statistics about your WordPress blog, or display more useful or detailed stats about your site to visitors or registered users.
This tutorial shows you how to easily add detailed blog stats to your WordPress site and how to display your WordPress blog stats to visitors.
Use WordPress Plugins To Display Blog Stats
The easiest way to display stats about your blog without touching code is to use WordPress plugins. We’ll cover some useful plugins you can use to display blog stats in the section below.
Before installing a plugin, decide the purpose for displaying stats about your blog. Do you want to display stats about your site to:
Visitors or general blog readers?
Registered users (e.g. membership site)?
Admin users only?
Once you know who your target audience is, the next step is to install the plugin that will do the job and configure stats to display on a page, post, widget, etc.
How To Display Your Blog Stats To Visitors Or Registered Site Users
For this example, let’s assume that you want to display stats about your WordPress blog to site visitors or users.
Some of the reasons for displaying blog stats on your website include:
To inform site readers about the number of posts or people who have visited your site.
To entice new members, sponsors, advertisers, etc.
To access this information without having to log into your WordPress site.
Simple Blog Stats is a free WordPress plugin that allows you to display a variety of unique statistics about your site in your posts and pages using shortcodes (or add these to your theme).
Statistics about your blog include your total number of:
Comments in moderation
Additionally, you can display:
Date of most recent site update
Recent posts (specify how many and size of excerpt)
Recent comments (specify how many and size of excerpt)
All blog stats in a list
To install the Simple Blog Stats plugin from your WordPress dashboard, go to Plugins > Add New, enter “simple blog stats” into the Keyword search field (if you need help see our tutorial on installing WordPress plugins), and click on the ‘Install Now’ button …
(Install Simple Blog Stats plugin)
After installing the plugin, click ‘Activate’ …
(Activate the plugin)
After the plugin has been installed and activated, a new ‘Site Statistics’ information panel displays on your WordPress dashboard …
To access the plugin’s settings, go to Settings > Simple Blog Stats …
(Simple Blog Stats settings screen)
This brings you to the ‘Simple Blog Stats’ screen …
(Simple Blog Stats screen)
The Shortcodes section provides a list of shortcodes you can add to your posts or pages …
(Simple Blog Stats screen)
Using The Plugin
Let’s go through an example of adding shortcodes to display your blog stats on a post or page.
First, create the page or post where you would like to display your blog stats and add content in the Visual tab, then add placeholders in your content to insert the shortcodes that will display your stats (e.g. @@@@@) as shown in the screenshot below …
(Create a page to display your blog stats)
Next, copy and paste the shortcodes that you plan to use in your content to a plain text file. Remember to add the snippets of code before and after each shortcode, as these are required to display your blog stats …
(Blog stats shortcodes)
Switch to the ‘Text’ editor tab in your post or page and paste the shortcodes from the text file into your content (i.e. paste the shortcodes over the placeholders) …
(Paste the shortcodes into your content)
After adding your content and shortcodes, publish and preview your post or page to view your blog stats …
(Add headings in your posts or pages to generate a table of contents)
To display the above stats privately to registered users (e.g. members), just repeat the above process and make the page private or password-protected, or add it to your membership site and set the page access permissions to members only.
To learn how to make your content private or password-protected, go here:
Installing the Jetpack plugin adds a widget to your site that lets you display the total number of visitors on your blog sidebar …
(Jetpack blog stats widget)
Add the widget to your blog sidebar, then configure the widget title and display unit (e.g. visitors, users, readers, etc.) and save. The widget will dynamically update the number as more people visit your site …
(Display the total number of visitors to your site on your blog sidebar)
To learn more about using the Jetpack plugin, go here:
How To Display More In-Depth Blog Stats Inside Your WordPress Admin Area
If you run a content publishing business, a collaborative blog, a directory type of site, or just want access to more in-depth statistics about your site’s pages, posts, categories, comments, tags, users, etc. , then install the plugin below to help your with your WordPress admin.
WP Show Stats is a free WordPress plugin that adds comprehensive statistics about your WordPress site for admin purposes.
The plugin is an analytics tool for bloggers. It displays charts showing blog-related usage and numbers using Google Pie Chart, Google Column Charts and Google Table allowing you to keep track of your pages, posts, categories, comments, tags, users, custom post types, etc. and improve your site’s performance or productivity.
To install the Simple Blog Stats plugin from your WordPress dashboard, go to Plugins > Add New, enter “wp show stats” into the Keyword search field (if you need help see our tutorial on installing WordPress plugins), and click on the ‘Install Now’ button …
(Install WP Show Stats plugin)
After the plugin has been installed, click ‘Activate’ …
(Activate the plugin)
After installing and activating the plugin, go to the WP Show Stats menu and select an option to view detailed stats about your selection …
(Activate the plugin)
For example, selecting WP Show Stats > WP Show Stats brings up a screen with charts displaying detailed statistics about the following areas:
Post Statistics(number of Private, Draft, Published, Trash, Scheduled, etc. posts)
Page Statistics(number of Private, Draft, Published, Trash, Scheduled, etc. pages)
User Statistics(number of Administrators, Editors, Authors, Subscribers, etc.)
Comments Statistics(number of comments marked as Moderated, Approved, Trash, Spam, etc.)
Category Statistics(number of Parent and Child categories)
Tags Statistics(number of used and unused tags)
Post Types Statistics(number of inbuilt and custom post types)
(WP Show Stats – Overview)
Selecting the other WP Show Stats menu options displays statistics that drill down further into each of these elements …
(WP Show Stats – Categories)
WP Show Stats also includes useful information about your WordPress blog like:
Posts by year
Posts by month
5 most commented posts
5 longest posts (number of words)
5 shortest posts (number of words)
Pages by year
Pages by month
5 longest pages (number of words)
5 shortest pages (number of words)
User registrations by year
User registrations by month
5 most used categories
5 less used categories
5 most used tags with usage count
5 less used tags with usage count
5 most commented posts
Comments count by year
Comments count by month
Most comments by Authors with comment count
Last 7 days comments
Total comments stats including total posts, total comments, total unique authors, total unique emails and IPs
Custom Post Types
List of all inbuilt and custom post types created
To learn more about this plugin, visit the plugin website here: WP Show Stats
Congratulations! Now you know how to display stats about your blog to visitors, registered site users, or add enhanced blog stats for admin purposes.
"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum
WordPress.com, the hosted WordPress service, offers loads of useful features to users that are lacking in the self-hosted version from WordPress.org. The self-hosted version of WordPress, however, is the preferred option for serious website owners and bloggers, as it puts them in complete control of their digital presence.
To learn more about the difference between WordPress.com and WordPress.org, see this tutorial:
The Jetpack plugin brings many of the powerful security, traffic, and customization services and handy features available on WordPress.com to self-hosted WordPress sites into a well supported and integrated solution.
The plugin is constantly being updated. It currently provides more than 40 features, and most of these are free. We will cover many of these features and tools in more detail later in this tutorial.
Important – Before Installing Jetpack
Before installing the Jetpack plugin, you will need to set up an account with WordPress.com. If you run a self-hosted WordPress website or blog, you can set up a free WordPress.com account here.
After setting up your WordPress.com account, stay logged in and complete the step-by-step tutorial below to install and configure the jetpack plugin.
For this tutorial, we’ll install the free version of the Jetpack plugin, which you can do from your WordPress dashboard. We’ll discuss some of the premium features as we go through the setup process.
Installing The Jetpack Plugin
To install the Jetpack plugin, log into your WordPress site and select Plugins > Add Plugins from your main dashboard menu (if you need help see our tutorial on installing WordPress plugins).
Normally Jetpack will display on the main screen. If not, just search for “jetpack” in the Keyword search field.
Click on the ‘Install Now’ button to install the plugin …
(Install the Jetpack plugin)
After installing the plugin, click on ‘Activate’ …
(Activate the Jetpack plugin)
After installing and activating the plugin, you will be asked to connect Jetpack to your WordPress.com account. You should have already set this up. If not, you will be asked to set up an account before you can proceed.
Click on ‘Set up Jetpack’ …
(Connect Jetpack to WordPress.com)
You will be asked to agree to sharing details between your WordPress.com account and your WordPress site. Click ‘Approve’ to continue with your plugin setup …
(Complete your plugin setup)
Jetpack will then automatically authorize your connection and complete the plugin setup …
(Wait for the plugin to complete the setup)
After the plugin completes the setup process, go ahead and choose the ‘Free’ plan for now by clicking on the ‘Start with free’ button …
(Start with the ‘Free’ plan)
This will bring you back to your WordPress admin dashboard …
(Jetpack is now installed and ready to go!)
The Jetpack plugin is now installed and ready to go.
After installation, Jetpack recommends that you activate a number of features. We recommend ignoring this recommendation and only turning on the features you need.
Jetpack – Full List Of Features
According to the plugin’s documentation, here is the full list of features Jetpack makes available to users in its toolkit:
Comments: Replaces your default comment form with a new comment system that has integrated social media login options.
Comment Likes: Allows readers to like other comments to show their agreement, approval, or appreciation.
Contact Form: Lets you add a contact form to any post or page without giving out your personal email address.
Custom CSS: Lets you customize the appearance of your theme without creating a child theme or worrying about updates overwriting your customizations.
Custom Content Types: Adds custom post types like testimonials or portfolio items to your site.
Enhanced Distribution: Allows your content to be included in the WordPress.com “firehose” of public blog content.
Extra Sidebar Widgets: Adds extra widgets you can add to your site, including RSS Links, Twitter Timelines, and Facebook Like Boxes.
Gravatar Hovercards: Make your Gravatar profile visible to your site visitors.
Google Analytics: Track your WordPress site statistics using Google Analytics. (Premium feature)
Infinite Scroll: Pulls the next posts automatically into view when readers approach the bottom of your page.
JSON API: Authorizes applications and services to securely connect to your site and allows them to use your content or offer you new functionality.
Lazy Images: Makes your pages load faster by only loading visible images, waiting to load images that are offscreen as users scroll down.
Likes: Allows readers to show their appreciation for your posts with a single click.
Markdown: Allows you to compose posts and comments with links, lists, and other styles using regular characters and punctuation marks. Markdown is used by writers and bloggers who want a quick and easy way to write rich text without having to take their hands off the keyboard.
Mobile Theme: Jetpack’s Mobile Theme offers a way to make your site mobile-friendly if your current theme is not responsive or hasn’t been updated in a while.
Monitor: Alerts you via email if your site goes down.
Notifications: Allows you to receive notifications for new comments and Likes in your admin bar and on your mobile device.
Image CDN (formerly Photon): Provides faster delivery of your images via WordPress’ own content delivery network (CDN), resulting in less load on your host and faster images for your readers.
Plugin Updates: Allows you to choose which plugins on your site should update automatically.
Post by Email: Publishes posts to your WordPress site via email using any email client.
Proofreading: Checks your spelling, grammar, and written style prior to publishing.
Protect: Protects your site from traditional and distributed brute force attacks.
Publicize: Shares new posts on social media networks automatically, or schedule future shares with custom messages.
Related Posts: Shows contextual posts your visitors might be interested in reading after they’re done reading a current post.
Security Scanning: Provides a suite of Anti-virus, malware, and threat detection for your WordPress site with automated resolution. (Premium feature)
Search: Replaces your WordPress site’s built-in search feature with advanced search functionality. (Premium feature)
SEO Tools: Optimizes your site for search engines using a suite of SEO tools. (Premium feature)
Sharing: Adds sharing buttons to your posts so readers can easily share your content on social networks, via email, etc..
Shortcode Embeds: Lets you easily embed content from a range of external services into your own content, e.g. videos from YouTube, tweets from Twitter, and other media across the web.
Single Sign On: Uses your WordPress.com credentials to register for and sign into self-hosted WordPress sites quickly and securely.
Site Backups: Automatically backs up your entire WordPress site, including all your content, data, media, and WordPress settings. (Premium feature)
Site Stats: Lets you view site visits by date, as well as your most popular pages and posts, and more.
Site Verification: Lets you verify your site for use with Google, Bing, and Pinterest and their tools.
Sitemaps: Generates a sitemap with a list of pages to be indexed by search engines like Google or Bing.
Spam Filtering: Automatically filters out spam from comments, pingbacks, and contact form submissions. (Premium feature)
Subscriptions: Allows visitors to receive notifications of your latest posts or comments.
Tiled Galleries: Displays your image galleries in three different styles: a rectangular mosaic, a square mosaic, and a circular grid.
Enabling WordPress.com log in allows users to log into your site using their WordPress.com account. This feature also provides additional authentication options …
(Jetpack WordPress.com log in)
With the feature enabled, users are presented with the option of logging into your site using their WordPress.com account or their username and password.
(WordPress Login screen with WordPress.com log in feature enabled)
As well as the options displayed in the Jetpack Settings screen, the plugin automatically turns on additional features, which can be viewed from the Jetpack Dashboard.
Using The Jetpack Dashboard
To switch to the Jetpack Dashboard, click on the ‘Dashboard’ button at the top of the Jetpack Settings screen …
(Click on the Dashboard button)
You can also access the Jetpack Dashboard screen by selecting Jetpack > Dashboard from the main WordPress menu …
(Jetpack – Dashboard menu)
This brings you to the ‘Jetpack Dashboard’ screen …
(Jetpack Dashboard screen)
Here you can view your stats, security activity, and, depending on which plugin features you have enabled, other details about your site’s performance, users, etc. …
(Jetpack Dashboard Security activity)
As well as default site protection, some of the other features worth knowing about in the Jetpack security dashboard, include:
Activate the free Downtime Monitoring feature to receive automated email notifications if your website goes down …
(Jetpack Downtime Monitoring)
Jetpack Monitor is a useful feature to have enabled, as it will not only send you an email alert (or mobile notification) if it detects that your site is down (indicating that your server is not loading your site and may be experiencing issues) …
(Jetpack Monitor sends you an alert if your site goes down!)
Jetpack Monitor also notifies you when your site is back up and lets you know how long it was down for …
(Jetpack Monitor alerts you when your site is back up!)
Jetpack checks your site every five minutes from different locations around the world and sends your notifications by email and/or via mobile. You can also customize the email address where notifications are sent to.
Jetpack has a plugin autoupdate feature, which automatically updates plugins when a new version is released …
(Jetpack plugin autoupdates)
You can enable this feature for the plugins you choose, allowing you to manage installed plugin autoupdates individually …
With Jetpack installed on your site, you can seamlessly navigate between your WordPress.com dashboard and your self-hosted WordPress dashboard …
This allows you to manage not only your Jetpack plugin features, but all of your WordPress site’s options as well …
(Manage your site from your WordPress.com dashboard)
To return to your self-hosted site’s admin dashboard, scroll down to the botton of your WordPress.com dashboard’s menu and click on ‘WP Admin’ …
(Click WP Admin to return to your site’s dashboard)
View All Modules In One Page
Because Jetpack has grown to include so many tools and features over the years, the dashboard interface has been simplified with different modules grouped into separate tabs and the plugin activates its most useful modules by default upon installation, so these don’t appear in the primary settings interface …
(Jetpack Settings screen)
To view all Jetpack modules on one page, enter the URL below into your web browser (replace “[your-site-URL]” with your actual domain) …
This brings up all modules in one page and lets you know which are active or inactive …
(Control all Jetpack modules from one page)
Installing Jetpack adds many new widgets to your widgets area …
Jetpack also adds a useful ‘Visibility’ function to all WordPress widgets …
(Jetpack adds ‘Visibility’ to all widgets)
This function lets you specify whether to display or hide widgets from your sidebar based on conditions you set for a particular category, author, user. role, tag, date, or page …
(Set conditions to show or hide widgets)
To learn more about using WordPress widgets, go here:
You can do most things you will need using the free version of the Jetpack plugin. If, however, you feel you need any of the additional premium features (e.g. security, backups, etc.), then Jetpack offers users a range of affordable upgrade plans …
Learn how to add Google Analytics to WordPress to measure and track visitor behavior & other important metrics on your website with no coding skills required …
Google Analytics is a free Google service that lets you generate and analyze detailed statistical reports about your site’s traffic and traffic sources and use this information to measure and track important metrics that will help you improve your traffic and conversions.
In this step-by-step tutorial, you will learn how to add Google Analytics to your WordPress site with no coding skills required.
How To Add Google Analytics To WordPress
Adding Google Analytics to WordPress involves three steps:
Create a Google Analytics account
Add your website details to Google Analytics
Add Google Analytics code to your WordPress site
Let’s go through each of these steps in more detail.
Create A Google Analytics Account
To create a Google Analytics account for your website, you will need to have a Google account set up. If you haven’t set up a Google account yet, go through the step-by-step tutorial below before continuing any further:
After setting up your Google Analytics account, the next step is to add your website details.
Inside your Google Analytics dashboard, click on the gear icon to access your account’s ‘Admin’ settings …
(Click to access Google Analytics Admin section)
In your Admin section, select Account > Property > Create new property to add your website details …
(Google Analytics – Create new property)
In the ‘New Property’ screen, enter your website details and click on ‘Get Tracking ID’ …
(Add your website details)
A unique ‘Tracking ID’ will be generated for your website along with additional scripts and code …
(Google Analytics generates a unique Tracking ID for your website)
Some WordPress themes let you add your Google Analytics tracking code directly into the theme templates …
(Some WordPress themes have built-in settings for Google Analytics)
If your WordPress theme has a built-in setting for adding Google Analytics, then all you need to do is log into your Google Analytics account, go to Administration > Property > Your Account > Tracking Info > Tracking Code, select and copy all of the Website Tracking code to your clipboard, then paste the code into the appropriate field inside your WordPress theme settings and click save …
(Google Analytics website tracking code)
Some WordPress themes only require adding your unique Tracking ID.
If your WordPress theme doesn’t have a built-in field for adding Google Analytics, then go through the section below to learn how to install Google Analytics into your WordPress site using a plugin.
If installing Google Analytics via the plugin shown below, you won’t even need the website tracking code, just your unique Tracking ID.
Add Google Analytics Code To WordPress
After adding your website details to Google Analytics, the next step is to install a WordPress plugin that lets you add your unique Google Analytics tracking ID to your WordPress site and begin tracking your site’s activity.
To install a WordPress plugin for Google Analytics, log into your site and go to Plugins > Add New …
(WordPress Plugins Menu > Add New)
If you need help installing WordPress plugins, see this tutorial:
In the ‘Add Plugins’ screen, type ‘analytics’ into the keyword search field …
(WordPress Plugins – Google Analytics)
As you can see, there are many plugins available that you can use to install Google Analytics into your WordPress site. You can use any plugin you like, as most will work in a similar way.
For this tutorial, we’ll use a Free WordPress plugin called Google Analytics by Share This …
Google Analytics by Share This
(Google Analytics by Share This)
Google Analytics by Share This is a free WordPress plugin that lets you add GA tracking code to your website without touching code or modifying any files. If you manage multiple WordPress sites, this plugin lets you choose which website you want to track from your WordPress admin dashboard. You can also disable GA tracking for specific user types, so that when you are browsing your own site it won’t bias your analytics.
To install this plugin from your WordPress dashboard, go to Plugins > Add Plugins and type in “analytics ShareThis” in your keyword search field.
Locate the Google Analytics by ShareThis plugin and click on ‘Install Now’ …
(Google Analytics by ShareThis – Install Now)
After the plugin has been installed, click ‘Activate’ …
(Activate the plugin)
After the plugin has been activated, you will see a new item on your dashboard menu called ‘Google Analytics’.
To configure the plugin’s settings, make sure that you are logged into your Google account, then inside your WordPress dashboard, go to Google Analytics > Settings …
(Google Analytics > Settings)
This will bring up the ‘Google Analytics – Settings’ screen …
(Google Analytics – Settings screen)
In the ‘Google Profile:’ section, click on ‘Authenticate with Google’ …
(Authenticate with Google)
This will bring up a couple of windows: one to obtain an access code from Google Analytics, and a second window to paste the access code into WordPress.
First, select the Google account associated with your Google Analytics tracking account …
(Select your Google account)
Click ‘Allow’ to give the plugin permission to access your Google Analytics data …
(Allow the plugin to access your Google Analytics data)
Copy the code generated by Google to your clipboard and paste it into the ‘Access Code:’ field, then click ‘Save Changes’ …
(Copy and paste the access code)
This will connect your Google Analytics account to your WordPress site.
Once these are connected, the ‘Google Analytics Account:’ drop-down menu in your plugin screen will display all of your Google Analytics accounts. Select the GA account you want to link to your site from the drop-down menu …
(Select the Google Analytics account to link to your site)
After selecting the account to link to your site, select any user roles you want to exclude from being tracked in your analytics and click ‘Save Changes’.
For example, tick the box next to ‘Administrator’ if you don’t want Google Analytics to count administrators logging into the site as visitors …
(Exclude tracking for roles and click save)
Your settings will be saved …
(Google Analytics settings saved)
Congratulations … Google Analytics is now installed on your site!
How To Check Visitor Activity On Your WordPress Site
After installing and configuring your Google Analytics plugin, allow 24-48 hours for Google Analytics to gather data about your site’s visitor activity …
(Allow 24-48 hours for Google Analytics data to show)
If you want to test your connection, log into your Google Analytics account, then go to Administration > Property > Your Site Account > Tracking Info > Tracking Code and click on Status > Send test traffic …
(Test your Google Analytics connection)
After clicking the button, you will see a new window open with your test results and the Status message “Test traffic sent.”
If you can see your site in the testing window, then your connection has been established and everything should be working ok …
(The connection between Google Analytics and your WordPress site has been established)
To access analytics data from your WordPress dashboard, log into your site and go to Google Analytics > Dashboard …
(Google Analytics > Dashboard)
This will bring up the ‘Google Analytics – Dashboard’ screen inside your WordPress admin area …
(Google Analytics – Dashboard screen)
Check back in a few days and you should begin to see activity data from your site in your Google Analytics account …
(Google Analytics dashboard)
And inside your WordPress site …
(Access Google Analytics data inside WordPress)
Google Analytics & WordPress – Additional Information
Here are some additional tips for using Google Analytics with WordPress:
Install The Google Analytics App
After installing and setting up Google Analytics in WordPress, we also recommend downloading and installing the Google Analytics app …
(Install the Google Analytics App)
This lets you check your site’s statistics any time from your phone …
(Check your site’s stats from your phone)
For more information about using the Google Analytics App, go here:
The better you understand the behavior of your audience and how visitors interact with your site, the more you can improve your content marketing, your sales, and your conversions.
Knowing where visitors are coming from, how long they stay on your site, what pages they are entering and leaving from, what keywords they are searching for, what devices and browsers they are accessing your site with, etc. is valuable data.
We recommend going through the articles and tutorials in the Google Analytics Help Center to learn how to use all of the features available, online tutorials, Google Analytics videos, etc. …
(Learning how to use Google Analytics will improve your sales and conversions)
Congratulations! Now you know how to install and integrate Google Analytics with your WordPress site.
"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya