Track AIOSEO keyphrases in GA4

How to Track AIOSEO Focus Keyphrases in Google Analytics

AIOSEO can tell you exactly how well a page is optimized for its target keyphrase — the placement, the density, the meta tags, all scored in real time. What it can’t tell you is whether that keyphrase is actually pulling its weight once the page goes live.

You could hit a perfect score on a post and still have no idea if that keyword is bringing in visitors, holding their attention, or leading to a sale. Optimization and performance are two different numbers, and they live in two different places.

Closing that gap means tracking your focus keyphrases inside Google Analytics, where traffic, engagement, and conversions all show up tied to the exact term you optimized for.

In this guide, we’ll cover both: what a focus keyphrase actually is, and the setup that turns it into a report showing which ones are actually working.

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

In This Article:

What Is a Focus Keyphrase and Why It Matters

A focus keyphrase is the primary search term you want a specific page or post to rank for. It’s the phrase that tells search engines — and you — what that page is actually about.

Most SEO plugins let you enter this term while you write, then score your content against it. That score is a proxy for one question: if someone searches this exact phrase, does this page deserve to show up?

A focus keyphrase earns its place in your workflow for a few reasons:

  • Guides content creation: It keeps your content strategy anchored to what your audience is actually searching for, instead of what you assume they want
  • Improves search visibility: Search engines can better understand your page’s primary topic and match it to the right queries
  • Aligns content with intent: Choosing a keyphrase forces you to check that your content actually matches what someone typing that phrase wants to find
  • Provides measurable results: A defined target gives you something concrete to track instead of a vague sense that a page is “doing fine”

Not every keyphrase is worth building a page around. Before you commit to one, it helps to weigh it against a few criteria.

  • Search volume: Enough people need to be searching the term for it to be worth targeting
  • Competition: The term should be realistic for your site’s current authority, not dominated entirely by pages you can’t out-rank yet
  • Search intent: The phrase should match what your page delivers — informational, transactional, or navigational
  • Business alignment: It should connect to something you actually offer, not just traffic for its own sake

A keyphrase you can’t realistically compete for is worse than no keyphrase at all. Before locking one in, it’s worth checking who’s currently ranking for it — if the top 10 results are all high-authority sites in your niche, a more specific long-tail variation is usually the safer bet.

This isn’t just a best practice — it shows up in the data. Semrush’s ranking factors study found that text relevance, meaning how closely a page’s content matches the intent behind a search term, had the strongest correlation with high rankings of any factor it measured, appearing in over 90% of top 10 results.

In AIOSEO, this whole process lives in the Keywords section under the Optimization tab in your block editor sidebar.

WordPress block editor with the AIOSEO Optimization tab open in the sidebar, showing the Keywords section with a keyword added and its individual score

Once you add a keyphrase there, AIOSEO scores it through its TruSEO engine — checking things like whether the keyword shows up in your introduction, how it’s distributed through the body, and whether it’s reflected in your meta description, image alt text, and SEO title.

You’re not limited to one keyphrase per page, either. AIOSEO lets you add multiple keywords to the same post, and each one gets its own score and its own improvement checklist.

That score tells you how well the page is built around the term. It doesn’t tell you what happens after someone finds it — that part happens in Google Analytics.

How to Track AIOSEO Focus Keyphrases (Step-by-Step)

This setup pulls your AIOSEO keyphrases into Google Analytics as a custom dimension, so you can see exactly how each one is performing.

If you’re running Rank Math or SEOPress instead, we’ve got dedicated walkthroughs for tracking Rank Math focus keywords and SEOPress target keywords too.

I’ll use MonsterInsights Pro, the WordPress analytics plugin, for this, since it turns what would otherwise be a manual GA4 setup into a few clicks inside WordPress.

Step 1: Install MonsterInsights Pro

Custom dimension tracking is a Pro-level feature, so start by heading to the MonsterInsights pricing page and choosing the Pro plan or higher.

Once you’ve signed up, download the plugin file from your account dashboard, then go to Plugins » Add New in WordPress, click Upload Plugin, and select the file. Install and activate it like you would any other plugin.

Step 2: Connect MonsterInsights to Google Analytics

Next, head to Insights » Settings and click Connect MonsterInsights. Follow the setup wizard to link your Google Analytics account — it typically takes a couple of minutes.

If you haven’t connected MonsterInsights before, our full guide on how to add Google Analytics to WordPress walks through the entire wizard in detail.

Step 3: Install and Configure the Custom Dimensions Addon

This is the addon that actually pulls your AIOSEO keyphrase into GA4. Head to Insights » Addons, find the Dimensions card, and toggle it on to activate it.

MonsterInsights Addons page with the Dimensions addon card and its activation toggle switch

