The Google Analytics is widely recognized tool in tracking the traffic for your site, its sources, user demographics, how your site is most often viewed, which of your pages get most attention and so much more.
The Google Analytics plugin allows you bring that power straight to your WordPress dashboard, so you don’t have to go to two different places when managing your site.
Step 1: Log in to your WordPress dashboard:
Step 2: Add new plugin:
From the Dashboard, go to Plugins -> Add New:
Step 3: Locate a Google Analytics by Yoast plugin:
Now, that you are on the Add Plugins screen, in the search field, look for an Google Analytics by Yoast. Enter the search term and hit the Enter key on your keyboard:
Step 4: Install Google Analytics by Yoast plugin
Google Analytics by Yoast is one of the widely used plugins for analytics. Click on “Install Now” button to install it:
Step 5: Activate the Google Analytics by Yoast plugin:
You will be brought to Installing Plugin screen. Wait till the plugin installs and you see “Successfully installed plugin…”. Click “Activate Plugin” link to activate the plugin on your site:
Step 6: Google Analytics plugin is now installed:
If you look at the Plugins menu on your WordPress dashboard, you will see that the plugin is now there. You will also notice the Analytics has been added to your side bar menu:
Step 7: Check and update settings for the plugin:
Now, that the plugin is installed on your blog, you need to customize the setting to fit your needs by going to Analytics-Settings:
Step 8: Authenticating with Google Analytics account:
Once in Settings, you can authenticate and connect your plugin to actual Google Analytics account in 2 ways.
- You can use the manual option, if you know your special UA number provided by Google for this site and enter it manually
- You can use the authentication method and establish the connection this way
Since the dashboard works correctly only when the account is authenticated via live link (second method), I will show how to do it.
Click on “Authenticate with your Google account” button:
Step 9: Authorize the connection to your Google account:
Once you pressed the “Authenticate with your Google account” button, your screen will grey out and you will see two small windows pop up, the authentication box and a request for permission to authorize connection to your your Google account.
Confirm that you are connecting to the Google account where you have Analytics setup and press Accept:
Step 10: Copy the authentication code and paste it in your plugin:
Once you connected your plugin to your Google account, a new small window will pop up with the authentication code in it.
Copy the long code from the Google window and paste it into the “Paste your Google code here:” window:
Step 11: Save the authentication code:
Now that you have copied and pasted the code, press “Save authentication code” button:
Step 12: Select the Analytics profile:
As soon as you save the authentication code, you will be brought back to the Analytics-Settings window of your WordPress site.
Since you have connected your site to Google, you are now able to select the analytics profile that is associated with your particular site.
Click on the Analytics profile drop-down and select the profile for the particular site you are working with. If you have more than one site and profile, you will see several profiles to choose from.
Select the one that you need and click on it:
Step 13: Confirm the profile and save the changes:
Once you have chosen the Google profile it will appear in your “Analytics Profile:” window.
Confirm it’s the correct one and Save Changes:
Step 14: View the Analytics in the dashboard:
Now that the plugin is installed and authenticated with Google, you can view the statistics by going to Analytics->Dashboard on your WordPress menu. A side note: if your website is brand new, you might not see any activity in the Dashboard:
Congratulations! You did it! Now you can track your stats like a pro right on your WordPress dashboard, saving you time and providing you great insights into your website.
Here is a handy step by step recap of this post, enter your info to get this free cheat sheet: