Published on May 8, 2017 by WPBeginner
Want create site? Find Free WordPress Themes and plugins.

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.

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

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

Notify of
avatar

Comiendo Rico
Guest
Comiendo Rico
10 days 7 hours ago

Great tutorial thank you!

Mohamed Ibrahim
Guest
Mohamed Ibrahim
24 days 20 hours ago

Perfect and easy video, thank you so much

Félix Laveault-Allard
Guest
Félix Laveault-Allard
1 month 3 days ago

Thanks you very much ! Work well, so easy !

J MASTERJ
Guest
J MASTERJ
1 month 22 days ago

How do you add the code or track every page/post that is created in the future? Or does this one code do that automatically site-wide?

J MASTERJ
Guest
J MASTERJ
1 month 21 days ago

Awesome. cheers!

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
1 month 22 days ago

Using either of the methods in the video should add the code site wide

Oanh Trần
Guest
Oanh Trần
1 month 24 days ago

thanks a lot!

Laercio Civali
Guest
Laercio Civali
2 months 2 days ago

Thanks a lot!

SicaGR
Guest
SicaGR
2 months 14 days ago

It would have been nice if you stated at the very beginning this is for .org only and not .com users.

Quinn Dang
Guest
Quinn Dang
3 months 1 day ago

Do you have to pay for these plugins? Because it seems that way.

SicaGR
Guest
SicaGR
2 months 14 days ago

No, you have to be upgraded to the business version which costs money. If you are using wordpress.com and not .org this will not work. Therefore not FREE.

Joseph
Guest
Joseph
3 months 1 day ago

theyre free

Anonymous
Guest
Anonymous
3 months 7 days ago

You are a life saver!! thanks

Hridoy bd Network
Guest
Hridoy bd Network
4 months 4 hours ago

Thanks you so much 🙂

wpDiscuz