How to Install Google Analytics for WordPress

#wordpress #Webhosting #websites #videos #learning and much more

Lightning fast hosting for a shockingly low price! 50% off GoDaddy Hosting plans

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

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

Text version of this tutorial:

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.


Google Analytics Dashboard Plugin for WordPress by MonsterInsights


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.


18 thoughts on “How to Install Google Analytics for WordPress”

  1. Thank you so much… I was stuck with another plugin and your training was excellent. I am now set up with Monster Insights! Subbed, commented and liked…will be back again!

  2. Great video. Thank you.
    Just an observation, in the last method:
    I needed to delete the first lineof your code: "<?php" in order to star using Google Analytics. Is it ok?

  3. That's the problem I was talking about, if you have multiple sites, it doesn't always show every url. Or allow the URL you need to connect to, to type it in easily. So I may connect to a second site. I have been trying to do that for so long. Finally I figured it out, then just today ipage fucked up all my plugins. Now I have to start over. It's in there somewhere I just have to figure out how and where. Now it's a struggle again.

  4. with Divi theme for example you can paste the gtag.js in the options of the theme, no use to install a plugin. i assume that it is also possible in such premium themes as Astra or OceanWP for example.

Leave a Reply

Your email address will not be published. Required fields are marked *