How to Install Google Analytics on WordPress – 2018
Google Analytics for WordPress is a powerful way to learn about your site. It can seem confusing with the steps they give you to install Google Analytics on WordPress, 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:
Follow us on Twitter:
Tweets by wpbeginner
Checkout 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.