The Beginner’s Guide to Google Analytics for WordPress

Step by Step Google Analytics Tutorial for Beginners (2023)


Understanding Google Analytics is step one in the direction of a extra full understanding of your web site and its guests. By going by the entire studies, it is possible for you to to make higher choices and enhance your web site.

According to BuiltWith, there are over 28 million websites that actively use Google Analytics. Many of those website admins will not be professionals, however they nonetheless perceive how essential analyzing a website could be.

In this tutorial, I’ll attempt to present you the fundamentals, and introduce you to the world of Google Analytics from a WordPress perspective.

I’ll undergo the studies, and attempt to briefly clarify crucial issues that you might want to learn about Google Analytics for a WordPress web site – from establishing a free account and putting in every part, to exhibiting you learn how to discover easy studies that may assist you perceive your web site and customers. Please be aware that if you’re utilizing a unique Content Management System (CMS), the set up half could be completely different, however the Google Analytics ideas stay the identical.

Table of contents

What is Google Analytics?

Google Analytics is definitely one of the common Google providers. This software permits anybody to trace their web sites.

The software connects on to your web site with a view to gather an unlimited quantity of information. This information will then be analyzed and offered to you. By analyzing the knowledge you obtain from Google Analytics, it is possible for you to to know who your guests are and what they do in your website. This will assist you perceive your viewers higher, create stronger content material, and promote extra of your providers or merchandise.

Why you want Google Analytics

All of the knowledge gathered by Google Analytics will assist you to make choices that may hopefully empower you to propel your website ahead and make it higher. The data you obtain can influence a number of completely different fields:

  • Marketing – study who your guests are and the place they arrive from. Understand the content material they like, and provides them precisely what they want. Start segmenting your buyer base and promote extra.
  • search engine optimization – enhance the content material that doesn’t carry out properly, and put much more give attention to pages that generate probably the most clicks to your website. Learn which key phrases carry within the site visitors, and perceive what pages individuals navigate to subsequent.
  • Site enhancements – test the velocity of your website, and see the place you’ll be able to enhance. Compare your website to rivals and make it higher.

Checking Google Analytics will grow to be a part of your each day routine when you perceive how helpful this software is to your web site progress.

How to arrange a free account

Before you can begin utilizing this free service, you have to an account. Fortunately, to register for Google Analytics, all you want is a free Google account. If you don’t have one, you’ll be able to open one now to organize for the analytics.

Sign up

Once your free Google account is prepared, you’ll be able to go forward and open Google Analytics.

  1. Click on the “Start for Free” button.
  2. Log in to your Google account.
  3. Click on the “Start measuring” button.
welcome to google analytics
  1. Name your account.
name your account
  1. Add a property identify (your website identify).
add property name
  1. Under Advanced settings, activate the toggle to create a Universal Analytics property and add the URL of your website.
advanced settings
  1. Add enterprise data and click on on the “Next” button.
add business information
  1. Confirm the phrases of settlement and customise e-mail communication choices to your preferences.
  2. Set up an information stream to start out accumulating information. Since we’re studying about monitoring a weblog/web site,
  3. click on on the “Web” button.
set up data stream

11. Add the URL and identify of your web site.

name data stream

After this step, you’ll obtain a measurement ID that must be related to your website. This is a means of proving the possession of the positioning and tethering it on to Google Analytics in order that the complete system can work correctly.

measurement id

12. Under Tagging Instructions, select the “Global site tag (gtag.js)” choice.

global site tag

This will reveal a brief script that accommodates your distinctive ID that I discussed earlier. Keep this window open and select one of many two methods to put in the code in your website: add it manually, or use a WordPress plugin.

Add Google Analytics monitoring code manually to your WordPress web site 

If you already know your means round WordPress and you aren’t afraid of dealing with issues by yourself, including the code manually is sort of a simple course of.

However, earlier than you proceed with manually enhancing WordPress information, I counsel making a full backup of your website, as a result of even the slightest error would possibly render your website unusable.

add tracking code manually
  1. Log in to your WordPress web site.
  2. Navigate to Appearance -> Theme Editor.
  3. From the right-hand facet of the display screen, find the “Theme Header” file (header.php) and click on on it. This will load the code from the chosen file.
  4. Copy the monitoring code from Google Analytics.
  5. Paste the code proper earlier than the closing </head> tag.
  6. Update file.

