Making Goals Easy with Google Tag Manager

Estimated Reading Time: 5 minutes

Goals are one of the most powerful tools in Google Analytics.  They give you the ability to track your business objectives on your website or mobile application.  But what is the easiest way to set up efffective and meaningul goals?  Google Tag Manager makes the process easy, and you won’t need a developer to make it happen!

Goals in Google Analytics

4 Types of Goals

Destination

Destination goals are based on reaching a certain page on a website or a certain screen on a mobile app. When the user reaches that destination, the goal is triggered in Google Analytics. Destination goals are the only goal type that allow you to set up a funnel. This is done by entering the URL of each step in the funnel. If you select Required for the first step in the funnel, then only users who enter the funnel at that page and then proceed to the goal destination will be counted as a goal conversion in the Google Analytics Goal Funnel report.

Duration

Duration goals are simply goals based on how long a user is on your site. It is important to understand how session duration is calculated, however. Google Analytics tracks time between pages when there are multiple page views, and then adds on any time between the final page view and any engagement interactions (events, etc.). This is not a precise measure, but the only way Google Analytics can calculate it. For more on this, see Justin Cutron’s blog post explaining how time is calculated in Google Analytics.

Pages/Screens per Session

This goal type is triggered when a user views the designated number of pages on a website or screens in a mobile app.

Event

Event goals are triggered when an event occurs in Google Analytics that you have specified. Events typically have categories, actions, and labels (labels are optional) associated with them. They will also sometimes have a value. This will depend on how your events are implemented.

Using Google Tag Manager to Make Goals Easy

Virtual Pageviews

Virtual pageviews allow you to use destination goals when the actual URL of the page doesn’t change. This can be handy in a variety of situations: shopping carts, registration processes, and any other process that has multiple steps where the URL doesn’t change. Basically, you need to tell Google Analytics a new page is being viewed when it isn’t. In the old days, you used to have to hard code a page view in the source to do this. But with Google Tag Manager, it is now easy to set up virtual pageviews. Once you have figured out where you want your virtual pageview to fire, it’s a snap to set up in Google Tag Manager.

Step 1:

Create a new tag in your container:

Click the red New button and select Tag.

Step 2:

Pick your flavor of Google Analytics

*Note* If you are getting ready to select Classic Google Analytics click here and let’s talk about migrating you to Universal to get the most out of your data

Step 3:

Link this to your Google Analytics Tracking Number and select Page View as Track Type.

Step 4:

Assign a virtual URL to your virtual pageview

Step 5:

Assign a firing rule

How you set up your firing rule will depend on how your site is implemented. There are several choices here. You could listen for a button to be clicked. You could listen for an event you have coded into the site to fire. You could listen for a form to be submitted. Just use the basic principles of Auto-Event Tracking for this step (much more on this below).

Step 6:

Test and Publish

Once you have your virtual pageview working correctly, you can publish the container within Google Tag Manager.

Step 7:

Align the Goal in Google Analytics with your Virtual Pageview

Now the work comes to fruition. Simply enter the virtual URL from your tag into the Goal URL (or funnel step URL) in Google Analytics.

Auto-Events

Use Auto-Events in Google Tag Manager to trigger event goals. For most auto-events you will need to have the basic event listener tags set up. To see how to do this, check out Justin Cutroni’s blog on auto-event tracking. Once this is set up, use the following steps to send events to Google Analytics to trigger goals.

Step 1:

Create a new Google Analytics event tag

Populate the Category, Action, and Label parameters with appropriate information for the event you are firing.

Step 2:

Create a firing rule

Refer to the description above on how to set up a firing rule.

Step 3:

Test and Publish your container.

Take it live if it works!!! More on testing Google Tag Manager here.

Step 4:

Align your Google Analytics Goal with the Event Parameters

Populate the Category, Action, and Label with whatever you entered into your Google Tag Manager tag.

Go Goal Crazy!!!

Goals are one of the most valuable tools in Google Analytics. They allow you to track conversions and ROI. It is vital for all Google Analytics users to set up meaningful and accurate goals. If you want to learn more about goals or if you have any questions about your particular Google Analytics or Google Tag Manager setup, please contact us. We would be happy to help!



Subscribe to the InfoTrust Blog


 
Facebook
Twitter
LinkedIn
Email
Last Updated: November 9, 2022

Other Articles You Will Enjoy

The Latest on the EU – US Data Sharing Agreement

The Latest on the EU – US Data Sharing Agreement

On October 7, the White House announced an “Executive Order: On Enhancing Safeguards For United States (US) Signals Intelligence Activities.” President Biden did this…

8-minute read
The Latest on the UK Data Reform Bill

The Latest on the UK Data Reform Bill

On June 17, 2022 a press release from the United Kingdom (UK) Government’s Department for Digital, Culture, Media & Sport (DCMS) and The Rt…

7-minute read
Ohio Personal Privacy Act: What Marketers and Advertisers Need to Know

Ohio Personal Privacy Act: What Marketers and Advertisers Need to Know

Much has been made about 2023 being the year of reckoning for privacy regulations in the United States, with five states having new regulations…

10-minute read
Patchwork Privacy: U.S. State Legislation Roundup

Patchwork Privacy: U.S. State Legislation Roundup

Privacy protections in the United States take a big leap forward in 2023 with five states having new privacy laws going into effect. This…

16-minute read
U.S. Privacy Enforcement Heats Up: 1.2 Million Reasons to Respect Privacy Rights

U.S. Privacy Enforcement Heats Up: 1.2 Million Reasons to Respect Privacy Rights

On Aug. 24, California’s Attorney General announced a settlement for $1.2 million with a powerhouse beauty retailer (Sephora) due to a violation of consumer…

7-minute read
The Future of U.S. State Consumer Privacy Bills

The Future of U.S. State Consumer Privacy Bills

In an age where technology and data are ubiquitous, it is more important than ever to protect the information of individuals. Personal data can…

7-minute read
GDPR Compliance & Google Analytics: The Danish DPA Weighs In

GDPR Compliance & Google Analytics: The Danish DPA Weighs In

The plight of Google Analytics in the EU continues as the Danish DPA issued a press release regarding the use of Google Analytics for…

10-minute read
How to Respect Consumers and Keep Them Coming Back

How to Respect Consumers and Keep Them Coming Back

You’ve seen the statistics. It’s no secret that in today’s marketing environment users expect a higher level of personalized communication while at the same…

6-minute read

Get Your Assessment

Thank you! We will be in touch with your results soon.
{{ field.placeholder }}
{{ option.name }}

Talk To Us

Talk To Us

Receive Book Updates

Fill out this form to receive email announcements about Crawl, Walk, Run: Advancing Analytics Maturity with Google Marketing Platform. This includes pre-sale dates, official publishing dates, and more.

Search InfoTrust

Leave Us A Review

Leave a review and let us know how we’re doing. Only actual clients, please.