How to Install Google Analytics on a WordPress Website
Need an easy way to install Google Analytics on your WordPress site?
Google Analytics is used to track specific data on your website visitors. It tells you how many visitors you have, where theyāre coming from, and plenty of other metrics. Itās a powerful tool that when used to itās fullest extent, can greatly improve your website and internet marketing.
This method of installing Google Analytics is code-free. This means instead of messing with the Google Analytics tracking snippet, youāll only have to copy and paste a short tracking number (your UA number) into a certain field. And thankfully, thereās WordPress plugins to do that for us.
Estimated time: 3 minutes
What Does Google Analytics Measure?
Hereās just a few examples:
Traffic Sources
Number of website visitors
What source theyāre coming from (social media, SEO, email)
What cities and countries your visitors are from
SEO
Traffic from SEO
Top keywords people use to find your site
What keywords are the most effective
Social Media
Traffic from social media
Traffic from each social network
Top content shared on social media
Page Performance
Top view pages, least viewed pages
What pages people exit your website the most
How long people spend on a particular page
Step 1: Sign Up With Google Analytics
Go to the Google Analytics signup page and signup using an existing Gmail account, or you will need to create a new Gmail account. You will eventually get to a page where you can enter your website info:
Step 2: Grab Your UA Number
Your UA Number is your tracking code in the form of a simple number (eg. UA-35669384-1) . Both can be used to install Google Analytics on your WordPress website. In your Google Analytics account, click the āAdminā button on the top right of the screen. You should see a tab that says ātracking info.ā
Make sure you have your code set to asynchronous tacking then copy that UA number.
Step 3: Use a WordPress Plugin to Install Google Analytics
Go to your WordPress dashboard and add a new plugin using the menu on the left of your dashboard. Search āGoogle Analyticsā and you will see the Google Analytics plugin by Kevin Sylvestre (shows up as the 1st result for me). Install and activate the plugin. This is my favorite WordPress plugin to install Google Analytics because it makes it so simple.
Go to the āsettingsā menu in your WordPress dashboard and click āGoogle Analytics.ā You should see a field where you can paste your UA number:
Step 4: Login to Google Analytics After 1-2 Days
After installing Google Analytics, youāll need to wait 1-2 days until it starts tracking your data.
In the meantime, you can login to your Google Analytics account and setup some custom Google Analytics dashboards. Custom dashboards should help you organize your data in a more digestible format. If you setup dashboards before the couple days it takes for Google Analytics to start tracking, you wonāt see any data. But donāt worry, it will be there shortly.
Were you successful in installing Google Analytics on your WordPress site? Leave me a comment and let me know how it went. I also offer Google Analytics consulting if you need more insight on how to use Google Analytics.
If you enjoyed my article, please share it with a friend who might like it too. I would really appreciate that.















