Published on May 8, 2017 by WPBeginner

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.

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

Text version of this tutorial:
www.wpbeginner.com/beginners-guide/how-to-install-google-analytics-in-wordpress/

Follow us on Twitter:
twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
www.wpbeginner.com/

Summary of this Tutorial:

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

analytics.google.com

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.

Free:

Google Analytics for WordPress by MonsterInsights

Pro:
www.monsterinsights.com/

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

wordpress.org/extend/plugins/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.

Leave a Reply

94 Comments on "How to Install Google Analytics in WordPress for Beginners"

Notify of
avatar

Stephen Tremp
Guest
Stephen Tremp
2 months 13 days ago

Thank you for another concise and powerful video!

Pulkit Bahl
Guest
Pulkit Bahl
2 months 25 days ago

Hey! I have installed the Monsterinsights Analytics plugin but I am unable to even see my dashboard under the Insights section. Just like you have in your video at 3:11. A prompt help will be highly appreciated. Thanks!

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
2 months 25 days ago

It sounds like you have not authenticated your Google Analytics using the steps at 2:15 If you have and are still not seeing your dashboard you can reach out to MonsterInsights using: www.monsterinsights.com/lite-support/

Devaka Boc
Guest
Devaka Boc
3 months 2 days ago

if add these 3 or 2 methods for same web site. its making any problem?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
3 months 1 day ago

You would only want to use one method to ensure Google is not getting multiple copies of the same data.

Cher Chang
Guest
Cher Chang
3 months 4 days ago

monsterinsights is no longer free to use

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
3 months 4 days ago

MonsterInsights still has a free version that you can find in the plugins area.

Bass Christopher
Guest
Bass Christopher
3 months 15 days ago

I followed this steps exactly. however, I don't have a dashboard option in the insight menu. did I do something wrong?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
3 months 5 days ago

You may want to reach out to Monster Insights if their plugin's settings have changed when activated.

Bass Christopher
Guest
Bass Christopher
3 months 15 days ago

I guess I can't attach an image. but I have reports, settings, tools and addons, instead of the dashboard, reports, settings, tools and addons

Gutom Girl
Guest
Gutom Girl
4 months 10 days ago

This was so helpful, thank you so much!

Barely There
Guest
Barely There
4 months 11 days ago

Perfect- I opted for Monster Insights. I've putting off doing this thinking it was going to be difficult but literally took a couple of minutes. Thank you!

Pawan Smy
Guest
Pawan Smy
4 months 12 days ago

big Help thank you so much 😘😘😘😘😘😘

Sandy Little
Guest
Sandy Little
4 months 16 days ago

Great video…clear and easy to follow. Thank you

Nikki Hoskin
Guest
Nikki Hoskin
4 months 21 days ago

Thank you for a great tutorial.

1 2 3 8
wpDiscuz