How to Install Google Analytics into Your WordPress (2019 Edition)
This tutorial shall be divided into 2 important parts:
Part 1: Sign Up for Google Analytics
Part 2: Installing Google Analytics (Plugin) into Your Blog
======================================================
======================================================
Visit https://analytics.google.com to sign up for your Google Analytics account.
On the next screen, you will be given choice to choose between a website or mobile app. Make sure you select " website ".
After that you need to enter account name (It will be the Google Analytics profile name for this website), Website name, website’s URL, country, and the time zone. Example can be seen as follows:
Check all the boxes for Data Sharing Service and click on Get Tracking ID button as seen below:
Check all the boxes for Google Analytics Terms of Service and select "Malaysia" as country.
Scroll down and click on " I Agree " button.
Now you will be presented with your Google Analytics tracking code. You can copy this tracking code because you will need to enter it in your WordPress site. We need this code to place it inside MonsterInsights plugin (FREE version).
The Tracking ID is in this format:
UA - XXXXXXXXX - Y
===========================================================================
===========================================================================
The first thing you need to do is install and activate the MonsterInsights plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation of MonsterInsights plugin, it will add a new menu item labeled ‘Insights’ to your WordPress admin menu. You need to visit** Insights » Settings** to configure the plugin settings.
On this screen, you need to click on ‘ Authenticate with your Google account ’ button to connect Google Analytics with your WordPress site.
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.
Click on ‘Next’ to continue.
Now you will be asked to allow MonsterInsights to access your Google Analytics account.
Click on the Allow button to proceed with the next step.
The final step is to select the profile you want to track. You need to select your website here and then click on the ‘ Complete Connection ’ button to continue.
You will be now redirected back to your WordPress site.
That’s all you have successfully installed and setup Google Analytics on your WordPress site.
Remember, it will take Google Analytics sometime before showing your stats. If you own a high traffic website, you can obtain your website analytics data within 24 to 48 hours.
To view your website analytics, simply visit Insights » Reports page to checkout a quick overview of your analytics data.
Part 1: Sign Up for Google Analytics
Part 2: Installing Google Analytics (Plugin) into Your Blog
======================================================
Part 1 : Sign Up for Google Analytics
======================================================
Visit https://analytics.google.com to sign up for your Google Analytics account.
On the next screen, you will be given choice to choose between a website or mobile app. Make sure you select " website ".
After that you need to enter account name (It will be the Google Analytics profile name for this website), Website name, website’s URL, country, and the time zone. Example can be seen as follows:
Check all the boxes for Data Sharing Service and click on Get Tracking ID button as seen below:
Check all the boxes for Google Analytics Terms of Service and select "Malaysia" as country.
Scroll down and click on " I Agree " button.
Now you will be presented with your Google Analytics tracking code. You can copy this tracking code because you will need to enter it in your WordPress site. We need this code to place it inside MonsterInsights plugin (FREE version).
The Tracking ID is in this format:
UA - XXXXXXXXX - Y
===========================================================================
Part 2: Installing Google Analytics (Plugin) into Your Blog
===========================================================================
The first thing you need to do is install and activate the MonsterInsights plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation of MonsterInsights plugin, it will add a new menu item labeled ‘Insights’ to your WordPress admin menu. You need to visit** Insights » Settings** to configure the plugin settings.
On this screen, you need to click on ‘ Authenticate with your Google account ’ button to connect Google Analytics with your WordPress site.
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.
Click on ‘Next’ to continue.
Now you will be asked to allow MonsterInsights to access your Google Analytics account.
Click on the Allow button to proceed with the next step.
The final step is to select the profile you want to track. You need to select your website here and then click on the ‘ Complete Connection ’ button to continue.
You will be now redirected back to your WordPress site.
That’s all you have successfully installed and setup Google Analytics on your WordPress site.
Remember, it will take Google Analytics sometime before showing your stats. If you own a high traffic website, you can obtain your website analytics data within 24 to 48 hours.
To view your website analytics, simply visit Insights » Reports page to checkout a quick overview of your analytics data.
Updated on: 08/01/2019
Thank you!