How to Install Google Analytics in WordPress for Beginners

How to Install Google Analytics in WordPress for Beginners

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.



For the discount, use our code: WPBVIP


►Written Tutorial – How to Install Google Analytics for WordPress
►How to Track Link Clicks and Button Clicks in WordPress Easy Way –

–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

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

00:00 Intro
00:53 Set up Google Analtyics property
02:32 Method 1 Install MonsterInsights and connect Google Analytics with WordPress
06:21 Method 2 Install Headers and Footers plugin
07:42 Method 3 add code to theme
02:48 check theme or plugins for issues

Posted in ,


  1. JoeGator23 on January 31, 2022 at 2:47 pm

    Thanks for the video. My toughest challenge with Google Analytics is that is slows my PageSpeedInsites down and affects site rankings negatively. Scores are coming in around 80-84 compared to +95 before the GA install.
    I’ve tried tuts that recommend deferring the code on the initial loading, but it does nothing to help. Many web designers recommend not using GA for regular sites unless you have a solid need to use it; stating that you can get plenty of data from your hosting account statistics anyway.
    I’d appreciate any advice or tips that you may have, surely I’m not the only one with this issue.

    • WPBeginner - WordPress Tutorials on February 1, 2022 at 1:15 pm

      We would normally recommend using Google Analytics as your hosting’s analytics can give you a decent idea of what is happening with your audience but, as a site owner it is more important to know what search engines think of your site instead of your hosting provider.

      For speeding up your site with the code active, we would recommend taking a look at our article below:

Leave a Comment

You must be logged in to post a comment.

How to S.T.A.R.T.

an Online Business

Learn how to choose a profitable business model, get the funding you need, pick a market, refine your plan and launch your business!

Free 5 Day Mini Course

Let me build your blog and it will be...





Save Time. Save Money.