WEBFI-WordPress-How to Install Google Analytics for WordPress

Google Analytics is a powerful tool for learning about your site. It can seem confusing with the steps they give you to install Google Analytics on to your site but our video should simplify the process. In this video, we will show you how to use Google analytics for your WordPress site.

This video brought to you by MonsterInsights, take a look at their site here:

For the discount, use our code: WPBVIP


►Written Tutorial – How to Install Google Analytics for WordPress

–Top Resources–

Use Promo Code WPBVIP

►Best WordPress Contact Form Plugin
►Best WordPress Analytics Plugin
►Best Lead Generation Plugin
►Best WordPress SEO Plugin
►Best Landing Page Builder for WordPress
►Best WordPress Giveaway Plugin

–Related Videos–

►WordPress Tutorial – How to Make a WordPress Website for Beginners
►WordPress Gutenberg Tutorial: How to Easily Work With the Block Editor
►What is SEO and How Does it Work?
►How to Install a WordPress Theme

00:00 Intro
00:30 How to create a Google Analytics account
02:40 Method 1: How to add Google Analytics to WordPress with MonsterInsights
05:07 Method 2: Adding Google Analytics using Insert Headers and Footers plugin
06:28 Difference between MonsterInsights and Insert Headers and Footers plugins
06:45 Method 2: Adding Google Analytics code directly to your theme

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Follow us on Twitter:

Check out our website for more WordPress Tutorials

Summary of this Tutorial:

Ensure you are signed up to Google Analytics, you can sign up using the link below:

You will need to sign in with your Gmail account and will be prompted to sign up.

Once you do you will want to insert an account name, website name, URL, and category for Google Analytics to know what to look for.

With your signup complete we will go back to your WordPress site and install and activate the MonsterInsights plugin.



With the plugin active you will want to go under Insights, Settings to configure the plugin settings.

There will be a button on this page to click with the title Authenticate with your Google account which brings up the authentication steps.

Following the steps, you will click to get your Google code and add it to the textbox and you will have successfully activated Google Analytics on your site.

If you would prefer a different plugin option you could go with Insert Headers and Footers.

Insert Headers and footers

When you sign up with Google Analytics they offer a script that they ask you to add to your header, you can copy that code and under Settings, Insert Headers and Footers you would paste the code into the header area and save your changes.

