A beginner’s guide to Google Analytics
Do you know how many visitors your website gets every day? Or where they’re coming from? Or which device they’re using to access your site? And do you know which of your pages are the most popular or which social network is sending you the most amount of traffic?
These are some of the things that Google Analytics (GA) can show you and, once you have that information, you can use it to make your site even better.
So, if you have a blog or a website but aren’t yet using Google’s web analytics software to keep track of your traffic and visitors, it’s time to get with the programme!
If you’re already using it or have tried using but find it overwhelming and hard to understand, this guide will walk you through everything you need to know about GA and how you can use the data it provides to your advantage.
Whether this is your first time using GA or not, we’re going to start from the very beginning, from how to set it up on your website to how to extract numbers that drive action and help you improve your site.
Table of contents
What is Google Analytics?
GA gathers analytics information from your website so you can monitor the number of visitors your site receives, where they came from, how they navigate through your site as well as other interesting stats.
While there are many tools available that can help you get this information, since Google is the largest search engine on the internet and since most of your site’s traffic probably comes from Google, it’s an effective tool to track website traffic and get insights on your visitors’ behaviour on your site.
Why should you use it?
Because you’ll get free access to so much awesome information about your website and your visitors, including:
- How many people have visited your site
- Which countries they live in
- How they landed on your site (from Twitter, from a search engine, from an article they read on a blog)
- How much time they spent on your site and if they visited other pages as well
- What technology they used to access your site (desktop, tablet, smartphone)
- Which are your most popular web pages and/or blog posts
- Which sites or blogs are sending traffic your way
- Which social network is sending you the most amount of visitors
This may sound like a lot of information but don’t worry. Once you go through this guide and see how all this information is organised and where you can find what you’re looking for, it will no longer seem that complicated.
How to set it up
If you already have GA installed on your site, go ahead and jump to the next section.
For GA to be able to track your visitors and website traffic it needs to gather information from your site whenever a visitor lands on one of your pages. And it can only do that if you have GA installed on your site so let’s do that now.
Go to Google Analytics and create an account, if you don’t have one already. If you do, simply sign in to your account.
Next, click the Access Google Analytics button and then click on Sign Up:
On the next page, you will need to fill in some basic information about your site like website name and URL, time zone and more:
Now click on the Get Tracking ID button.
Here’s how the tracking code looks:
If you accidentally lose or delete it, you can access it anytime by following these steps:
- Go to Admin and then choose the profile for which you would like to retrieve the tracking code.
- Click on Tracking Info and then on Tracking ID from the dropdown menu.
To insert the Google Analytics code, you need to have access to your site’s source code. If you’ve hired someone to manage your site for you, you’ll need to provide them access to your admin or FTP so they can access your HTML code.
If you want to do it yourself, log in to your content management system (CMS) and access your site’s HTML code. Now you need to copy and paste the tracking code inside the header file, between <head> and </head>. Be sure to place it on a line of its own and not in the middle of other code. Since the header file is common for all page, it will added automatically to all the pages on your site.
If you have a WordPress site, implementing the code is a breeze. Log in to your WordPress Admin and then click Appearance -> Editor. Open your theme’s header.php file and paste the tracking code between <head> and </head> then click “Update File”. Or you could use a plugin like Google Analytics by Yoast where you would only need to copy and paste the tracking code and the plugin will then add it to all current and new pages for you.
It may take up to 24 hours for Google to gather all the data. If after 24 hours you can’t see any data, verify that you’ve properly set up GA by revisiting the Tracking Code section. You’ll see a section titled Tracking Status Information at the top of the page. You want the status to read Tracking Installed, which tells you that the code is working and the data is being pulling into Google Analytics accurately.
If the status reads Waiting for Data, Google Analytics has found the tracking code but is still working to gather the data into reports. If the status is Tracking Not Installed or Not Verified, follow Google’s recommendations to troubleshoot the problem.
Now that you have GA installed properly you’re finally ready to get started using it to analyse your web traffic!
Getting to know the Dashboard
The Audience overview is the default screen you’ll see when you access GA and it includes graphs, percentages and pie charts on:
- How many people have visited your site in the last month
- How many of them are first-time visitors and how many have returned to your site
- How many pages were viewed along with the average number of pages per visit
- How long the average visitor stayed on your page
- Your site’s bounce rate meaning how many people left a page they landed on without viewing another page.
You’ll also see some demographics, system, and mobile reports at the bottom of the overview screen.
- Demographics – Click on Language, Country/ Territory and City to find out which country and city your visitors live in as well as the languages they speak.
- System – When you click on the three options under System, you’ll get more details on which browsers, operating systems and service providers your visitors use.
- Mobile – This is where you can see how many of your visitors are using mobile devices to access your site and which ones.
Finding valuable information and using it to improve your site
This is where all the fun begins. On the left side of the page you’ll see a menu with several sections and each section includes valuable information about your site’s visitors, content, performance and how well it’s converting.
I’ll walk you through each section and explain how you can use that information to your advantage. Once you’re done reading this guide, you’ll know exactly where to go if you want to find out where your visitors are coming from or what’s the most popular post that sent you the most amount of traffic from Twitter.
Let’s get started.
1. Audience – Who are my visitors?
This is where you need to go when you want to find out more about your visitors:
The Audience section gives you information on your visitor’s age and gender (under Demographics), the languages they speak and their location, including a map overlay which you can click on for more detailed information about where your visitors are coming from (under Geo).
To dig deeper, you could use metrics and secondary dimensions to find out even more information.
- Dimensions are the rows you see in GA that allow you to sort or filter data so you can get the exact information you’re looking for and use it to improve your site . For example, language is a dimension and so is browser preference and you can sort your data in GA to show you which languages your visitors speak or which browsers they’re using to access your site.You can find all those things as the titles of rows in GA reports.
- Metrics are the numbers that usually populate those rows. So you might have a Country report where you have rows with the countries your visitors are coming from, but it also gives you metrics: how many visits per country, how much time they spend on site depending on country, what’s the bounce rate per country, and more.
Let’s take a very simple example and see the browsers and operating systems people use depending on the country they live in. To do that, go to Geo -> Location and then choose Browser as a secondary dimension:
The next sub-report in the Audience section is Behaviour which gives you more information on how many new visitors you have and how many are frequently returning to your site, as well as how much time they spend on your site.
This section is very important so let’s take them one by one:
- New vs Returning shows you how many users are visiting your site for the first time and how many of them return. While it’s great to have loads of new visitors, it’s also very important to keep them coming back to your site. So if both these percentage are high (50-50, 60-40), kudos to you!
- Frequency & Recency tellyouhow often your returning visitors are coming back to your site. You can also view the Days since last visit report which shows you how many days have passed since the last time your return visitors have been on your site.
- Engagement shows you two metrics: Session Duration (how much time a visitor has spent on your site) and Page Depth (or how many pages a visitor viewed). You want a high number of visitors that are viewing more than one page, and are spending more than a few seconds on your site. The more time they spend and the more pages they visit, the more interested they are in what you have to say or offer.
Two other very useful reports in the Audience section are for technology and mobile statistics.
- The Technology tab tells you which browsers and operating systems your visitors are using to access your site.
- The Mobile tab tells you how many people are accessing your site using a mobile or tablet device. Plus, you’ll even get to see which specific mobile devices they’re using.
Here’s how the Mobile Overview looks:
Why is this useful? Well, think about it: if you discover that a high percentage of your visitors are using their smartphones to visit your site (like in the above screenshot, for example), this is a clear sign that you need to create a mobile-friendly version of your site to ensure your site is displayed properly on desktop and mobile as well.
What’s more, if you’re considering developing a mobile application for your site, looking at this data you’ll know if you should focus on one that’s compatible with iOS, Android or Windows Phone.
You can go even further. Select Mobile -> Devices and as a secondary dimension select City:
This will show you which mobile devices users from specific cities use. So if I develop an app, I’ll know to make it compatible with iOS and Android.
The last report is for Users Flow which features a cool flow chart that shows you exactly how visitors navigate through your site: where they came from, which page they landed on and which page they were on when they left the site.
From the top drop down menu you can choose different starting points. For example, maybe you want to see the complete journey of visitors coming from social networks. Choose Social -> Social Network from the drop down menu and visualise their journey through your site.
2. Acquisition: How are people finding my site?
This section is one of the most important in GA. That’s because it shows you exactly where your traffic is coming from which helps you determine if your search engine optimisation efforts are paying off.
Your traffic should come from various channels (paid search, direct, social, etc), and not from a single source. Why? Imagine most of your organic traffic comes from Google and they release an algorithm update that drops your rankings from the first page, down to the 20th page. That would be a disaster! People wouldn’t be able to find you via Google and visitor numbers would fall sharply.
However, if only 30-40% of your traffic comes from Google, in the event of an update that negatively impacts your rankings, your site will survive as you’ll still get some traffic from other sources. This will somewhat compensate for a huge drop in traffic coming from Google’s search engine results pages.
To see exactly which blogs, websites, directories, search engines and social networks are sending you the most traffic, you’ll want to take a look at each of the sections under “Acquisition”, including:
- All Traffic which tells you how someone discovered your site. It includes everything from users typing your domain name into their browser to clicking on a search result to clicking from another website.
- All Referrals is a bit more specific as it only includes visits from people who landed on your site after clicking on a link from another website. So this section doesn’t include search traffic and direct visitors but it’s a great way to check traffic coming from external sites where you might have published a guest post.
- Social provides some insightful information about your social media efforts. You will not only get to see which social networks are sending you (the most) traffic but also which pages were most popular on each social network.
For example, if you go to Social -> Overview you’ll see which social networks are sending you traffic:
If you click on any of them, say Facebook, you’ll see the top pages on your site that people visited from Facebook. This is useful as it lets you know what type of content your fans find most interesting or useful. Based on this you can determine what works and what other similar content you can create that your audience might enjoy.
Now, if you use AdWords, GA also lets you see detailed reports for traffic driven by your ads, including campaigns, keywords and keyword positions, search queries, hour of the day when most people clicked your ads, and much more. These reports will not only show you the number of visits each campaign generated and how many pages each visitor viewed per visit, but also your total goal completions and the revenue generated from each. These two metrics are very important as they tell you how well your ads are performing.
If you look at the Keywords tab you’ll notice that it’s a bit poor. Plus, when you go to Organic there’s this annoying (not provided). A year ago this was filled with keywords people used to reach your site. But not anymore, not since Google went dark on keywords, allegedly to protect the privacy of its users.
Don’t despair as the Search Engine Optimization section can come in handy as it’s where you can find the search queries people used to get to your site. However, to get access to this data you’ll need to connect your site in Webmaster Tools to your Google Analytics account. Here’s how.
Now let’s use dimensions to filter some data.
For example, you may want to see what you top landing pages are on each social network. Simply go to Social -> Landing Pages and then select Social Network as a secondary dimension.
This lets you see what type of content works best on each social network so you know what to focus on moving forward.
Or you could select Time -> Day of the week as a secondary dimension to see which day of the week your URL were most shared:
This can give you an idea of the best days to share content on social networks. So if you have something important to share, look at this data to see on which specific day it’s best to share it to reach more users.
3. Behaviour – What content do my visitors like most?
This is an extremely important area of GA and probably the one you’ll visit most often as it includes vital information on your most popular pages, how fast your site is loading as well as what people are searching for on your website.
Let’s take them one by one.
3.1. Site Content
I’ll never get tired of saying this: Content is the heart of your website! So if you want to find out if yours gets read and which pages or blog posts are most engaging, go to Behaviour -> Site Content -> All Pages.
Here’s how to interpret the most important metrics:
- Pageviews/Unique Pageviews: These two metrics are different. While a Pageview is recorded each time a page is loaded (meaning that if a visitor is on a page and clicks refresh or goes to another page and then uses the back button to return, it counts as a second pageview) while a unique pageview refers to the number of times a unique visitor loaded the page.
- Avg. Time on Page: This is an average measure of how long a visitor stayed on that page. If the average time on a page is a few seconds it means that visitors didn’t find what they were looking for. Now, if users spend more time it means that they found it interesting or useful.
- Bounce Rate: This is the percentage of users who only visited one page in their session. Don’t read too much into a high number as it may mean two things: either they didn’t find what they were looking for (which isn’t good) or they found it quickly which means your site is awesome.
Now, if you have a big site with loads of pages organised in different categories you can go to Content Drilldown to see how these categories are performing. This section is particularly useful for sites with hundreds of pages such as online shops.
For example, say you have a sports equipment store and have different sections on your site such as: swimwear equipment, running equipment, golf equipment etc. You can go to Content Drilldown to see how the swimwear equipment category performed during a specific time period, like summer or winter, or how it performed this year compared to last year. This way you’ll know that if traffic drops in the winter for swimwear equipment, it’s because, well, how many people swim during winter?
The Site Content area also shows you the top Landing Pages on your site, meaning the pages most visitors land on as well as your top Exit Pages, which are the pages most visitors leave. Pay attention to the exit pages as these can provide clues as to where your visitors might be getting stuck.
To get more from this section, you could go to All Pages and then use Title (under Behaviour) as a secondary dimension. This will show you which pages have duplicate or missing titles.
3.2. Site Speed
Be sure to check this report to ensure that your pages are loading fast because if they take too long to load, you visitors will get frustrated and leave.
Most web users wait six to ten seconds for a page to load before they exit, according to a Kissmetrics survey. Also, an Amazon study showed a 1% decrease in sales for every 0.1s decrease in response times. In addition, page speed is linked to better rankings and user engagement. So make sure you check this report to ensure that no visitor is abandoning your site because it takes too long to load.
What does this all mean? It means that it’s best to have an average server response time under 1 or 2 seconds. The average server response time refers to how fast your server responds to a request for a page from your site and starts sending data to the visitor. When it comes to your average page load time, this should preferably be under 10 seconds.
If you go to Speed Suggestions, Google will recommend some things you can do to improve your site speed so don’t skip those as they can have a big impact on your website’s performance.
3.3. Site Search
Check this section only if you have Google’s search tool installed on your website which allows people to search directly on your website. There aren’t many visitors who run a search directly on the site as many have already landed on a specific page after running a search on Google, but some do so it might be worth checking.
If you go to Search Terms you will see what people typed in the search box which gives you an idea of what they were searching for on your site. Looking at this data you might get some ideas on what your audience is looking for and maybe create some new content based on those search queries.
The other reports – Events, AdSense, Experiments and In-Page Analytics are a bit more advanced, but if you use AdSense or have programmed Events into your site’s code, this is where you’ll be able to monitor them.
Here’s a short description of what these can help you with:
- Events – Add a code to your links and track events such as how many people downloaded a whitepaper that you’ve published. Here’s a guide to help you set up event tracking in Google Analytics.
- AdSense – If you want to integrate your AdSense account with your Analytics account and see which pages or content on your site generate more ad clicks and revenue, this is where you should go.
- Experiments – This tool lets you perform experiments with your web pages using different design variations to improve its performance.
- In-Page Analytics – A pretty awesome tool, it shows pages on your website with Analytics data overlaid on top of the pages. Definitely worth checking out.
4. Conversions – How much is my site converting?
Conversions are broken down into two categories: goals and ecommerce.
To track goals, you’ll need to tell Google which actions to track and log as conversions, for example: buying a product, downloading a whitepaper, signing up for a webinar, filling out a contact form.
There are four different types of goals. Some may be pages on your site you want visitors to reach such as a thank you page after someone has registered for a webinar or placed an order. You can also set a goal for a length of time spent on your site, the number of pages per visit, or an event.
You can also set up a funnel, or a series of pages leading up to your goal page which would allow you to monitor users’ journey. This is very useful as you get to see at what point users abandon the conversion process. So rather than wondering what went wrong, you can see exactly where the user decided to abandon the action and figure out what you can do to make sure people convert in the future..
To learn how to set up goals and conversion funnels, watch this useful video:
E-commerce conversions are much more complicated to set up, and require inserting code on your website. You can find more information about ecommerce tracking in the Google Analytics help files.
5. Creating custom reports
Rather than digging into the information GA provides in its pre-defined sections, why not create your own custom reports and filter the data based on what you think is important?
To create a new report, go to Customisation and then click on New Custom Report.
Here is a step-by-step tutorial that explains how to create a custom report in GA.
If you don’t know what custom reports to create, check out these posts for some great ideas:
- My top 5 most used custom reports in Google Analytics
- 18 useful Google Analytics custom reports, segments and dashboards for SEO
Now that you know how to create your custom reports, there’s nothing stopping you from improving every bit of your website.
If you made it this far, congrats!
While I tried to cover as much as possible, Google Analytics is huge so there’s much more to discover. But hopefully this guide will help you get started with a few of the neat parts of it which can help you improve your site.
You can also check out the following super-useful resources:
- Did you know Google Analytics can do this?
- Google Analytics resources for beginners to advanced users
- The small business guide to Google Analytics
- General resources: Google Analytics Help Center, official forum and official blog
Do you have anything to add? I’m sure I missed things, so please add your suggestions or questions in a comment below.