
How Do You Add Google Analytics to Yoast?
Carlos GarciaPublished How Do You Add Google Analytics to Yoast?
If you have gone looking for a Google Analytics box inside Yoast SEO and come up empty, you are not missing a setting. The box is genuinely not there.
Most of the advice still ranking for this question describes a plugin that was retired years ago, or a settings field that no longer accepts a tracking code.
Following it wastes an afternoon and ends with no data in your reports.
The honest answer in 2026 has two halves. Yoast itself does not install Analytics on your site.
But Yoast can now show you Analytics data inside its own dashboard, through a different route than the one the old guides describe.
What Is the Short Answer?
You do not add Google Analytics to Yoast by pasting a tracking code into Yoast. That capability does not exist in the plugin.
Instead you do two separate things. You get the Analytics tag onto your WordPress site, and then you connect that Analytics property to Yoast SEO so the numbers appear in Yoast's dashboard.
Since Yoast SEO 26.7, released on 7 January 2026, the connection half is handled by Site Kit by Google.
Yoast's integration with Site Kit is now available to all Yoast customers on WordPress.
Site Kit is Google's own WordPress plugin. It installs the Analytics tag for you and feeds the data back, which is why it replaces the old paste-a-code workflow entirely.
Not sure whether your analytics are even recording correctly? Get a free SEO audit and we will check your tracking setup along with the rest of your site.
Free audit
Where do you stand in AI search?
A manual SEO + AI search audit of your site: how ChatGPT, Gemini, Perplexity and Claude read and cite it today, and what to fix first. Report within 48 hours, no credit card.
Get my free auditOr have it all done: AI SEO services, $999 once
What Happened to Google Analytics by Yoast?
For several years Yoast published a separate plugin called Google Analytics by Yoast.
It did exactly what people still search for: you authenticated, and it injected the tracking snippet.
That plugin was discontinued. Yoast handed the product off and stopped maintaining it, and the Analytics features never moved into the main Yoast SEO plugin.
Why the old instructions still rank
Search results do not expire when a product does. Articles written in 2016 still describe the Yoast Analytics settings screen in confident detail.
Worse, several of those pages have been lightly refreshed with a new year in the title without anyone checking whether the screen still exists. The instructions look current and are not.
What the plugin does have
Yoast SEO does include a site verification area, sometimes labelled webmaster tools. It accepts verification codes for services like Google Search Console.
This is the field people most often mistake for an Analytics setting. A verification code proves you own the site.
It does not measure anything, and pasting a Measurement ID there will not track a single pageview.
That distinction matters because the two codes look superficially similar. If you are unsure which string you are holding, our guide on where to find the Google Analytics tracking code walks through what each one is for.
How Do You Connect Google Analytics to Yoast, Step by Step?
The modern path runs through Site Kit. Here is the order that avoids duplicate tags, which is the single most common way this goes wrong.
- Check what is already tracking your site. Before installing anything, look at whether a tag is already present from a theme option, Google Tag Manager, or another plugin. Two tags firing at once inflates your numbers.
- Create or identify your GA4 property. In Google Analytics, confirm you have a property and a web data stream for this specific domain. Note which property you intend to use.
- Install Site Kit by Google. Add it from the WordPress plugin directory like any other plugin and activate it.
- Run the Site Kit setup wizard. It will ask you to sign in with the Google account that owns your Analytics and Search Console access, then grant permissions.
- Connect the Analytics service specifically. Site Kit handles several Google services, and Analytics is a separate connection inside it. Select the GA4 property and data stream you identified in step two.
- Let Site Kit place the tag, or point it at your existing one. If you already had a working tag, tell Site Kit to use that rather than adding its own. If you had none, let it install one.
- Open the Yoast SEO dashboard. With Site Kit connected, Yoast surfaces the data alongside its own SEO and readability scores, including organic sessions from Analytics and impressions, clicks, average click-through rate and average position from Search Console.
- Verify in real time. Load your site in a private window and check Analytics for the visit. If nothing appears within a few minutes, the tag is not firing and no dashboard will save you.
Tracking in place but traffic still flat? Request a free SEO audit and see which pages are actually costing you visibility.
When Is This Worth Doing?
The Yoast and Site Kit combination earns its place when you want one screen that ties content quality to performance.
Seeing a post's readability score next to its organic sessions and its average position is genuinely useful.
It shortens the loop between noticing a weak page and deciding what to change.
It also suits sites where one person handles both writing and reporting.
Switching between the WordPress editor, Analytics and Search Console all day has a real cost in attention.
When to skip it
If you already have a reporting habit you trust, adding another dashboard is noise. Site Kit's view is deliberately simplified and will not replace a proper Analytics exploration.
If your site is on a non-WordPress platform, none of this applies. Yoast SEO is a WordPress plugin, and the Site Kit integration is scoped to WordPress.
And if you run complex tracking through Tag Manager, with custom events and consent logic, let Tag Manager keep ownership of the tag. Use Site Kit for reading data, not for placing it.
What Are the Limitations?
The biggest one is scope. The numbers Yoast shows you through Site Kit are a summary, not the full Analytics surface.
Expect headline figures such as organic sessions and the Search Console metrics named above.
Do not expect funnels, custom dimensions, audience segments, or anything you would build in an exploration.
Permissions are the second constraint. The data only appears if you sign in with a Google account that genuinely has access to the Analytics property and the Search Console property for that exact domain.
A mismatched domain is a frequent trip-up. A property for the bare domain will not report on a site serving from a different subdomain, and the dashboard will sit stubbornly empty with no obvious explanation.
Duplicate tags are the third. Because Site Kit can place a tag, and because something else may already have placed one, it is easy to end up double-counting every session.
Finally, this is a moving target. Yoast shipped the Site Kit integration in January 2026 and both plugins update frequently, so check the current Yoast SEO documentation before assuming a specific screen looks the way it does today.
Want to know whether your analytics are telling you the truth? Start with a free audit and we will flag duplicate tags and tracking gaps.
How Does This Compare to the Alternatives?
Site Kit is not the only way to get Analytics onto a WordPress site, and it is worth knowing when a different tool wins.
- Google Tag Manager. The right answer for anything complicated. Custom events, consent management, multiple tags and conditional firing all belong here. The cost is a steeper learning curve and no reporting inside WordPress.
- A dedicated analytics plugin. Several plugins specialise in bringing richer Analytics reports into the WordPress admin, often with ecommerce or form tracking built in. They go deeper than Site Kit and usually cost money for the useful tiers.
- Pasting the tag into your theme or a header plugin. Simple, free and fragile. A theme update can wipe it, and you get no reporting in WordPress at all. Acceptable for a small brochure site, risky for anything you depend on.
- Site Kit plus Yoast. The middle path. Least setup effort, data visible next to your content scores, and no new subscription. Shallow by design.
For most Yoast users writing content regularly, the last option is the correct default. Reach for Tag Manager the moment your tracking needs branching logic.
One thing worth weighing is who maintains the connection. Site Kit is built by Google, so the Analytics side tends to track Google's own changes quickly, which is not always true of third-party plugins.
Choosing between tracking setups and want a second opinion? Get a free SEO audit and we will tell you what your current configuration is actually capturing.
A note on what you are really optimising
It is worth saying plainly that none of these choices affect your rankings. Installing Analytics measures your site; it does not improve it.
The value is in what you do with the numbers. A dashboard you actually open beats a sophisticated setup you never look at.
That is the real argument for keeping the reporting close to the editor.
The shorter the distance between seeing a number and editing the page, the more often the edit happens.
Final Thoughts
The question has a frustrating answer, because the thing people are looking for was removed rather than moved.
There is no Google Analytics field in Yoast SEO, and there has not been one for a long time.
What exists instead is better: Site Kit by Google installs the tag and hands the data to Yoast, which shows it beside the content scores you are already working with. Two plugins, one dashboard, no code pasted anywhere.
If you take one thing from this, make it the duplicate-tag check.
More sites are reporting inflated numbers from two simultaneous tags than are reporting nothing at all, and the second problem is much easier to notice than the first.
Once the data is flowing and you trust it, the next question is what it is telling you about which pages deserve your attention.
Want this done for you?
SEO Stuff gets businesses cited by ChatGPT, Gemini, Perplexity and Claude, and ranking in Google. Start with the free audit, a call, or the package.
See where you stand
A free, manual SEO + AI search audit of your site, with a report within 48 hours. No credit card, no sales call.
Get my free auditTalk it through
A free 15-minute call with the founder about whether AI search is a meaningful opportunity for your business.
Free strategy callHave it done
The Done-For-You Package: audit, 10 pages of content, 3 DR50+ placements, dashboard. $999 once, delivered in 21 business days.
See the package