If you do not want either of those methods we would recommend taking a look at our written article for the code method to add it to your site. #WordPress #WordPressTutorial #WordPressTips



  • Noura Girdle Slimming on January 25, 2021

    nice explaination.but one question to be clear.method one we just simply install pluggin and doesnt need to copy script given??

  • Emmanuel Yohan Lazzara on January 29, 2021

    Thanks for this, Unfortunately, it seems this is already outdated, unless I am getting something wrong.

  • dj lu on January 31, 2021

    Okay so how do you download monsterinsight goggle analytics plugin without a business plan on wordpress?

  • Countertalk London on February 6, 2021

    SO helpful! Thank you so much!!

  • Eric Brust on February 14, 2021

    Thank you – very helpful. I used method #1 with MonsterInsights – and – #2 with headers and footers…. is that bad to use both?

  • Darren Haley on February 18, 2021

    Thank you 🙂

  • Wayne Bisso on February 21, 2021

    Thanks for making this pretty easy. I did have to uninstall and re-install the monster plug in twice before it actually grabbed the google account. But it worked.

  • Rod Bowder on February 24, 2021

    Superb. Thank you.

  • Mil Nguyen on February 25, 2021

    Only WordPress account that is upgraded to Business Plan can add this plugin right?

  • Anthony Dwayne on February 27, 2021

    Thank you 🙂

  • Cedes Vibes on March 17, 2021

    I love when videos are actually helpful and straight to the point. Thank you for this straight to the point no fluff video!

  • Romana on March 18, 2021

    Thank you so much! I do have a question. I see way less visitors on Google Analytics than I have comments to my posts. Also on Cloudflare it shows that I have much more visitors than are shown through Google Analytics. What could be the reason for that?

  • Farzad Z. on March 26, 2021

    Great video, easy to follow, clear structure and no unnecessary information. Code worked leaving out the first line. Value added to youtube, thanks

  • Stephen Homoki on March 28, 2021

    Method 1 didn't work. 48 hours and Analytics still doesn't track. I checked the source code and Analytics was not input in it. Is it because I use a non-us tracking code?

  • MIkiko Murdoch on April 13, 2021

    Thank you for sharing how to do this. Much easier than typing the code into the <HEAD> section or themes.

  • Wise One Beats on April 20, 2021

    Best tutorial I've seen for how to do this, thanks a ton!

  • M B on April 28, 2021

    This was excellent and so simple. Thank you!

  • Food Trails on May 11, 2021

    This was very helpful. Thanks a lot!

  • Dorin Andrei on June 3, 2021

    Great tutoral! Thanks

  • Matthew Overstrom on June 5, 2021

    Great video

  • Arom Wattana on June 11, 2021

    Thank you

  • Andrew DiMicelli on June 11, 2021

    Why use this plugin instead of Google Site Kit?

  • Brandon Mitchell on June 16, 2021

    At 5:25 when we finish with monster insights, does that enable the google analytics website to allow us to track the information as well through Google platform?

  • Will Benavides on June 21, 2021

    Yes, Thank you! Great explanation, very clear and to the point 🙂

  • Bruno Calcagno on June 22, 2021

    I followed your third method and it erased all of my function.php!! How can I restore it?

  • sankyeat on June 23, 2021

    Hi, great video as always! Just a quick question for anyone who may know the answer to this:-
    I'm a web developer and I have multiple clients. Can I use my Gmail account and have the clients listed as multiple subaccounts in Google Analytics or do I have to use their Gmail account for their website? Is there a downside for picking one or the other?

  • Spoken Impact on July 1, 2021

    Thank you! Very thorough and clear explanation of options. Good job!

  • Andy Pagano on July 1, 2021

    Monster Insights worked best for me. This is very helpful. Thank you!

  • Wildlife in Dorset on July 3, 2021


  • Buffy Crosby on July 9, 2021

    Where is the installing google analytics function we get from your page? I get how to set up and get the code in my google account but you lost me on the "paste the function from your set up google analytics page part"(7 minute or so mark). Great series. This was so helpful.

  • The Lonely Giraffe on July 22, 2021

    If I use the "Headers and footer" plugin to insert the google analytics script then deactivate the plugin after will it erase the google analytics scrip?

  • Erick Adrián on July 26, 2021

    The only thing that works for me is the first option, when I try the 2nd option and click save, it takes me to a page in my website saying it has not been found.

  • Jude Mark on August 6, 2021

    Love it thank you!

  • tanekquajoy on August 23, 2021

    Thank you

  • Simon DW on September 1, 2021

    Thanks Lady, also nice glasses

  • Lakshya Kohli on September 21, 2021

    when you manually install the analytic code, aren't you supposed to paste it in the head.?

  • Ayush Bothra on September 28, 2021

    can we use both monsterinsights & insert header footer at the same time

  • Coolest Nerd Ever on October 4, 2021

    Thank you so much for these options. This was a very easy video to follow. Much appreciated. Do each of these options ensure that the global site tag is on every page of a website?

  • Rebeca da Costa on October 19, 2021

    I am new to the blogging world, and I have been searching everywhere for information on how to set up Google analytics. Every blog post and video I found before this one was too complicated for someone who is just starting. Thank you for making this simple and easy to understand! This is the first video I watched that didn't use any complicated language and showed every step in detail. Thank you, thank you, thank you!

  • ზურა პაპიძე on October 30, 2021

    thanks ♥

  • Liam Miller on October 31, 2021

    Thank you very much for the tutorial

  • Find-Your-Style on November 3, 2021

    Great video, thank you very much

  • Wild11Turkey on November 24, 2021

    great video. Thanks. I completed the set up with first option (monster insight). Does this mean my site is registered with google? I had been trying to verify ownership of my site with google. I am not sure I accomplished that or if I need to

  • steven plyler on December 4, 2021

    Easy to follow your excellent instructions – worked on my first effort, thanks as you make it easy so I will check out other videos and services you offer.

  • Hasnain Khan on December 9, 2021

    I have a multisite wordpress website. English and urdu language then how am i gonna do it can anyone help me

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy




Mon-Sun from 8:00 am /4:00 pm USA-ET

WhatsApp us

Small Business – WordPress – CPanel – Hosting

© Webfinet Affordable Private Small Business Solutions All Rights Reserved 2021 - Powered By