How to Set Up Google Site Kit in WordPress

By WP Saviour •  Updated: 03/04/21 •  10 min read

Google Website Package is a model new search engine optimisation/analytics plugin developed by Google for WordPress. It allows you to join Google’s on-line advertising companies resembling Search Console, Google Analytics, PageSpeed Insights, Google AdSense, Google Optimize and Google Tag Supervisor – on to your WordPress website.

As soon as related, you’ll be capable of view search, analytics, PageSpeed efficiency and different information, instantly in your WordPress dashboard, and individually in posts and pages. That is tremendous useful in gaining page-level insights instantly in your WordPress dashboard.

On this tutorial, we’ll present you set up and configure Google Website Package in WordPress and join the 2 hottest Google companies to your WordPress dashboard – i.e. Google Search Console and Google Analytics.

Fast observe: Website Package refers to Google’s companies as “properties”. Thus we’ve used the phrases “Google companies” and “properties” interchangeably within the the rest of the article.

Overview of Google Website Package in WordPress

You will need to perceive that Google Website Package’s major job is to attach (or hyperlink) your WordPress website to the corresponding Google companies resembling Search Console and Analytics.

Ideally, you must have beforehand configured each Search Console and Google Analytics in your WordPress website. If not, then we suggest you first setup each Google Analytics and Search Console earlier than putting in Google Website Package.

Whereas Google Website Package can create a brand new account for some properties resembling Search Console, you must chorus from doing so. We suggest you manually arrange each Analytics and Search Console, for the reason that handbook technique provides you a a lot better understanding of how advertising analytics works.

Right here’s a fast overview of what you’ll be doing:

  1. Manually set up the Google Website Package plugin.
  2. Create and hyperlink a brand new shopper configuration: A easy click-click-copy-paste job, the place Google does many of the heavy lifting for you.
  3. Hyperlink properties (Google companies) resembling Google Search Console and Google Analytics to Website Package.

Let’s get began with the tutorial!

The way to Manually Set up the Google Website Package WordPress plugin

Google introduced Website Package for WordPress in WordCamp US 2018, and a 12 months later, they launched the developer preview on June 2019. You’ll be able to obtain the plugin from the announcement put up and supply suggestions on Github.

As soon as completed, you must see a display just like the one above.

Configuring Google Website Package in WordPress

On this step, we’ll configure the Google Website Package plugin in WordPress. Consider this step as constructing a freeway between your WordPress website and Google’s companies. When you construct the freeway, you possibly can join Website Package to all supported properties resembling Search Console and Analytics. By default, when you create the shopper configuration, your Search Console information will likely be related to Website Package.

Understanding the OAuth Shopper Configuration

Technically talking, we’ll be making a shopper configuration in the Google Developer Console. To create a shopper configuration, you’ll be creating a brand new set of OAuth Credentials utilizing your Google Cloud account.

The perfect half – this complete course of is automated. You don’t have to manually create a Google Cloud account, add a cost technique or cope with any superior configuration. Google Website Package routinely takes care of this for you.

We’ve verified this automated course of each with a model new Google account and an present major Google account.

This OAuth shopper (shopper configuration) would be the freeway on which you’ll entry Google’s companies. And so as to take action, you’ll must log into the newly created shopper utilizing your major Google account. This account ought to have entry to Analytics and Search Console information that you simply’d wish to hook up with Google Website Package.

As we’ve promised originally of this tutorial, creating the shopper configuration in Google Website Package plugin is a click-click-copy-paste matter. This course of can even routinely hyperlink your Google Search Console information to your WordPress website. In case you do not need your website added to the Search Console, Website Package will routinely create one for you.

Right here’s do it:

Step 1: First, log in to your major Google account in the identical browser. As a result of some restrictions on Google’s finish, you should disable your ad-blocker (if any) for the rest of this tutorial.


Step 2: Subsequent, head over to your Website Package web page in your WordPress admin dashboard and click on on the highlighted hyperlink.


Step 3: The Website Package plugin will routinely fetch your WordPress website info and go it on to the shopper configuration web page within the Google Developer Console dashboard. For instance, the configuration information within the screenshot above is gathered from my weblog.

Tip: Make sure that the phrase “Demo” shouldn’t be talked about within the Mission Identify, because it a disallowed phrase within the Google Cloud console.

Click on on Get OAuth Credentials to proceed.


Step 4: Website Package will now create a brand new undertaking in your Google Cloud account, utilizing the small print out of your WordPress website. As soon as completed, you’ll get a shopper configuration code, as proven above. Copy the code to your clipboard and click on on Executed.


Step 5: Paste the code within the Shopper configuration textual content field in your WordPress dashboard and click on on Proceed.