Once it’s active, go to Insights » Settings » Conversions and scroll down to the Custom Dimensions section.

Open the Type dropdown and select Focus Keyphrase, then click Add New Custom Dimension to save it.

MonsterInsights Custom Dimensions Type dropdown open, showing Focus Keyphrase and TruSeo Score as selectable options once All in One SEO is installed

While you’re there, it’s worth repeating the process for TruSeo Score as a second dimension. That way you can see a page’s optimization score right alongside its actual performance, not just its target keyword.

For more on how these data points work once they’re flowing in, see our beginner’s guide to custom dimensions in Google Analytics.

See Every AIOSEO Keyphrase’s Performance in One Dashboard

Now that your Custom Dimensions are set up, MonsterInsights Pro gives you a built-in report for keyphrase performance — so you can check what’s working right inside WordPress instead of building a custom report in GA4 every time.

Compare MonsterInsights Plans

Step 4: View the Custom Dimensions Report

Once data starts coming in, head to Insights » Reports » Dimensions to see your AIOSEO focus keyphrase performance directly inside WordPress.

This card shows how many pageviews each of your focus keyphrases has generated in the selected timeframe — a fast way to spot which topics are already working without leaving your dashboard.

MonsterInsights Dimensions report Focus Keyword card showing top focus keyphrases by pageviews

That same keyphrase data is also flowing into Google Analytics as a custom dimension, which opens up a lot more ways to slice it.

Step 5: View AIOSEO Focus Keyphrases in Google Analytics

You can build a custom report in GA4 that shows almost anything you want to know about your AIOSEO focus keyphrases — which ones are attracting the most engaged sessions, how visitors found that content, and how long they stuck around.

The easiest way to explore this is with a custom report. If you haven’t built one before, check out our GA4 custom reports tutorial first.

To build a report like the one below, add the Focus Keyphrase dimension along with Page location, then pull in Sessions, Views, and Engaged sessions as your metrics.

Depending on how the dimension was named when it was set up, you may see it listed as “Aioseo Focus Keyphrase,” like in the example below:

GA4 Explore custom report combining the Aioseo Focus Keyphrase custom dimension with Page location, Sessions, Views, and Engaged sessions

From here, I’d add other dimensions like session source/medium or author, and other metrics like engagement rate or entrances, to see what else the data turns up.

The Bottom Line

A focus keyphrase only matters if it’s actually earning traffic and engagement. AIOSEO tells you what you’re targeting and how well the page is built around it — tracking it as a custom dimension in GA4 tells you whether that targeting is paying off.

See how custom dimensions work in Google Analytics →

FAQs About AIOSEO Focus Keyphrases

What is a focus keyphrase in AIOSEO?

A focus keyphrase in AIOSEO is the primary search term you want a specific page to rank for. You add it in the Keywords section under the Optimization tab in the block editor, and AIOSEO’s TruSEO engine scores your content against it in real time.

What is TruSEO score and how does it relate to the focus keyphrase?

TruSEO score is AIOSEO’s on-page analysis engine, and it’s what generates the score you see for each focus keyphrase you add. It checks keyword placement, density, and distribution alongside broader factors like meta tags and readability, then gives you a checklist for improving that specific keyphrase’s score.

How many focus keyphrases can I set per page in AIOSEO?

AIOSEO supports multiple focus keyphrases on the same page, and each one gets scored individually with its own improvement checklist. I’d still recommend starting with one well-researched primary keyphrase and only adding more if they’re closely related to your content — spreading a page across too many unrelated terms tends to dilute all of them.

How do I track my AIOSEO focus keyphrase in Google Analytics?

The most direct way is with MonsterInsights’ Custom Dimensions addon, which pulls your AIOSEO focus keyphrase straight into your GA4 reports. Once it’s configured, you can see pageviews, sessions, and engagement for every keyphrase without leaving your WordPress dashboard.

Is a focus keyphrase the same as a keyword?

Not quite. A keyword is any search term related to your content, while a focus keyphrase is the specific term you’ve deliberately chosen to optimize a page around. Every focus keyphrase is a keyword, but not every keyword your page ranks for will be one you set as a focus keyphrase.

Start Tracking Every Focus Keyphrase You Publish

You’ve seen how the setup works — the only step left is turning it on. MonsterInsights Pro includes the Custom Dimensions addon, so every AIOSEO keyphrase you publish gets tracked automatically from that point forward, no manual GA4 setup required.

Get MonsterInsights Pro

That’s it! I hope this article helped you see which of your AIOSEO focus keyphrases are actually earning traffic. If you liked this article, check out the following beginner-friendly guides:

Follow us on Twitter, Facebook, and YouTube for more Google Analytics tips.

How useful was this post?

Click on the stars to rate

Average rating 0.0/5

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.