How to enable author tracking in WordPress

Want to enable author tracking on your WordPress site?

If you run a multi-author WordPress site, you’re probably wondering which of your authors is writing the most popular posts. This information can help you increase traffic and grow your website.

In this article, we will share how to enable author tracking in WordPress.

Why enable author tracking in WordPress?

If you run a multi-author blog, you should enable author tracking in WordPress. It allows you to collect data about how each author’s posts are performing on your WordPress site.

You can then promote high-performing authors and offer extra help to those who are struggling.

It’s also a great way to find out whose posts are driving the most traffic and which articles are attracting readers.

For example, you may have an author who writes great posts that get a lot of visitors. However, those visitors may not stay on your site. This can lead to higher returns, fewer page views and less time spent on the website.

After collecting this data, you can make informed decisions about improving your editorial workflow and offering more advice and help to struggling writers. You can find users from the first author’s posts to the writers you want to get more attention.

That said, let’s see how you can enable author tracking on your website.

Setting up author tracking in WordPress

The easiest way to track the most popular authors on WordPress is to use MonsterInsights. It is the best Analytics plugin for WordPress and helps you set up Google Analytics without editing any code.


MonsterInsights offers a Dimensions plugin that allows you to define custom dimensions in Google Analytics.

It helps you track additional information in Google Analytics that is not available by default. This includes tracking authors, most popular post types, categories, tags, and more.

Note that you will need at least the MonsterInsights Pro plan as it includes the custom size feature. There is also a MonsterInsights Lite version that you can use for free.

First, you need to install and activate the MonsterInsights app. For more details, see our step-by-step guide on how to install a WordPress plugin.

After activation, you will see the welcome screen. Go ahead and click the Run Wizard button.

Run the installation wizard

Next, you can follow the controller’s instructions to connect Google Analytics to your website. For more details, see our guide on how to install Google Analytics in WordPress.

Once you’re signed in, Google Analytics will start tracking all of your website traffic.

With MonsterInsights, you can easily set up duplicate tracking and start data collection in your Google Analytics 4 (GA4) property. GA4 is the latest version of Analytics and will replace Universal Analytics on July 1, 2023.

After this date, you will not be able to track site traffic in your Universal Analytics property. That’s why this is the best time to switch to Google Analytics 4.

Custom author sizing for accurate tracking

Now that everything is up and running, let’s tell Google Analytics to start tracking authors by adding a custom dimension.

You should start by visiting Insights » Add-ons p. From here, you need to go to the “Dimensions” add-on and click the “Install” button.

Activate the size plugin

The app will now be installed and activated automatically.

Next, you can go to Insights » Settings page and go to the Conversions tab.

MonsterInsights Settings - Conversions Tab

From here, just scroll down a bit and you’ll see the Custom Dimensions box.

Here you can add a new custom size. Go ahead and click the Add New Custom Dimension button.

Add a new custom size

Next, you need to select the “Author” size from the drop-down menu.

In addition, you should also add the ID that will be filled for you.

In the drop-down menu, select Author

Don’t forget to click the button to save your settings.

Now that you’ve defined custom dimensions in MonsterInsights, the next step is to do the same in Google Analytics.

We’ll go through the steps for Universal Analytics and Google Analytics 4.

Add custom metrics to Universal Analytics

First, you can visit the Google Analytics website and open your website properties. Make sure this property ID starts with “UA”.

Select a site property

From here, you need to click on the “Admin” button in the bottom left corner of the screen.

Then you can choose Custom Definitions » Custom Dimensions Under the Property column.

Select custom sizes

Next, you need to add a new dimension.

Just click the “+ New Custom Size” button.

Click the new custom size

On the next screen, enter the name “Author” and leave the rest of the details unchanged.

After that, click the “Generate” button and Google Analytics will save it.

Add the author to the dimension name

Next, you will see some code on the next screen.

You don’t have to do anything because MonsterInsights handles everything for you. Just click Done to continue.

Click the done button

Next, you’ll see your “Author” custom size listed in the table with the “Index” column.

Make sure the value in the Index column is the same as the ID assigned to the specific author measure in MonsterInsights.

View your copyright size

If not, don’t worry because you can edit the custom size in MonsterInsights.

Now let’s see how you can configure custom dimensions in GA4.

Add a custom dimension to Google Analytics 4

First, you need to go to your Google Analytics 4 property.

After logging in, go to the Configure tab on the left.

Go to setup

Next, you can click on the Custom Definitions option from the menu that appears.

After that, go ahead and click the Create Custom Dimensions button.

Create a new custom dimension

A window will slide to the right where you need to enter the details of your customized dimensions.

Enter a name for your measurement to get started. There is also an option to add a description.

From here you can set the Scope to “Event” and then enter an event parameter like “author_tracking”. The event parameter is what Google Analytics 4 will use to show your size in reports.

Enter the measurement details in ga4

After entering this information, don’t forget to click the “Save” button.

You have successfully set up author tracking on your WordPress site. Now, let’s get to the fun part of viewing the reports and finding out how your authors are doing.

Viewing your author tracking reports

After your site collects traffic data, you can view your top authors in the WordPress dashboard.

Just go to Insights » Reports page and go to the Dimensions tab.

View the most popular author report

From here, you can see the top authors that are generating the most traffic to your site.

Now you can use this data to improve your editorial workflow and promote content from high-performing authors. For example, you can display their content as popular posts and get more page views.

Additionally, the information will help you see which writers are struggling so you can work with them and increase traffic to their blog posts.

We hope this article helped you learn how to enable author tracking in WordPress. You can also see our guide on how to open an online store and must-have WordPress plugins.

If you enjoyed this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us Twitter: and Facebook.

The post How to Enable Author Tracking in WordPress appeared first on WPBeginner.

Leave a Reply