Setup Google analytics in WordPress

WordPress is nice and easy and all set up a good looking website, but it doesn’t keep track of all the traffic that comes to your website. And this is where something like Google Analytics, it allows you to track all sorts of data when it comes to people coming to your website and let’s you in on the behavior of that traffic as well.

Setting Google Analytics on your website isn’t that hard, if you know how HTML and PHP code works. But what if I told you there is an easier way to do this without having to have any knowledge about code whatsoever? This is where WordPress plugins come in

 

Add website to your Google Analytics account

Once you logged into Google Analytics, click on the Admin button at the top menu then under the Property section click on the Create new property link to add your website.
Fill out the form and hit the Get Tracking ID button.

Adding websiteAdd website details

 

Install Google Analtytics by MonsterInsights plugin

Now login to the backend of your WordPress website. In the menu to the left click on Plugins, at the top click on Add New. Do a search for the following plugin: Google Analytics by MonsterInsights, install the plugin and don’t forget to activate it.
Install the WordPress plugin

 

Plugin settings

After installing the plugin we need to set it up. Go to the plugin settings. Under General settings click on Authenticate with your Google account. Click on the Google Account where you added your website with in Google Analytics and grant permission. Copy the code and paste it in the box and click on Save authentication code.Go back to General settings, click on the dropdown box right from Analytics profile and select your desired Google Analytics profile and don’t forget to click on the Save button at the bottom of the page to save your settings.




 

View traffic

Now you can view your website traffic in your WordPress website by going to Dashboard under Insights from the WordPress menu bar as well as view your traffic on Google Analytics.
View stats in wordpress dashboardView website stats in google analytics

Leave a Reply

Your email address will not be published. Required fields are marked *


*