As quickly as you obtain affirmation of a profitable replace, you’re performed. Google Analytics has been efficiently related to your website, and it’s time to start out monitoring your first guests! Usually, every part will begin working in a few minutes, however don’t fear in the event you nonetheless don’t have the primary statistics throughout the first 24 hours. This is regular, and in some instances, it takes a full day for the service to start out working because it ought to.

Add Google Analytics monitoring code to your WordPress web site utilizing the plugin

As you in all probability already know, WordPress comes with plugins that let you do virtually something. It’s not shocking that there are some nice extensions that let you hook up with Google Analytics in a better means. Instead of dealing with information and code straight, you’ll be able to handle every part by a confirmed and streamlined consumer interface.

Here are the most well-liked Google Analytics plugins for WordPress which you can shortly set up and use to attach the service to your website:

In this tutorial, I’ll present you learn how to arrange the primary one from the listing, MonsterInsights.

  1. Go to Plugins -> Add New.
  2. Search for “MonsterInsights”, a Plugin that has greater than 3 million lively customers.
monsterInsights plugin
  1. Install and activate the plugin.
  2. Click on the “Launch the Wizard” button.
  3. Choose a class for your web site.
welcome to monsterInsights plugin
  1. Click on the “Connect to MonsterInsights” button. This will open a brand new tab.
connect monsterInsights plugin
  1. Choose your Google account and log in.
  2. Click on the permit button to permit the plugin to entry the required information.
  3. Choose the positioning out of your listing, and click on the “Complete Connection” button.
complete connection

10. Wait for just a few seconds for the setup to finish.

11. Go by choices, and click on on the “Save and continue” button.

12. Click on the button to complete the setup.

This motion will take you again to your WordPress website. You have now formally accomplished the combination, and it is possible for you to to start out monitoring your guests in lower than 24 hours.

The plugin will create a brand new menu merchandise in your WordPress website, so you’ll be able to at all times entry your analytics particulars (studies) and settings from the Insights menu merchandise positioned on the left-side menu.

Before the knowledge is offered to you, Google Analytics works on the information to make it extra comprehensible to the informal consumer. Because of that, you must perceive just a few issues.

Users vs periods

The first essential distinction is between customers and periods. Many learners combine customers and periods and assume that they’re the identical, however the reality is sort of the alternative. 


Users are distinctive people that entry your website from one machine. When an individual masses any web page in your web site, they are going to be assigned a cookie – a small file the place Google Analytics will doc details about that consumer. If this consumer comes again to your website, they are going to be immediately acknowledged as a returning customer. Another consumer that has not been assigned a cookie will probably be marked as a brand new consumer. 

However, be aware that I highlighted that the consumer accesses the positioning with the identical machine. If the identical individual opens your website from one other smartphone or a unique laptop, the cookie received’t be seen, and that consumer will probably be handled as a brand new one. Also, you’ll be able to shortly delete all cookies out of your browser in the event you open Advanced settings and discover the “Clear browsing data” part the place you’ll be able to shortly delete “All cookies and site data”. This motion would make you a “new user” for each website that you just open.


A session is a time frame throughout which a particular consumer does one thing in your website. Once the primary web page is opened, the session begins, and Google Analytics begins monitoring the consumer’s conduct. This means, you’ll be able to perceive the consumer’s journey by your website.

What was the primary web page that the consumer opened? Where did they land subsequent? What was the web page in your website that made them navigate away? Those are simply a number of the solutions collected from a session.

After the consumer has left your website, the session ends. If the identical consumer comes again to your website in a few hours, days, or weeks, this might be handled as a brand new session. The consumer wouldn’t be counted as a brand new one, so long as the consumer is accessing your website from the identical machine with the earlier cookie accessible.

Pageviews vs occasions vs transactions

Before we transfer into the small print about learn how to use Google Analytics, I wish to briefly clarify a pair extra issues about how the service works. Once you perceive customers and periods, you will need to know the distinction between pageviews, occasions, and transactions.

  • Pageviews – reveals you the variety of occasions anybody opened a particular web page in your website. If the identical individual opens the identical web page 100 occasions, that may be counted as 100 web page views by the identical consumer.
  • Events – marks one thing a consumer does in your website. Each occasion needs to be arrange, however you’ll be able to monitor if individuals stuffed out your types, clicked particular menu buttons, and so forth.
  • Transactions – an occasion that particularly tells you when somebody accomplished an eCommerce transaction by your website.

