How to set up Event Goals in Google Analytics

July 16, 2021

Author: Cris Noble

Author: Cris Noble

Google Analytics is the most widely used tool to measure and analyze the performance, activity, and efficacy of a website. When you invest in your website, or marketing efforts that drive traffic to your website, it’s important to be able to measure your return on investment. Setting up Event Goals in Google Analytics will help you effectively measure your ROI.

At the beginning of a website redevelopment project, or the launch of a new digital marketing campaign, goals should be established to define what success would look like. Goals such as product sales, lead form submissions, contact form submissions, and newsletter signups are most common. When a user accomplishes one of these goals, that action is usually referred to as a conversion. Using Google Analytics to track these goals makes it easier to get a handle on the return on investment for your marketing efforts.

The Difference Between Events, Goals, and Event Goals in Google Analytics

The language and lingo used within Google Analytics can become confusing fast! Before we dive into how to set up Event Goals in Google Analytics, let’s first define what Event Goals are. 

What is an Event in Google Analytics?

You can set up events within google analytics to track any action that a user takes. Examples of events include clicking a specific button or link, playing a video, or scrolling all the way to the bottom of a page. 

Events like these can give you insight into website visitors’ activities that can help you make their path to conversion more clear. Events do not have to be tied to goals, and have their own reporting within Google Analytics.

image-8522384

What is a Goal in Google Analytics?

There are many types of goals that you can set up with Google Analytics. These goals can include duration, destination, and pages per browsing session. You can also tie custom events to goals, which is what we are interested in today. 

Once you create goals you will have a reporting tab within Google Analytics to analyze goals. By tying a goal to a Google Ads conversion, you can really start to see how your Ads are performing, as well as breakdown the cost per conversion.

image-7780009

What is an Event Goal in Google Analytics?

An event goal is simply a goal that is triggered by an event. We first send an event to Google Analytics, then set up goals based on that event. Typically you would tie goals to something such as a contact form submission or a product purchase—something that you want to count as a conversion. Other more trivial events that you might be tracking, such as video interaction events, don’t need to be tied to goals.

With those definitions out of the way, let’s dive into learning how to set up event-based goals.

5 Steps To Setting Up Event Goals In Google Analytics

Step 1: Decide on a Goal

Decide what type of goal or conversion you want to keep track of. This could be a product purchase, a resource download, or a form submission. 

In our example, we will keep track of successful contact form submissions.

Step 2: Define a Conversion

Define the user interaction that you want to count as a conversion. For the contact form submission example, we will count a successful submission as the conversion. 

If you wanted to track a content download, the button click could be the interaction.

Step 3: Create the Event

Create the Google Analytics event based on the interaction. 

There are two main ways to send Google Analytics an event beacon: Google Tag Manager, and by manually sending the event with javascript on your website. If the word javascript makes you uneasy, you should explore using Google Tag Manager, here is a good guide to get started with

If you are familiar with editing your website code, you should consider using the javascript method. The documentation is great, and you just need to add a listener to wait for the user interaction (button click, form submit, etc.) to fire the function. 

In either case, you will need to define three properties for every event: category, action, and label. 

For our contact form event we will use: 

  • category=form
  • action=submission
  • label=contact-form

Later, we might add conversions to other forms on the site, and we can adjust the label accordingly. We could also track failed submissions by changing the action to “fail” in those cases.  

Step 4: Create the Goal

Create a goal, and tie it to your event. 

Under “Admin”->”View” you will see a link to your existing “Goals”. Click on the link, and then click the “New Goal” button.

image-2594686

Give the Goal a name, and pick “Event” for the “Type”. You can leave the Goal Slot ID as whatever default it gives you.

image-3115701

On the “Goal details” panel we need to set up the goal to watch for goal details which will match the event we have created in Step 3. 

We use the “Category”, “Action”, and “Label” values from our event beacon. Get as specific as possible with these definitions so that you don’t catch additional events and trigger the goal. Click “Save” and your goal will be set.

image-5967533

Step 5: Test!

It might take a few days for your Event and Goal dashboards to populate with existing data, but you can run a test to make sure your Events are firing and your Goals are triggering. 

Open to the Realtime Events panel in your Google Analytics dashboard. In another tab, pretend you are a user, and perform the action you want to track. If you see an event blip come through, you are on the right track!

image-5195308
image-5416891

The next step is to go to the “Conversions->Goals->Overview” dashboard, change the date range to “today” and make sure you see a few conversion blips.

image-6626055

Now, you have a way to see in real time all the conversions taking place on your website!