SEO Powersuite Best SEO software

How to integrate Google analytic with your WordPress Blog?

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 that are not using the Analytics service to measure their traffic. So, we are going to explain in a stepwise manner as 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 from the Urchin Software Corporation. Now the Google analytics is the most popular web analytics service on 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 are 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 which have a 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).

Importance:

  • 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 Google Analytics SignUp page.

After clicking on the link, you will get the screen like below. If you are having any 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.

google analytics signup

 

Step 2: Signup for new Google Analytics Account

After entering your login details of Google account or Gmail, you will get Signup button for a new Google analytics account. Now click on the button.

Google analytics sign up

 

Step 3: Enter Your Website details

Now choose a Web site. Then fill the details in Account Name, Website Name, Website URL, Industry category and Reporting time zone in Setting up your account form.

setup new analytics account for blog

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.

Google analytics tracking ID and Javascript

Do not close this page. You may need to revisit this page. Open your blog in separate tab and login into 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 setup 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 by 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 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 columnTracking code
  • 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. Appearance Editor panel
  • Now click on Header.php file on the right-side
  • Now paste the Tracking code just after the <body> tagadd code in Theme Header file
  • Then click the Update file. That’s it.

Now your website will start tracking by Google analytics code.  Because you have added Google analytics in 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 one 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 WordPress plugin by taking 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 experts. 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 pro version E-commerce tracking, Ads 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 How to Install WordPress Plugins from Dashboard
  • Now search with the word “Google Analytics for WordPress by MonsterInsights” in the plugin directory search barInstall Google analytics for wordpress by MonsterInsights plugin
  • You will get the plugin in 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 setup your Google account with this plugin, just click the link Google analytics settings.
  • It redirects to Insights > Setting page and starts the plugin configuration.
  • In the settings page, click on Authenticate with your Google account, to connect Google analytics accountauthenticate with your google account
  • Now you will get Authentication popup to for account authentication. Click on NextGA authentication
  • Then click on Click to get Google codeclick for Google Code
  • Here your google account will ask the permission in a separate pop-up window. Just click on Allow.Accept the GA Permission
  • 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.authenticate with line code
  • Your google account authenticated with 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.select profile in Google analytics

Now you have successfully installed and setup Google Analytics on your WordPress site. The plugin will start collecting google analytics data from your Google Analytics account. To display the results it takes some time.Plugin setup done

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.

Google analytics reports on MonsterInsights dashboard

 

 


 

How to add Google Analytics Tracking Code to Blogger?

To set up a Google analytics account for 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

  1. Visit the Google Analytics home page
  2. Click on “Create an Account
  3. Enter your Blog’s Address, Account name, Country and Time Zone.
  4. Agree with the terms and conditions by check mark in “Yes, I agree to the above terms and conditions” checkbox.
  5. Then “Create Account” button.
  6. In the next step find the Web “Property ID” and the Get Google Tracking Code. Copy the ID and google tracking code and store in notepad. In the same window copy the Tracking Code in note pad.

How to Add Google Analytics Tracking Code in Blogger Blog

Step 2: Add Google Analytics Property ID

  1. Login to Blogger account Dashboard.
  2. Go for Settings > Other > Google Analytics.How to Add Google Analytics Tracking Code in Blogger Blog
  3. Paste the Web Property ID collected from the above method and paste in the “Analytics Web Property ID box” then Save Settings.
  4. Now the time to add Tracking code in blogger template

Step 3: How to Install the Google Analytics Tracking Code

Where to put Google analytics code in Blogger blog?

  1. From your Blogger dashboard, go for Blogger > Template > Edit HTML
    How to Add Google analytics Tracking Code in Blogger Blog
    Add Google Analytics Tracking Code in the Blogger blog HTML page
  2. First Backup your Blog template before adding the tracking code.
  3. Now Search for </body> tag in the box by pressing “Ctrl + F”.
  4. Paste your Google Analytics Tracking code just above the </body> tag.
  5. Save the Template
  6. That’s it.

Adding of 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 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: Login 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.

Bloggingden Google analytics report

  • 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 visitors entry to their activity on your blog.

 

Conclusion:

This article helps you to learn How to install Google analytics in the WordPress blog with Plugins or without Plugin.

If you like this article please share with your friends on social media. You can find me on Facebook, Twitter, and Google plus for more additional information.

Are you searching for How to install Google Analytics on WordPress blog? This guide helps how to integrate the Google Analytics Plugin in a proper way.

Summer Sale

  • Turbo Servers
  • Speed Optimization
  • Free CDN
  • Free SSL
  • 99.99% Uptime
  • Guru Crew Support

Related Posts

About the Author

Satish Kumar Ithamsetty

Satish Kumar Ithamsetty

Satish Kumar Ithamsetty is a full-time blogger since 2009. This blog is to support every blogger & Marketer. He helps 100+ new bloggers and 10,000+ readers by this blog. He writes on Blogging, SEO, SMO, etc. Facebook | Twitter | YouTube | Read More About Me

Are you Ready to Start Blogging?

Subscribe and get Free updates on Blogging, Traffic increase tips, WordPress tutorials, and Affiliate marketing. Get Free ebook on “Ultimate WordPress Blogging 2019”

Disclosure: This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

1 thought on “How to integrate Google analytic with your WordPress Blog?”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

21 Shares
Share18
Tweet
Pin
Share3
WhatsApp