Now you already know just a little bit extra about Google Analytics, and also you’re able to deal with the service.

Google Analytics overview

The first time you open Google Analytics, you could be intimidated by the sheer quantity of knowledge accessible. Fortunately, the service has been enhancing continually, and Google continues to simplify issues in order that each learners and professionals can get probably the most out of it.

In the next part, I’ll undergo every tab accessible in Google Analytics and present you learn how to use it.

Home tab

The predominant dashboard, generally known as the Home tab, holds the entire most essential details about your website, unfold into a number of widgets.

Here, you’ll entry summarized data from different teams that I’ll present you later. If you need to shortly analyze the positioning, the house tab will present you:

  • Number of customers and periods, income, and conversion charges.
  • Number of lively customers – those that are presently in your website.
  • Graph exhibiting you the place your site visitors comes from (direct, natural search, referral, social, and extra).
  • Breakdown of session by nation.
  • Time of day when customers load your website.
  • Most visited pages.
  • And extra.

Each widget accommodates the essential filtration choices. So, for instance, you’ll be able to shortly change the dates for your statistics and present the information for the final 30 days as an alternative of simply the final 7 days.

If you need to study extra about some particular data, there’s a hyperlink to the total report within the lower-right nook of every widget.

home tab

Analytics Intelligence – search perform

Instead of navigating by a menu to seek out easy solutions, Google launched Analytics Intelligence – a synthetic intelligence software that may perceive your questions.

To begin utilizing it, merely discover the search bar on the prime of your Google Analytics web page. Type your query, and let the service reply it.

search function

You can ask questions like:

  • How many customers did I’ve final week?
  • What campaigns have probably the most periods?
  • Why did my consumer numbers change final week?
  • And rather more.


Once you begin utilizing Google Analytics frequently, you’ll notice that you don’t want the entire metrics which are displayed by default. Also, you’ll in all probability want some further studies that often take a few further clicks to entry.

To keep away from muddle, you’ll be able to create customized studies that may comprise solely the knowledge that you actually need.

For instance, in the event you often solely test the place individuals come from, and what number of distinctive visits have been generated from every nation, you’ll be able to create a customized report that may present you that particular data, and conceal every part else that you don’t want.

create custom report

How to create a easy customized report in Google Analytics:

  1. Open your Google Analytics account.
  2. From the left-hand facet menu, select “Customization”.
  3. Click on “Custom Reports”.
  4. Choose “+ New Custom Report”.
  5. Name your report by including the title.
  6. Choose metric teams that you just need to present.
  7. Save modifications.

Now, it is possible for you to to open your customized report anytime to view solely the metrics that you just chosen. If you want extra customized studies, you’ll be able to create as many as you would like, and customise them anytime.

Realtime studies

While most entrepreneurs and web site house owners want information that’s been accumulating for weeks and even months, there are occasions after they wish to see the customers presently visiting their website. This is the place the realtime report will assist you and present you particulars about customers who’re presently lively in your website.

realtime report

The realtime report will present you:

  • Geographical areas – detailed graphs and an lively map.
  • Traffic sources – the place the present customers got here from.
  • Content – what pages are being opened, with their titles and URLs.
  • Events – what occasions have been triggered by these customers.
  • Conversions – what targets have been achieved.


This report will give you the entire data you want concerning the customers and periods in your website from the time you put in Google Analytics. Unlike the Realtime studies that present simply the present customers, you’ll be able to filter the information to your wants, and alter the time interval for the report. This means which you can see how your customers behaved within the final month or the final 12 months, for instance.

The Overview tab will present you crucial widgets that maintain data concerning the variety of customers, periods, bounce charges, international locations they’re coming from, languages they’re utilizing on their computer systems, and extra.

audience overview

Here is an inventory of the important thing metrics that you might want to know so as to have the ability to perceive your each day Google Analytics studies. You have the choice to view hourly, each day, weekly and month-to-month studies.

key metrics
  • Users –  the quantity of people that go to your website.
  • New Users – the quantity of people that have visited your website for the primary time.
  • Sessions – time frame a single consumer has spent in your website with out leaving.
  • Number of Sessions per User – what number of periods every consumer has had.
  • Pageviews – the variety of occasions a particular web page has been seen. If a single consumer visits a web page 100 occasions, every time counts as a brand new pageview.
  • Pages / Session the common variety of pages seen per one session.
  • Avg. Session Duration – a mean size of 1 session.
  • Bounce Rate – the quantity of people that left your website after loading only one web page.

