How to Setup Google Analytics in WordPress
Setup Google Analytics in WordPress.
For every website owner, it is extremely important to know how visitors use the page, how they came to the page, and how to encourage them to back on site. The best way to find out about it is by visiting your report, and this is what Google Analytics does for you. Here I will explain how to add Google Analytics to your WordPress page.
Here you can read how to make WordPress site if you still do not have one.
To add Google Analytics to your page, you need to go to https://analytics.google.com and sign up for the service.
If you are signed in to your Google Account, you will see Google Analytics Solutions login screen and the few steps you need to do to add this tool to your site. If you had not signed in to your Google Account, you will get a login screen or create a new Google Account screen.
Click on SIGN IN in top right corner.
Click on Analytics and that will take us to Sing up page. This page we will see only for the first time when we do basic settings.
Click on Sing Up
You’ll now get the form to adjust the Google Analytics order. Make sure the Website option is selected at the top.
In the Account Name field, you can enter any name (your name, company name, or site name). You can use Account Name later to add more sites in that field. In the field Website Name enter the name of your site and enter the URL address in Website URL. You can choose Industry Category if you want. In the Reporting Time Zone field, select your country and time.
Scroll down to customize your data sharing settings. When you’re finished selecting your options, you can click the Get Tracking ID button at the bottom of the page.
In the popup window that appears, you can review Google Analytics Terms of Service. Accept the Terms of Service by clicking I Accept.
That’s it! You’re now signed up for Google Analytics. Your site has now been successfully set up and you have a tracking ID for your site and tracking code that you need to set up on each page of your site.
Normally, you’d have to insert your Google Analytics tracking code into your WordPress site. You can add Global Site Tag (gtag.js) into the <HEAD> in your haeder.php file or you can use WordPress Plugin. There are many of Google Analytic plugins on the web. Free and Paid. In this tutorial, we will use WordPress plugin. This is the easiest way.
Google Analytics for WordPress by MonsterInsights
Go to your WordPress site and log in to the Admin Panel, then click on Plugins> Add New. In the Search Plugins field, enter google analytics and press Enter. Among the first in the list should be the Google Analytics for WordPress by MonsterInsights. Click Install Now and Activate the plugin.
After activation, the plugin will add a new menu item labeled Insights to your WordPress admin menu. You need to visit Insights » Settings to configure the plugin settings.
Click on Authenticate with your Google account. This will redirect you to Google accounts where you will be asked to sign in or select a Google account if you are already signed in.
Now you will be asked to allow MonsterInsights to access your Google Analytics account.
Click ALLOW. Now we must select the profile you want to track. You need to select your website here and then click on the Complete authentication button to continue.
You will be back to your WordPress site. And that’s it. Your WordPress site is connected to Google Analytic. Good thing with Google Analytics for WordPress by MonsterInsights is that you can track visitors from WordPress dashboard. Just click Insights » Reports. Google Analytics sometimes need time before showing your stats.
You can go also go to the Tracking tab to customize the tracking settings based on your needs:
Tracking in Google Analytic
Now let’s back to our Google Analytic page to see whats happening here. Clicking on Home icon we will go to this page:
On Home page we see Audience Overview for last week, Active Users, Trafic Channel, from which states they coming and more.
You can view the history view of the visit in the Audience section. In the Acquisition section, you can see which source visitors come to your site, and in the Behavior section, you will get a report on what pages your visitor’s visit. It is up to you now to review and analyze the data.