There are quite a few tracking features in Google Analytics for which you have to do a bit more than just implement the UA-code on your pages. One of those features is the ‘goal’. The goal is a feature in which you can track one of the following things:
- how many people reach a designated page,
- how many people stay on your site for a minimum amount of time,
- how many people have viewed a minimum of pages on your website,
- how many people have triggered an event (such as watching a video).
We’ve noticed that people are often having trouble setting up these goals in Google Analytics. Not only are they stuck on how to set them up, but also on which goals to set up. Especially the latter really requires some thought. I’ll try and take you through that thought process in this post.
Why should I make goals?
Goals give you an enormous amount of extra and valuable information. With goals you can track if people are doing on your website what you want or expect them to do. There are always multiple things that people could do that would benefit you, so tracking how many people are doing that is invaluable.
That’s not all though. When you set up goals, you have the option to set up multiple steps, if you turn the option ‘Funnel’ on:
Use the funnel option
A funnel is basically the process people go through to buy one of your products, or to sign up for your newsletter. You can set up as many steps as you want, but I think the only reason to add a step is when it’s required. If a step is not required, it’s not part of your funnel, because people can also come from other pages. For instance, people will need to have viewed your page on a specific product, before they can actually add it to the cart and buy it.
But the best thing is yet to come! When you’ve set up a goal with a funnel, you can actually see how that goal is doing in the ‘Funnel Visualization’. This is a very visual and easy to understand representation of what’s happening with your goal.
It shows how many people entered every step, how many people went through to the next step, and how many people dropped off on each step. This makes it very clear where in your funnel you can improve things. And it shows you the percentages and the overall funnel conversion rate. How’s that for useful?
If you have an online shop, you might have a lot of products. When this number keeps growing, it’ll be hard to keep track of the sales of each product. Setting up your goals with funnels as I’ve shown above, will give you insights into how your products are doing, as well as showing you how the related pages are doing.
You’ll be able to see if your product page is actually getting people to add that product to their cart. And when people have added the product to their cart, you’ll be able to see how many of them actually bought the product in the end. You can see all that in the Funnel Visualization.
How do I create goals?
You can create goals in the ‘Admin’ section of Google Analytics. The Admin tab is found at the bottom of your left sidebar when you’re logged in to Google Analytics. Make sure you have the right account and view selected. When you click admin, there will be three “columns”, of which the most right will look like this, this column is called ‘view’. Here you can click on that red call-to-action button that says ‘+NEW GOAL’ :
You have a default of 20 goals. To get more, you need to pay, unfortunately. Clicking +NEW GOAL will give you this screen:
The options you can choose from speak for themselves as they come with examples of the sort of goals. You can also set up a custom goal, which sounds scarier than it actually is. Just try it ;-)
Once you’ve chosen one of the options above, the second step awaits. And that second step looks like this:
Making a goal using ‘Destination’ allows you to make a goal for people ending up on a certain page. For instance, if you have a contact form, and your contact form has a confirmation page, you can track everyone who has been on your confirmation page.
‘Duration’ allows you to track everyone who’s spent more than the minimum amount of time you set on your website.
‘Pages/Screens per visit’ does the same thing as ‘Duration’, just with pageviews. When people hit a threshold of a minimum amount of pageviews you’ve set, that ‘ll count as a goal completion.
The ‘Event’ goal is the hardest. This requires actual coding, as events need to have been set up first. Luckily, there’s this awesome tool called Google Tag Manager that allows you to easily create events. No developer needed! Events are pretty powerful: you can track how many times a video on your website was played, for instance.
Regular expression goals
When you’re creating ‘Destination’ goals, you’ll have these options:
The ‘Equals to’ is simply that. The URL people visit has to exactly match the URL you put in there. So if you have any campaign variables, or a subpage, it won’t be counted towards the goal.
The ‘Begins with’ is exactly the opposite: everything beginning with the URL you fill out will be counted toward your created goal.
The hardest is the ‘Regular expression’ goal. At the same time, this is the most powerful and precise option of the three. Regular expression, or regex, is a sequence of patterns that, if you know how to use them, can be very specific in its targeting.
Let’s say you have an online store with over 20 products, so you can’t fit them all in your free Google Analytics account. What you could do is create a goal for every brand you’re selling, using regex goals. Your destination goal will simply be the confirmation page after your checkout. And, if the brand you were wanting to track was Yoast, you could add a regex line like this:
This expression will simply track everything with /yoast/ in the URL. You have to be aware that every step in a regular expression goal and funnel should be written in regex. Also, be sure that your regex doesn’t match any other goals, or it will simply be counted twice.
What goals should I make?
“I have too much data!”, said no one, ever. Of course, people will be saying it from time to time, but you get my point. If not, here it is: try to make as many useful goals as you can think of. And there’s one very important word in that sentence: useful. There are literally millions of goals you could think of, but most of them will probably be completely useless for your website and/or business.
And that’s where the actual thinking comes in. You have to think about what you want your visitors to do on your website. Let me give you an example of what would be good goals for an online shop, in general:
- A goal for every product you have in your online shop, or, if it has more than 20 products:
- A regular expression goal for every product category/brand.
- A goal for your newsletter signup,
- A general goal for your sales.
Of course, you can be far more specific by tracking, for instance, how many people have viewed your product video, or how many people left a review of your product. It all comes down to thinking about what your website is for, and what you want people to do on it.
Assigning a value to your goals is important to be able to distinguish between your goals. If you don’t assign a value to your goals, you simply can’t see which of the goals is your most profitable goal. There are three ways in which you can assign values for your goals: actual values, average values or relative values.
Let’s say you offer a few services, all of which have one fixed price. People can hire you for these services, and they have to pay up front. In this case you should simply assign that price as the value of each goal representing a service. That way, you can simply see how many times a goal was completed and therefore one of your services was successfully requested.
In this case, it’s important that people actually have to pay up front because otherwise you’ll run into some trouble. Because even though the prices of your services are always the same, if people don’t have to pay immediately to finish the goal (order a service), there’s always the possibility they just won’t pay.
When people don’t have to pay up front, or you offer services or products that can have different prices (such as our plugins), or the specific goal generates leads, you need to assign average values. You can calculate average values in three different ways.
- When the prices of your products can differ, you simply take the average order value of the last period (at least one month). This way you’ll have a general estimate of what each order will yield, on average.
- When people don’t pay up front, there’s always a percentage of people that simply won’t pay, even after requesting the service. You’ll have to find out what that percentage is. If your service costs $100, and 40% of the people won’t pay, your assigned value should be set to $60.
- Things that don’t have a direct value, such as newsletter signups or social media shares, can still earn you money in the end. This is what people call ‘lead generation’. The best way to assign relative values would be if you knew the lead conversion rates. This means you know how many social media shares, for instance, it takes to sell one of your products/services. If it’s 1%, this would mean every share of a $100 service would be worth $1.
If you’re making goals for things that don’t actually earn you money, you can assign relative values. Relative values are simply values that show which of the goals are worth more to you. So, if you prefer people signing up for your newsletter over liking your Facebook page, you could assign the newsletter signup goal a value of 2, and your Facebook like goal a value of 1. Or, if you think twice as much is too much, you can assign them values of 3 and 2 respectively.
Obviously, we’ve made up these numbers, but it still helps you differentiating between each goal.
Doesn’t this take a lot of time?
This all depends on how big your website is, of course. However, if you own an online shop with a lot of products, the answer is simple: yes. Although it can be hard to find the time to set this all up decently and correctly, in the end it will be worth it!
So there are a few tips I have for you:
- Think about what you want to have goals for, especially if you’re on a free Google Analytics program: your goal space is limited;
- Use the funnel option. This makes the data from your goals far more insightful;
- If you understand regular expressions: use them. They’ll give you far more power and specificity than any of the other options;
- Add values to your goals so you can actually compare the performance of the goals.
Set them up!
So there’s really no excuse anymore to not set up your goals! In the end, you’ll be amazed you ever did without. And although you can make the ‘wrong’ goals, you won’t jeopardize your original data. It will only influence the data of your goals. Feel confident enough to try goals out!
Which cool goals did you set up? Let me know in the comments!
Read more: Tracking your goals with Google Analytics »
Coming up next!
- Event September 29 - 30, 2022 Team Yoast is Speaking SMX Advanced Berlin 2022, click through to see if we'll be there, who will be there and more! See where you can find us next »
- SEO webinar 27 September 2022 Our head of SEO, Jono Alderson, will keep you up-to-date about everything that happens in the world of SEO and WordPress. All Yoast SEO webinars »