If you progress down the listing, it is possible for you to to entry extra data about:

  • Active Users – customers who’ve had a minimum of one session within the given time interval.
  • Lifetime worth – how a lot you’ve gotten earned per consumer.
  • Cohort Analysis – break down information into teams earlier than analyzing.
  • Audiences – all customers and periods.
  • User Explorer – distinctive IDs which are assigned to particular consumer units.
  • Demographics – age and gender of the customers.
  • Interests – test the class a consumer belongs to corresponding to consumers, expertise, media, magnificence, and so forth.
  • Geo – areas and language acknowledged on the machine.
  • Behaviour – what number of customers are new, what number of returning, test their frequencies, and extra.
  • Technology – what working programs, browsers, and networks the customers are utilizing.
  • Mobile – test what number of customers have been accessing the positioning with desktop, cellular, and pill units.
  • Cross Device – test to see if the identical consumer has returned from a unique machine. You might want to activate Google indicators for this characteristic to work.
  • Benchmarking – monitor a particular report towards the identical report in a unique time interval to know modifications.
  • User Flow – an in depth graph exhibiting you ways customers navigate by your website.

How to detect the placement of your web site’s guests within the final 30 days

No matter what sort of website you’re working, you’ll want to know the place your guests are coming from. That’s very true in the event you’re promoting one thing.

  1. Open your Google Analytics account.
  2. Navigate to Audience -> Geo -> Location.
  3. Click on the date within the upper-right nook of the display screen.
  4. Change “Date Range” to “Last 30 Days”.


Find out extra about how customers discovered your website and navigated to it. There are variations between typing the URL in straight, discovering a website by way of Google or different serps, and those who come from different web sites or social media.

acquisition overview

The acquisition report also can assist you with particulars about Google Ads (in the event you’re utilizing them, in fact) in addition to data from the Google Search Console if related.

  • All Traffic – view channels, treemaps, supply/medium, and referrals.
  • Google Ads – entry the analytics for your Google Ads campaigns.
  • Search Console – view touchdown pages, international locations, units, and particular key phrases customers have used to entry your web site.
  • Social – get extra data about customers who got here from social media websites.
  • Campaigns – obtain data about paid and natural key phrases, in addition to entry to value evaluation.

How to test the variety of guests coming from Google

Google is the largest search engine, so it’s essential to know the way many individuals have discovered your website by Google.

  1. Open your Google Analytics account.
  2. Go to Acquisition -> All Traffic -> Source/Medium.
  3. Click on Google/natural.


Previously talked about studies present you the small print about your customers and the best way they got here to your website. Now it’s time to study extra concerning the content material, velocity of your website, occasions, and extra:

  • Behavior Flow – entry an in depth graph that may present you ways customers navigate by your web site.
  • Site Content – discover out probably the most and least visited pages in your website.
  • Site Speed – perceive how properly your pages behave in particular browsers.
  • Site Search – uncover how individuals are utilizing the search in your website.
  • Events – look at how many individuals triggered particular occasions you’ve gotten created.
  • Publisher – hyperlink AdSense or Ad Exchange with Google Analytics to get extra data about impressions, clicks, and income.
behaviour overview

How to seek out out probably the most visited web page in your website

In order to know what your guests need, you must decide probably the most visited web page in your website. This will allow you to enhance the content material and tailor it to your guests’ wants.

  1. Go to your Google Analytics account and log in.
  2. Navigate to Behaviour -> Site Content -> All Pages.
  3. Click on the “Unique Pageviews” column to type pages.


When you open the Conversions report, you’ll perceive what individuals truly do in your website. 

conversions report

Conversions are actions that you really want individuals to carry out in your web site. It consists of the next:

  • Goals – reveals you targets that you’ve got achieved (and arrange earlier).
  • Ecommerce – must be arrange individually. If so, it should present you what number of transactions have been accomplished by your website/app.
  • Multi-Channel Funnels – see the proportion of conversion paths that embrace mixtures of the channels.


Can I exploit Google Analytics for free?

Yes, Google Analytics is totally free for small companies. You can use the service as a lot as you need, and join as much as 100 websites to at least one account. However, in the event you want extra in-depth evaluation, you’ll have to take into account upgrading to Google Analytics that has tier-based pricing.

