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 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 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 Cutroniâ€™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 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 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.
Create a new tag in your container:
Click the red â€œNewâ€ button and select â€˜Tagâ€™.
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
Link this to your Google Analytics Tracking Number and select â€˜Page Viewâ€™ as â€˜Track Typeâ€™.
Assign a virtual URL to your virtual pageview
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).
Test and Publish
Once you have your virtual pageview working correctly, you can publish the container within Google Tag Manager.
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.
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.
Create a new Google Analytics event tag
Populate the â€˜Categoryâ€™, â€˜Actionâ€™, and â€˜Labelâ€™ parameters with appropriate information for the event you are firing.
Create a firing rule
Refer to the description above on how to set up a firing rule.
Test and Publish your container.
Take it live if it works!!! More on testing Google Tag Manager here.
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!