Do you want to display your popular posts list on your WordPress website?
Nowadays all the websites are using Google Analytics and I think you also use Google Analytics on your site, right?
And as you know, Google Analytics collects lots of data about your users and your site.
One of their features shows the top popular article on your website. But only you can see those articles From now I’ll use the features to show the top 5 popular post lists of your site to the users.
After using it, you could boost your pageviews, lower the bounce rate, and increase user engagement all at once.
Here in this article, I’ll show you how to show your top popular posts list on your website using Google Analytics. So, let’s start.
How to show popular posts list on WordPress
You’ll need MosterInsights to show popular posts lists anywhere on your site. MonsterInsights is the best Google Analytics plugin for WordPress. Read my MonsterInsights review to know more about MonsterInsights.
Note: You’ll need the MonsterInsights Pro or higher plan (their free plan is not enough to do such things). So, click the link below to buy MonsterInsights and get the maximum discount possible:
Step-1. Setup the Post Type custom dimension:
First, we are going to create a Post Type custom dimension. So, to setup the Post Type custom dimension, first, install the Custom Dimension addon.
Go to Insights > Addons and install and activate the Custom Dimension addon.
Now navigate to Insights > Settings > Conversions and click Add new custom dimension on the Custom Dimension area.
With MonsterInsights, you can choose several custom dimension types. They are:
- Logged in: It allows you to track whether your visitors are logged in to your site or not.
- User ID: You can track each logged-in user’s activity by setting the User ID as a custom dimension.
- Post Type: Track the performance of each post on your site. For this tutorial, we will need to set this as a custom dimension.
- Author: You can track which is your best performing author.
- Category: Track your best-worked categories.
- Published at: You can track the performance of your posts based on when it was published on your site.
- Tags: It tracks your tags and shows you detailed insights about that tag.
- SEO Score: If you’re using the Yoast plugin for SEO, you can analyze the SEO score of your posts and pages in Google Analytics.
- Focus Keyword: If you’re using the Yoast plugin for SEO, you can analyze the Focus Keywords of your posts and pages in Google Analytics.
But you’ll need to choose Post Type from the dropdown menu. Once you are done selecting, click the Save Changes button.
Now you have setup the Post Type custom dimension on your website, now it’s time to set it up on Google Analytics.
To do that, login into your Google Analytics account and click on the Admin tab in your left panel.
On the Admin page, click Custom Definitions and then Custom Dimensions.
You’ll see a table where you can click + New Custom Dimension. Simply click on that.
Here, enter Post Type. After entering the dimension name, click Create. You don’t have to change any of the other settings.
After creating your custom dimension, you can see a page where you’ll need to click Done.
Next, match your custom dimension’s Index number corresponding to the custom dimension’s ID in the MonsterInsights settings. If not, then correct the number and save the changes.
Now you have successfully setup your Post Type custom dimension.
Step-2. Set which posts are display
MonsterInsights offers three options to choose which posts to show. And they are:
- Comments: You can sort your popular posts based on comments.
- SharedCount: Sort by the number of shares.
- Curated: Or manually select your posts.
But here we are going to automatically add the top 5 posts, so select Curated and enable the box called Add Top 5 Posts From Google Analytics and click Check data.
From now it will automatically add your top 5 posts from the last 30 days.
If you want, you can choose Curated and select some of your posts you want to show.
Now you can show your top 5 popular posts list anywhere on your site.
If you setup Google Adsense on your website, then you can maximize your revenue by tracking your Google Adsense ads on Google Analytics. Read our article to learn more about how to track your Google ads on Google Analytics.
That’s it in this article. Please share it with your friends and family. Also, If you have any doubt, don’t forget to ask in the comment section below.