Skip to main content

How to Install Google Analytics in WordPress

Bet that you are not writing blog on your website for no one. It’s important to know how many people go to your blog everyday, how your visitors interact with your site and where they are from. With Google Analytics, you will get such poweful stats for free. It is a free tool that allows you to track data and behavior flow of visitors on your site. Let’s find out its benefit and how to install Google Analytics on your WordPress site.

What you can do with Google Analytics

 

Google Analytics can give you almost data you need about visitors on-site if you know how to take advantage of it. Below is some data you can track with Google Analytics.

Demographic of your visitors

Google Analytics will show you the general demographic of your visitors such as age, interest, location, etc. With those information you can know what you should show up on website to retain visitor longer.

Where they are from and arrive at

From where your visitors started to visit your site and which page they landed in. You can track this information to know which source is the most effective and boost it more or focus more to optimize your marketing campaign and navigate them to right place you want them to visit

Their behavior on your website

You can know what people do on your website, where they click, which page they visit and then where they go next… You will have tons of statistic and data to analyze your visitor’s behavior and to optimize your website and build strategy to sell. Also you can track conversion rate of your sale if you are selling things online.

How to install Google Analytics in WordPress

Step 1: Sign up for Google Analytics

Firstly, you need to have a Google Analytics account. If you haven’t got one, visit Google Analytics  to sign up.

If you already have a Gmail account, you can use that email to sign-in. If not, you can create a new one with just a few clicks.

how to install google analytics - sign up account

After signing in with gmail account, now you can start to login and use your brand new Google Analytics account.

For new account, you will need to go through some next settings steps. You should choose tracking for website if you are creating this account and use for your website.

Google Analytics setting

Now you can input all information needed for your website to start tracking and click on Get Tracking ID button to get tracking code.

Add your website information

Step 2: Get tracking code

After finishing setting up information for your Google Analytics account and click Get Tracking ID, now you can see the tracking code of your account. This code will be used to install and connect Google Analytics with your website. Copy the code and move to next step.

Copy your Google Analytics tracking code

Step 3: Install Google Analytics in WordPress

There are 2 most simple ways to install Google analytics in WordPress:

Using Plugins

There are tons of plugins available to add Google Analytics to your site. We recommend to use a simple and light-weight plugin, such as Insert Headers and Footers, Insert Code in Header and Footer, etc. After installing the plugin, you can paste the Google Analytics code in the plugin’s setting page.

>> Related article: INSTALL WORDPRESS PLUGIN IN 2 COMMON WAYS

Paste into header.php

If you are developer or have a developer who can help, you can paste the Google Analytics code in your theme’s header.php, before the <body> tag.

You can now click on the Reporting tab to see your site’s analytics overview. It takes Google up to 24 hours to track and display the stat of your website.

Google Analytics is a must have for every website. So if you haven’t get it for your site, do it now.

Feel free to ask us any question or discuss more with us in comment. If you find this article useful, please share it to your friends with these social button below.

Related News

Step by step to install WordPress for beginners

WordPress is the most popular CMS for blogging and also known for its easy installation....

How to add widget to sidebar in WordPress

People are talking about retiring your sidebar which has been with almost blogs for years....

How to Install Facebook Retargeting Pixel in WordPress

What is Facebook Retargeting Pixel? Facebook retargeting pixel is actually a code generated by Facebook....

Leave a reply