Google Analytics is one of the most powerful tool.
It is a tool that is helping many industries to track their advertising ROI, understand customers, website traffic, etc.
And if I talk about bloggers then there would be no one who is not using Google Analytics to track their website traffic and conversion.
From Beginners to Advance everybody is using this.
Then why not you.
Whenever you start a blog I recommend you to use this tool for tracking your website traffic.
So here is the complete guide on How to Setup Google Analytics for WordPress website.
Google Analytics Full-Setup for WordPress
If you want to create a Google Analytics account for WordPress you need to create a website in WordPress.
For creating a website in WordPress you need to buy a web hosting and install WordPress.
If you didn’t created a website on WordPress then these two videos will help you;
So coming back to the point how I will set up a Google Analytics account for WordPress?
So lets jump on the detailed step on How to setup Google Analytics for WordPress;
Step 1: Go to Google Analytics website, and click on Start measuring.
Step 2: Now you will come to the setup Page.
In the Account Setup option fill the account details i.e Account name and check all the tick box in the Data sharing settings.
And then Click Next
Step 3: Now you’ll need to do Property setup.
Fill the property details;
- Property name,
- Reporting Time, and
Then click on the Advance option and enable the Create a Universal Analytics Property.
Now enter your website domain name choosing HTTPS://, and choose Create a Universal Analytics property only.
The reason behind choosing this option because it is specifically made for analyzing website traffic in more detail than the first option.
Now click on Next.
Step 4: Now Setup About your business
By choosing your;
- Industry category,
- Business Size, and
- Your intent to use Google Analytics
Now click on Create.
Now you need to accept the Terms of Google Analytics, select both the Agreement and click on I Accept.
So your Google Analytics account has been created.
Step 5: Once you created your account, you will be send to your account’s Admin panel.
There you would get a tracking code, copy the code.
Tracking Code actually helps you to track users when it comes to your site.
Now go to your WordPress Dashboard -> Drag your mouse towards Appearance -> select Theme editor.
Once you enter into Theme editor, go to the header.php file.
When you enter into header.php file you need to paste the code below head tag in Fig: 1.
And click on Update file.
Step 6: After completing all the settings, Visit your website and Go to the Homepage of your Google Analytics account.
You would see a real-time user on your site.
This means Google Analytics can track your website traffic easily.
Congo! You have successfully created your Google Analytics account and now you can easily track your website traffic.
Finally we have successfully created our Google Analytics account.
And now we can easily track our website traffic that is coming from different sources like; social, direct, organic, etc.
Moreover, we can also track the users’ visited pages, exit pages, real-time users, Demographic, User behavior, etc.
I hope you have understood the detailed guide on how to set up Google Analytics for WordPress.
Make sure you follow our How to start a blog series on YouTube the most detailed guide on How to start a Blog.
See you in the next blog, Bye Bye..