Step 6: Now, you’ll have to register together with your major Google account (one which has entry to Analytics and different information). Click on on Signal In With Google to proceed.


Step 7: Click on in your major Google account (screenshot above) and grant the required permissions (screenshot under).



Step 8: Assessment the permissions on this step and be sure that all checkboxes are enabled. Click on on Enable to proceed to the ultimate step.


Step 9: Website Package will routinely detect your linked website information in your Google Search Console account and hyperlink it to your WordPress weblog.

Word: As we’ve talked about earlier, if you happen to do not need a Search Console account, Google Website Package will routinely create one for you and confirm and hyperlink your WordPress website to the account.


Google Search Console information related to Website Package in WordPress

Now you can view your Google Search Console information instantly in your WordPress dashboard, due to Website Package.


Web page-level Search Console information with Website Package

You can even view particular person put up and page-level natural search visitors information with Website Package.

And that’s how one can hyperlink your Google Search Console information to your WordPress website utilizing the Website Package plugin.

Search Console is without doubt one of the many Google properties that Website Package can hyperlink to your WordPress website. On this part, we’ll present you view Google Analytics information to your WordPress dashboard utilizing Website Package.

Word that in contrast to Search Console, if you happen to do not need a Google Analytics account, you have to manually create one and add the monitoring code to your WordPress website. Website Package can’t routinely create a brand new Google Analytics account for you.

Comply with these steps to hyperlink your Google Analytics account to Website Package.


Step 1: Go to your WordPress dashboard → Website Package → Settings web page and choose the Join Extra Providers tab.


Step 2: This display tells you that you simply’ll get an “Unverified App” warning once you attempt to login together with your Google account.

Since this can be a Developer Preview model of the Website Package plugin, there will likely be some minor points such because the “unverified website” error throughout the setup course of. There’s no want to fret about it as we’ve proven you navigate these errors. Furthermore, there aren’t any identified safety points within the Website Package plugin, and likewise – we’re utilizing it in our websites!

Click on on Proceed to go to the subsequent step.


Step 3: Choose your major Google account that has entry to Google Analytics. Ideally, this must be the identical Google account that you simply used within the Search Console configuration.


Step 4: That is the warning display we talked about earlier. Click on on Superior as proven within the screenshot above to toggle the superior choices.


Step 5: Click on on “Go to (unsafe)” (which in your case will likely be yoursitenamecom) to proceed to the subsequent step.


Step 6: Grant all of the permissions required by Website Package to make use of entry your Google Analytics account.


Step 7: Assessment the permissions and be sure that all of the checkboxes are enabled. Click on on Enable to proceed to the subsequent step.


Step 8: Google Website Package will now return to the WordPress dashboard the place you’ll be requested to hyperlink your Analytics property. Assuming that you simply’ve beforehand arrange Google Analytics in your WordPress website, Website Package will routinely choose the proper Google Analytics property.

Click on on Configure Analytics to proceed to the ultimate step.


Google Analytics dashboard view in Website Package

Google Analytics is now efficiently linked to Google Website Package in WordPress. You’ll be able to view your Analytics and Search Console information within the Website Package dashboard.

Effectively completed!

Troubleshooting Google Website Package for WordPress

Generally Google Website Package would possibly present a warning message resembling “Situation Accessing Knowledge” in your WordPress dashboard. You would wish to re-authenticate your Google account as soon as once more.


Google account re-authentication message in Website Package

Word that I had encountered this difficulty twice in my weblog when getting ready this tutorial. Nonetheless, Website Package was capable of pull all of the Analytics and Search Console information and show it in my WordPress dashboard.

I wouldn’t fear an excessive amount of about this difficulty since, in spite of everything, this can be a Developer Preview model of the Website Package plugin. As soon as Google releases the official model, these points will likely be sorted, together with the potential of a smoother setup course of.

Last Ideas on Google Website Package for WordPress

WordPress’ ubiquity and market dominance have made goliaths like Google to launch official plugins for the CMS. At the moment we’re a extra open, extra inclusive integration of a wide range of third-party companies inside WordPress, which in the end advantages the end-user.

Google’s Website Package is a superb instance of this inclusive integration. The Developer Preview model of the plugin helps Google companies resembling Search Console, Analytics, AdSense, PageSpeed Insights, Optimize and Tag Supervisor.

Going ahead, it’d be nice to see deeper integrations with YouTube Analytics, Google AdWords and Fb Advertisements (hope you’re listening Fb builders!), since a number of on-line companies spend appreciable quantities of cash on advertisements for paid content material advertising and promotion.

gp-5450434 as-8240043

WP Saviour

I am a WordPress specialist. My mission is to help you create beautiful websites with ease!