Do you know about google analytics? Google Analytics is a powerful way to monitor your site’s stats. If you are a new user, this guide will help you on How to install Google Analytics on a WordPress blog and its setup.
Most of the websites are using this awesome service to track the blog/website traffic status. If you are not using this analytics service, install on your blog immediately.
Nowadays, more websites are not using the Analytics service to measure their traffic. So, we are going to explain in a stepwise manner from a beginner’s point of view.
What is Google Analytics?
Google Analytics is one of the Free services from Google. Google launched this service in November 2005 after acquiring it from the Urchin Software Corporation. Now Google Analytics is the most popular web analytics service in the web world.
Google Analytics is offering two different additional versions. They are Google Analytics 360 (Google Analytics Premium) for enterprise target base and, Google Analytics for Mobile Apps (Target for gathering usage data from iOS and Android). They are subscription-based services.
This service introduced in April 2011 with multiple dashboard features.
On September 29, 2011, It launched Real-time analytics.
It helps you to know the insight about visitors currently on the site.
But now Google analytics is providing free services to normal blogs to track web statistics. Normal blogs mean self-hosted WordPress blogs, Blogspot blogs, and some other free blogging platforms.
With this service, users can have up to 100 site profiles with one website to each profile. But it is limited to sites that have traffic of limited than 5 million page views per month.
Google Analytics is one of the tops and free service from Google. This service generates detailed statistics about your blog/website’s traffic and traffic sources.
This analytics also provides information on measures conversions and sales.
Very popular service and helpful service for all bloggers and webmasters.
Google analytics service offers two versions, Basic (it is completely free) version and Premium version (with fee).
- It tracks visitors from all referrers including Search engines, social networks, direct visits, and referring sites.
- It tracks display advertising, pay-per-click networks, email marketing, and digital collateral.
Before installing the above plugin, you need to set up a Google Analytics account for your blog. The below steps help you in this account setup.
How to set up a Google Analytics account for the first time?
Step 1: Create a Google Analytics account
This is the time to create a new Google Analytics account. To do this, visit the Google Analytics SignUp page.
After clicking on the link, you will get the screen below. If you are having a Google or Gmail account, you can use that directly to sign in. If you do not have any Gmail account, create one Gmail account, then use the login details here.
Step 2: Signup for new Google Analytics Account
After entering your login details of Google account or Gmail, you will get the Signup button for a new Google Analytics account. Now click on the button.
Step 3: Enter Your Website details
Now choose a Web site. Then fill in the details in Account Name, Website Name, Website URL, Industry Category, and Reporting time zone in Setting up your account form.
Once you have entered the information, click on Get Tracking ID and click on I Agree on the button by agreeing to the terms and conditions of Google analytics.
Step 4: Copy Tracking code and ID
Now you will be redirected to your Google Analytics tracking code. Just copy the Website tracking code and Tracking ID in a separate Notepad.
Do not close this page. You may need to revisit this page. Open your blog in a separate tab and login to your WordPress dashboard.
There are more methods are used to integrate your newly created Google Analytics tracking code into your WordPress blog.
Your New google analytics account is ready. Now you need to know How to install Google Analytics in WordPress.
How to Install Google Analytics in WordPress Blogs?
There are so many different methods are using to set up Google Analytics in WordPress blogs.
To install Google Analytics in your WordPress Blog, here I am going to explain this installation process in three different methods. Choose one method and start the installation as per your needs and requirements.
- How to integrate Google analytics without a plugin?
- How to install Google analytics with the plugin?
How to integrate Google Analytics to WordPress without a plugin?
How to integrate Google analytics without a plugin? In WordPress blogs, this is a basic and manual method. Before starting this, you need to backup your WordPress theme. If anything wrong with doing this method, you can easily revert it back. If you misplaced the code in the code editing part, the whole site will be down. So theme backup is compulsory. Just follow the steps carefully.
Step 1: Get the Google Analytics Tracking code
- Login into your Google Analytics account and select your website for which you need the tracking code.
- Choose Admin from the left sidebar
- Click on Tracking Info > Tracking code from the Property column
- Now you will get the Google Analytics Tracking code under the Website Tracking Select the code by pressing Ctrl+A in the box, then press Ctrl + C. Now save the code in Notepad separately.
Step 2: Add the code in Header.php file
- Login to your WordPress dashboard and go to Appearance > Editor from the left sidebar.
- Now click on the Header.php file on the right-side
- Now paste the Tracking code just after the <body> tag
- Then click the Update file. That’s it.
Now your website will start tracking by Google analytics code. Because you have added Google analytics WordPress in WordPress without a plugin.
How to install Google analytics with the plugin?
Google Analytics WordPress plugin installation and setup is very easy than the first method. To do this you need to choose the best plugin either Free or Premium. I listed a few of the WordPress plugins above.
Personally, I am using those plugins in my blogs and getting great insights for my blogs without logging from my WordPress dashboard.
Check the Google Analytics WordPress Plugins list to understand the functions and pick one from the list as per your blog needs.
Here I am going to explain how to install Google Analytics with a WordPress plugin by taking the MonsterInsights plugin. Because this is the best and most popular plugin and reached more than 1 million active installations. This is a simple plugin and easy to use from beginner to expert. In this blog, I am using Google Analytics Dashboard for WordPress plugin.
The MonsterInsights plugin has two versions. They are the Free version and MonsterInsights Pro version. In the pro version E-commerce tracking, Ad tracking, Author tracking features are additional features.
Step 1: Install and Activate the Plugin
Installation and activation of the plugin are very easy. To do this,
- Go to Plugins > Add new at a left side of the column from your WordPress dashboard
- Now search with the word “Google Analytics for WordPress by MonsterInsights” in the plugin directory search bar
You will get the plugin on the result page, then click on Install then click to Activate.
Step 2: Authenticate your Google Analytics account
- After the plugin activation, you will get the message at the top of your dashboard. To set up your Google account with this plugin, just click the link Google analytics settings.
- It redirects to the Insights > Setting page and starts the plugin configuration.
- On the settings page, click on Authenticate with your Google account, to connect Google Analytics account
Now you will get Authentication popup to for account authentication. Click on Next
- Then click on Click to get Google code
- Here your google account will ask permission in a separate pop-up window. Just click on Allow.
- The popup will show a line of code. Just copy that code.
- Paste the code in the MonsterInsights pop-up then click Next to continue.
- Your google account authenticated with the MonsterInsights plugin. Now select the profile from the Analytics Profile and choose your Website name from the drop-down menu and then click Next and done.
Now you have successfully installed and set up Google Analytics on your WordPress site. The plugin will start collecting google analytics data from your Google Analytics account. To display the results takes some time.
After a few hours, your google analytics report will be shown inside of your WordPress dashboard.
To see this report, visit the Insights > Reports page to check out the data.
How to add Google Analytics Tracking Code to Blogger?
Setting up a Google Analytics account for a Blogspot blog is very easy. There are two major steps.
- Step 1: Create a Google Analytics account
- Step 2: Add Google Analytics Property ID
- Step 3: Add Google Analytics Tracking Code in Blogger template
Step 1: Create a Google Analytics Account
- Visit the Google Analytics home page
- Click on “Create an Account”
- Enter your Blog’s Address, Account Name, Country, and Time Zone.
- Agree with the terms and conditions by a checkmark in the “Yes, I agree to the above terms and conditions” checkbox.
- Then the “Create Account” button.
- In the next step find the Web “Property ID” and the Get Google Tracking Code. Copy the ID and google tracking code and store it in notepad. In the same window copy the Tracking Code in the note pad.
Step 2: Add Google Analytics Property ID
- Login to Blogger account Dashboard.
- Go for Settings > Other > Google Analytics.
- Paste the Web Property ID collected from the above method and paste into the “Analytics Web Property ID box” then Save Settings.
- Now the time to add Tracking code in the blogger template
Step 3: How to Install the Google Analytics Tracking Code
Where to put Google analytics code in the Blogger blog?
- From your Blogger dashboard, go for Blogger > Template > Edit HTML
- First Backup your Blog template before adding the tracking code.
- Now Search for </body> tag in the box by pressing “Ctrl + F”.
- Paste your Google Analytics Tracking code just above the </body> tag.
- Save the Template
- That’s it.
Adding Google Analytics to the blog / Site is the basic concept in this tutorial.
Now you have successfully finished the method of Setup and installing Google analytics ID and Google Analytics Tracking Code in your blogger blog.
Then wait for 24 hours to get your blog traffic report in Google Analytics.
How to check your Blog reports on the Google analytics website?
After complete the above steps such as install or integration method of Google Analytics with your blog, if you need to check your blog statistics or reports on official analytics, follow the below steps.
Step 1: Log in to your Google Analytics account with your credentials.
Step 2: You will be redirected to the built-in Google analytics report dashboard. It has an Audience, Acquisition, Behaviour, and Conversions in the left column.
- Audience: It helps you to understand your visitors or users
- Acquisition: It helps you know the user’s entry path
- Behavior: It helps you know the user activity after land on your blog
- Conversion: The reports show about your Goals is it completed or not
These are the basic places to know the additional details of your users or visitor’s entry to their activity on your blog.
This article helps you to learn How to install Google analytics in the WordPress blog with Plugins and without Plugin.
- Rank Math WordPress SEO plugin and its Settings in 2020
- How to Build Your WordPress Website Quickly with Elementor Plugin?
- What is Cloudflare? How to Connect Free CloudFlare CDN to your WordPress Blog?
- How to Submit Your WordPress XML Sitemap to all Search Engines ?
- How to use Mailchimp for Email Marketing in 2020? (Beginners Guide)
If you like this article please share it with your friends on social media. You can find me on Facebook, Twitter, and Google plus for more additional information.