how to install google analytics in wordpress
Hi guys. Today. We’re going to see how to install Google analytics on your WordPress website. I’ll be showing you how to install and use Google Analytics on your WordPress site.
What is Google Analytics
So first, let’s see. What is Google analytics? Now Google Analytics is a very simple tool that helps you see everything that’s happening on your site. So with the help of this tool, you can see how your site is performing so that you can take steps to improve it. Now. What does Google analytics show? It shows things like how many people are visiting your site? Where are they coming from? Are they coming from Google Facebook or Twitter?
|how to add google analytics to wordpress|
How much time they’re spending on your site? And then the most visited pages on your site. All these things look super exciting, right? So let’s get started first. Let’s see the website where we want to add Google analytics. Here it is. So this is the site that I built with WordPress. But if you don’t have a WordPress website, you can easily create one by reading this article.
Create an account in Google analytics
Now to add Google analytics to your website. We are going to do two parts. The first part is to create an account in Google Analytics. So to create your account Let’s go here. And then type Google analytics and press enter. Now click the first link And it will take you to this page now to create your account click setup for free. And now you need to enter an account name. Now in Google analytics One account can have multiple websites. To enter any name you want. I am going to enter techie leaf. Once you have entered the account name just scroll down and click next.
- No, as we want to install analytics on our website, let’s click web.
- And then click next.
- And now you need to enter the details of your website. So just enter your website’s name.
- And here enter your website’s URL, which you want to drag with Google Analytics. So to get the URL, let’s go to our website.
- Copy this URL
- And then go back.
- And paste it here.
- Once you enter the URL click create.
- So now we have successfully created our Google Analytics account.
Once it rated your account, we can go to part 2 of adding Google analytics to our website, which is to connect this account with our WordPress website. So guys connect this account with WordPress.
Installing a plugin in WordPress
We are going to do three steps. The first step is to install the Google plugin on a WordPress website. So to install the plug-in, let’s go to our dashboard now go to plugins. And click add new Now search for a plug-in called site kit by Google And you will get this plug-in. This is the plug-in that will help us connect our Google analytics account to our website. So to This plug-in let’s get installed.
And then click activate. So now we have successfully installed the plug-in on our site.
Setting up Google Plugin
Once you’ve installed the plug-in we can go to the next step of connecting Google analytics to our website, which is to set up the Google plugin. So to set it up click Start setup.
- it will take you to this page now click sign in.
- And then sign in to your Google account.
- Now click allow.
- And then click proceed.
- Now to set up the plug-in again click allow.
- And then finally click add site.
- Now click go to my dashboard.
- So now we have successfully set up a plug-in.
Connecting Google analytics account with the plugin
Once you’ve set up the plug-in we can now go to the final step which is to connect the Google Analytics account which we created with our website.
- So to connect it just go to analytics and click connect service.
- And then sign in to your Google account.
- Now click allow.
- And it will take you to this page nowhere you can see that we have got the same account information that we created before.
- No to connect this account with our website.
- Let’s click configure.
- And as you can see our Google analytics will now be connected to our WordPress website.
- So now we have successfully connected Google analytics with our website.
- So this means Google Analytics is now working on a site.
- So to check it, let’s go to Google Analytics. Click real-time
- And then click the overview.
- Nokia, you can see that. It’s a zero, which means we have got zero Vistas right now. But now if we click here.
- And open a new window.
- And then go to our website.
You can see that it changes to one mister. So this means our site is successfully connected to Google analytics and we can now measure the performance of our site. Once you’ve connected Google analytics with your site Google starts capturing a site’s data and you will be able to see it in the next few days.
Analyzing Performance details in Google analytics
So next. Let’s see how you can see the performance details and how you can use them. So after a few days, if you go back to your WordPress dashboard and then go to site kit. And click Analytics You can see that we can get these details about our website. Now. Let’s look at these details one by one now. The first number which is here is the number of users who have visited your site in the last 28 days and here you can see the graph of those users for each day of the month and here you can see the average time. They are spending on your site. Now if we scroll down on this section, you can see the pages on your site which are getting the most number of views. So this page has been listed around 800 times in the last month next if we scroll down here you can see how people are coming to your site. So as you can see, we have 3 different traffic sources here direct organic and referral. Direct other users who visit your site directly By typing your website address on their browser.
The next one is called organic. Now. These are the users who came to your site after searching on search engines like Google. For example, if a user types A website’s name on Google. And press enter.
And the last one is called a referral. These are the users who came by clicking the link from another site.
These are the three different sources of traffic. And here you can see the percentage of each source. Now if you want to get full information about your website You can click here to go to the Google analytics website where you can see the full statistics. So this is how you can know the source of traffic on your website.
Analyzing Site Performance in Google search results
Next. Let’s see how your site is performing on the Google search results. Once you set up the Google site kit plug-in on your site your site will also be connected to the Google search console now with the help of the Google search console. You can see things like the position at which your site is appearing on Google and which keywords people are searching for before reaching your site. So this will give you information about how your site is performing on Google. So to check that let’s click search console.
Here you will be able to see the performance of your site on Google search. The first one is total clicks this shows. The number of times people have clicked on your website from Google Search. Next is the total Impressions. This is the number of times your website has appeared on Google search results.
If you publish more useful content on your website, you will get more Impressions which will increase the number of clicks or visits you get from Google. Next is called average CTR also called a click-through rate. So this number shows out of every hundred people who see your site on Google search. How many clicks on your side? So if this number is higher, it means that more people are clicking on your site from the search results. To improve this number and to get more people to click on your link. You need to make a post title and description more attractive on Google search. To learn how to control title and description on your site you can read this article.
So this is what CTR means next we have an average position. This is the average position at which your site appears on the Google search results for all the keywords you have run for next if you want to see the Search terms for which your content is ranking just scroll down, and here you can see the exact Search terms which people are using to find your site now to get more details about this. You can click here to go to the Google search console. So this is how you can see the performance of your site on Google search. Now instead of seeing your web site’s performance in numbers. If you want to see how people are actually using your site, like which part of the page they are seeing and where are they clicking on your site?
|Analyzing Site Performance in Google search results|
You can get these features by using an Analytics tool called smart look. Now once you add this tool and when people start visiting your website, the activity will be recorded as videos like this. And now if you click play on any of these videos You can see the exact things which the user did on your website. So here you can see that a Vista is going to our blog. And then read our blog post.
Now, this tool is very useful to understand how visitors interact with your website so that you can take steps to make your site better. To get this tool for your website. Just click the link https://www.smartlook.com and it will give you 10 days free trial of this tool. So that’s it guys now, you know how to add Google analytics to your WordPress website and make sure you subscribe to big queries to get more articles like this one. Thanks for reading. I’ll see you in the next Article. Take care. Bye. Bye.