How to Setup Google Analytics on WordPress - Techy Sam
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Test link

How to Setup Google Analytics on WordPress

How to setup google analytics on blogger? Do you want to install google analytics on blogger? Then you are at the right place.Google Analytics is the

How to Setup Google Analytics on WordPress

How to setup google analytics on blogger? Do you want to install google analytics on blogger? Then you are at the right place.

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,
How to Setup Google Analytics on WordPress

In this article, we gonna show you the easiest way how to install google analytics on blogger?

Google Analytics is the core product of Google that let you track your own website for free of cost. Then what is the use of google analytics?

By using google analytics you can track the number of visitors, page views, bounce rate, location of the viewer, age and much more of your website.

So let's see what are the steps to install google analytics code on blogger.

Step 1 - Sign up for Google Analytics

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

Here, first of all, you have to sign up on google analytics for creating an account. First, fill in your account name and then fill in your website name and enter your website URL like this https://xyz.com. 

Don't forget to change HTTP:// to HTTPS:// then after selecting your industry i.e. means which category relates to your website and finally add time zone and submit.

Step 2 - Copy Google Analytics Tracking Code

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

Now, the second step is about getting your tracking code in google analytics. Then, you have to go to admin settings on the left sidebar as shown in the above image. Then click on the tracking code and you get the tracking code of google analytics. 

Now, copy all the code as shown in the above image.

Step 3 - Paste the Code in Header Section

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

The third and important step for installing google analytics in WordPress is very crucial and being aware that anything that goes wrong here will damage to your site.

Then go to theme file editor from your WordPress dashboard and find header PHP in the right sidebar as shown below image.

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

In the right sidebar, you will find header.php. By clicking on this you will get the header section of your website. So, don't do anything wrong cause it will affect your site.

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

After clicking the header.php you will see the codes as shown in the above image. Then you need to find the header section (<head>) in that code. Plz, look at the image. 

And finally, place the google analytics tracking code right after the header tag (<head>) and click on the update file as shown in the above image.

And BOOM! you have successfully installed google analytics code on your WordPress website. This is the simplest method to install google analytics code on WordPress. 

But, for those who don't want to use this coding method, I am providing the easiest method for installing google analytics code on WordPress by simply installing a plugin.

How to Install Google Analytics Code by Plugin

This is the second method for how to setup google analytics on WordPress? In this method, we will install google analytics code using plugin viz. Header and Footer Plugin.

Step 1 - Download & Install Header and Footer Plugin

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,


Go to your WordPress dashboard and click on add new plugin. And search for Header and Footer Plugin then click on download then install it. After installing the following step 2.

Step 2 - Paste the Google Analytics Tracking Code into the Header

how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,


And follow the steps as shown in the above image.
Add snippet name - Analytics (e.g.)
Snippet type - Javascript
Location - Header
Device display - Show on all devices

Do these changes and do nothing.


how to setup google analytics, google analytics how to set up, how to create google analytics account, how to install google analytics, how to install google analytics on wordpress, how to setup google analytics on wordpress, how to set up a google analytics account, how to set up google analytics for website, google analytics how to install,

And finally, paste the google analytics code in the Snippet/Code area. 

And, BOOM! you have installed google analytics code in WordPress with the use of the plugin. This is the easiest way to install google analytics, isn't it? Do let me know in the comment section. 

Conclusion

How to setup google analytics on WordPress? We have completely seen all the steps required for the installation of google analytics code on WordPress. Google Analytics is a must and useful for the people who have a website.

Post a Comment