Internet Marketing

How to Set Up Google Analytics In WordPress?

If you are running an online business, you need an analytic tool to help you to analyze your website’s performance and gain customer insights. Google offers you free web analytic service that help you track and reports website traffic. Today I am going to show you how to set up Google Analytics in WordPress.

I will be showing you how to add a Google Analytics tracking code into your website in WordPress.

What is Google Analytics?

Google Analytics is a free analytic service offered by Google. It gives the digital analytic tools you need to analyze data from all you website in one place. Google Analytics tools help you to have a deeper understanding of your customer experience and insights.

Basically, Google Analytics helps you to collect data from your websites. This data is then transformed into useful information for you to analyze your website’s performance.

Below are the information you can get from Google Analytics:

  1. Number of new visitor
  2. Number of return visitor
  3. Page Views by visitor
  4. Location of your visitor came from
  5. Traffic channel – Direct, organic search or social
  6. Type of devices used by visitors
  7. And many more.

You can start analyzing your website’s traffic with Google Analytics in 3 easy steps:

  1. Sign up for Google Analytics account if you don’t have one yet.
  2. Get a Google Analytics tracking code and add it to your website.
  3. You will be able to start seeing data about your website in a few hours.

Create a Google Analytics Account

Below are the steps to create a Google Analytics account.

  1. First thing first, go to Google Analytics website.
  2. Click Sign In to sign in to your Google account.
  3. If you don’t have a Google account, click more options and select Create account to create a Google account.
  4. Once you have signed in to your Google account, click Sign Up to create a Google Analytics account.
  5. Fill in your account name, website name, website URL, and select an industry category and reporting time zone.
  6. Under the Data Sharing Options, check the boxes next to the options that you want.
  7. Lastly, click Get Tracking ID.
  8. The next thing you need to do is to add the tracking code into your website.

Copy Google Analytics Tracking Code

  1. Under Google Analytics side menu, click ADMIN.
  2. In the PROPERTY column, click Tracking Info and then select Tracking Code from the menu.
  3. Now you can get the tracking code under the Website Tracking section.
  4. Copy the Global Site Tag (gtag.js) tracking code.
  5. Next, you will need to paste the tracking code into your WordPress website.

Add Google Analytics Tracking Code into WordPress Site

  1. Log in to your WordPress dashboard and navigate to Appearance » Editor.
  2. Now click the header.php file on the right-hand side below the Theme Files section.
  3. Paste the tracking code you copied earlier right before the </head> tag.
  4. Click Update File button to save.
  5. Now, you have successfully added the Google Analytic tracking code into your website.
  6. You can view your Google Analytics dashboard with this link https://analytics.google.com/analytics/

Closing Words

Thank you for reading my guide on how to set up Google Analytics in WordPress. I hope you found it useful and I hope you decide to start taking some action today.

Feel free to drop me a comment below if you have any question about setting up Google Analytics in WordPress or any other aspect of online marketing.

 

To Your Success,

Kwah Choon Hiong

 

Kwah

Share
Published by
Kwah

Recent Posts

How to Scan a Document to Your Phone with Microsoft Office Lens?

Do you know that you can use your mobile phone to scan documents? Of course,…

4 years ago

How to Cast Phone to PC

Today, I want to show you how to cast your mobile phone to your PC.…

4 years ago

Install and Configure Fail2Ban On CentOS 7

In this article, I will show you how to install and configure Fail2ban service on…

5 years ago

Bulk Delete WordPress Posts

Have you ever want to bulk delete to your WordPress posts records and you have…

5 years ago

What is a Landing Page?

Perhaps you hear about the terms “Landing Page”. Sometimes, we also call it as “Lead…

6 years ago

How to Embed Google Forms in WordPress?

In this article, you will be learning how to embed Google Forms in WordPress. Google…

6 years ago