How To Setup and Implement Google Analytics on Your Website in 15 Minutes
Want to setup Google Analytics for your website? And wondering how to do it? You are at the right place.
Every successful blogger is constantly keeping an eye on their visitors, but I’ll be honest, there are tons of different plugins, trackers and web applications to track your blog visitors/stats. However, the most advanced and cheapest (free) one is without a doubt – Google Analytics.
If you are anything like me, you wonder how many visitors you have got on your website while you are away from it. I have tried a lot of plugins and apps to track the website traffic but nothing comes close to Google Analytics itself. Even though it is not the most accurate, it is better than anything I have used and the best part is that it’s free.
The usage of Google Analytics depends on the objective of your website. An e-commerce website will use Google Analytics completely different from the way a blog uses it.
It can be used to track and analyze website metrics like:
- Daily/monthly users and sessions
- Demographics of the visitors to your website
- Traffic sources and the medium
- The user journey on your website
- Goal and funnel tracking.
So now that you have got the basic idea of what Google Analytics is, let’s see how you can implement it on your website.
There are three steps to installing Google Analytics on your website:
- Sign up and set up Google Analytics
- Copy the tracking ID and code (if not using WordPress) for your account
- Install the code on your WordPress Blog with a plugin or manually
Let’s walk through each step in more detail.
First, we will start with the most commonly used CMS and blogging platform, WordPress.
If you do not have a Google Analytics account, login using a Gmail Id here:
Inside the Google Analytics dashboard, you need to click the ADMIN link and you will see a drop-down of accounts. Add a new website selecting the add website option if you haven’t already.
Account name: Anything that you can use to identify your Google Analytics Account.
Website name: Name of your Blog or Website. This way it is easier to track when you have more than one website.
Website address: Enter your website URL. https://www.
Industry/category: Enter a topic or category for the website and its content
Create a property for from the property option and you can fill in your website details.
When you click the next” Tracking ID button”, you can see that you are presented with Google Analytics Tracking code which needs to be added to your website.
Next, save your Google Analytics ID. It should be something like UA-834XXXX.
Implementing Google Analytics on a WordPress Website:
You have two methods to implement GA on WordPress:
- Using a Plugin
- Installing the code manually
1.Install Google Analytics plugin to your WordPress blog
If you don’t want to manually insert your Google Analytics tracking code inside your To add the GA code to your WordPress website, you can log in to WordPress
Setup Google Analytics through a Plugin
Search for WordPress Plugin
All you need to do is install a plugin named – Google Analytics for WordPress.
Once you’ve installed and activated it, go to “Settings” -> “Google Analytics” and just enter your Tracking ID:
Enter your tracking ID and Save
- Manually adding the code to your WordPress website or any website:
You could use a plugin like this:
Setup Google Analytics Manually
You will need to add the Google Analytics code to your template files on WordPress or if you have an HTML website, you can add this to the <head> section.
On WordPress, you need to access the header.php file going into the Appearance option on WordPress Admin Dashboard.
Appearance » Editor.
On the right side access the templates.
Copy the tracking code from Google Analytics and paste it just above the </head> tag.
Then click Update File.
Update the header.php file.
Accessing Traffic Details through Google Analytics:
It takes some time to gather traffic data on Google Analytics, it can take from 24 to 48 hours before you can access the information. You can access the site traffic following the Behavior section, then site content, and then selecting all pages.
Behavior -> Site Content -> All Pages->
You can create and save filters that will let you sort and have a better understanding of your website traffic. You can get to the advanced link near the search in Google analytics to filter our pages that you would like to exclude or include in the view.
Join my Inner circle
The Inner Circle is where I share the latest strategies, tactics and tools that is currently working in Digital Marketing for me. These include case studies, reports and cheatsheets.
You have successfully joined our subscriber list.