How To Set Up Google Analytics On Your Website? Simple Steps

How To Set Up Google Analytics On Your Website? Simple Steps
Add Comments
Sunday, February 7, 2021
setup google analytics
You probably know how important it is to set up Google Analytics for your website since it helps you to analyze traffic and user behavior on your website. So in this article, I will be showing how you can set up Google Analytics on your website.

Just follow the simple and easy steps as given below. Anyone can set up Google Analytics easily once going through this post. This will help bloggers who have just started or are going to start their blogging journey.

But before we begin, I am assuming that you already have a Gmail account. If not, then I request you to create a Gmail account as it is the most important factor in setting up Google Analytics.

So, let’s start the process.

Setting Up Google Analytics

Step 1: Log in to Google Analytics with your Gmail.

Step 2: Click the “Set up for free” button.
setup button
Step 3: You will come across the UI as shown below. Now, type the Account Name as per your wish and click Next.
create account
Step 4: Select the “Web” and click Next.
Step 5: Now, type your Website Name, then enter your Website URL(select either HTTP or HTTPs), then select the Industry Category, then select the Reporting Time Zone, and then click “Create”.
property setup
Step 6: Tick the two checkboxes as shown below and click the “I Accept” button.
terms and conditions
Step 7: You will come across the UI as shown below. Tick the checkboxes as per your wish. (I would recommend you to tick the first checkbox and click Save.)
email updates
Step 8: You will be given the Tracking ID and Global Site Tag as shown below. Now, copy the gtag.js script and paste inside the every head section that you want to track in your website root directory.
tracking id
Once you paste the code and upload it to your website’s root directory, Google Analytics on your website is installed.

Set up Google Analytics on Wordpress Site

Repeat the same step up to 7 as above and copy the given gtag.js script and, then do as instructed below.

Step 9: Now, go to your Wordpress Dashboard.

Step 10: Go to Plugins and click Add New.

plugins settings
Step 11: Now, search for Header and Footer Plugin and install and activate it. (I am using Insert Headers and Footers plugin by WPBeginner)

Step 12: Now, again on the Dashboard, hover over or click the Settings, and click Headers and Footers Plugin.
headers and inserts plugins
Step 13: Now, paste the gtag.js script in the header section as shown below, and click the Save button.
paste tracking id
Now, the Google Analytics has been set up on your WordPress site.

You can also check whether Google Analytics is working or not. You can click the “Send Test Traffic” button as shown below. It will redirect you to your website and then click on any of your posts or just navigate your website.
test traffic
After that, you will be able to see the Status as shown below.
test success
This means Google Analytics has been successfully installed on your website.

Now, go to your Google Analytics page and see the data.

Soon you will be able to see the analytics once traffic starts coming to your website.

You can learn more about Google Analytics since there are tons of tutorial videos, posts, etc., on Google and YouTube.

In Conclusion

This is how you can set up Google Analytics on your website.

Isn’t it easy?

I hope this article helped you.

Please share this post with your family, friends, and the people you know if you liked it. I hope this will help other bloggers who have just started their blogging journey.

Thank You.

Just a guy who loves traveling, cooking, and writing.