Is Google Analytics laborious to study?

Getting began with Google Analytics isn’t that arduous. It will take you a few days to get acquainted with the system and to discover ways to entry probably the most primary studies. However, with a view to get probably the most out of Google Analytics, you have to numerous follow. Thankfully, Google presents free on-line programs by their Analytics Academy that may assist you grasp the most well-liked measurement instruments.

What is Google Analytics 4?

Google Analytics 4 is an improve to the favored Google service. It means that you can monitor your web site and apps, both individually or collectively. This new system has the flexibility to trace a single consumer by their total journey, so you’ll be able to higher perceive how every consumer behaves.

How do I arrange Google Analytics on my cellular app?

Setting up Google Analytics on cellular apps could be performed in three steps:

Step 1: Enable app set up monitoring in your account.

Step 2: Update your Analytics SDK.

Step 3: Set up Custom Campaigns.

You can study extra about this on the official Google Analytics pages.

How do I give somebody entry to my Google Analytics account?

When you determine to share Google Analytics with somebody, you would not have to take screenshots or file movies. You can shortly give them entry, and all you want is their e-mail deal with:

1. Login to your Google Analytics account.
2. Click the “Admin” hyperlink on the bottom-left nook.
3. Select “Account Access Management”.
4. Click on the blue plus icon on the highest and choose “Add Users”.
5. Type within the e-mail deal with of the individual you need to have entry.
6. Click on the “Add” button.

How do I share a Google Analytics report?

In order to share a particular report with another person, with out giving them full entry to your website, you’ll have to save a customized report. Once it’s saved, navigate to Customization -> Saved Reports, and choose the report you need to share. Then, on the prime of the display screen, choose the share icon, and write the e-mail deal with of the one that ought to obtain the customized report.


In this tutorial, I’ve lined the essential overview of the Google Analytics dashboard for learners. It will let you simply get began and perceive what Google Analytics is all about.

Although intimidating at first, Google Analytics is a robust free software that each web site proprietor ought to have arrange. No matter in the event you solely monitor primary details about the variety of individuals in your website, or want to research extra advanced particulars about occasions and conversions, Google Analytics is right here to assist.

The extra you utilize it, it should grow to be extra pure, and it’ll assist you to study extra about new analytical strategies every day.


FAQ :-

1. What is one of the best ways to study Google Analytics?
Answer: The greatest method to study Google Analytics is to observe a step-by-step tutorial designed for learners.

2. What subjects are lined in a Google Analytics tutorial for learners?
Answer: A Google Analytics tutorial for learners usually covers subjects corresponding to establishing an account, creating targets, monitoring web site site visitors, and understanding studies.

3. How lengthy does it take to study Google Analytics?
Answer: The period of time it takes to study Google Analytics depends upon the person and their degree of expertise. Generally, it could possibly take wherever from just a few hours to a couple weeks to grow to be proficient in Google Analytics.

4. Is there a value related to studying Google Analytics?
Answer: Most Google Analytics tutorials are free, nevertheless, some could require a payment.

5. What is one of the best ways to trace web site site visitors?
Answer: The greatest method to monitor web site site visitors is to make use of Google Analytics.

6. What is the distinction between Google Analytics and Google Tag Manager?
Answer: Google Analytics is an internet analytics software that helps you monitor and analyze web site site visitors. Google Tag Manager is a software that helps you handle and deploy web site tags, corresponding to these used for monitoring and analytics.

7. What is one of the best ways to arrange targets in Google Analytics?
Answer: The greatest method to arrange targets in Google Analytics is to make use of the Goal Setup Wizard. This will assist you create targets which are tailor-made to your web site and enterprise goals.

8. How can I exploit Google Analytics to enhance my web site?
Answer: Google Analytics can be utilized to establish areas of enchancment in your web site. By analyzing web site site visitors and consumer conduct, you’ll be able to establish areas that want enchancment and make modifications accordingly.

9. What is one of the best ways to know Google Analytics studies?
Answer: The greatest method to perceive Google Analytics studies is to make use of the Report Explorer. This will assist you shortly and simply navigate by the assorted studies and perceive the information they comprise.

10. What is one of the best ways to get assist with Google Analytics?
Answer: The greatest method to get assist with Google Analytics is to make use of the Google Analytics Help Center. This will give you detailed directions and solutions to widespread questions.


Leave a Reply

Your email address will not be published. Required fields are marked *