There are two main uses of goals:
- Analytics. Understand the aggregate interests of users who convert against a goal, such as topics that interest users who subscribed to a newsletter.
- Measurement. How many users go on to convert against each goal after clicking on a content recommendation.
You can track conversions against a goal by tracking a conversion event, typically done in your tag management system (though goals can be hard-coded into your pages as well). Conversion events can be any action captured by website visitors – a form completion, a page view, a click on an element, etc. The goal itself captured is only a conversion event – no other information can be passed to the service for tracking such as transaction amount or custom attributes about the unique visitor.
The goal name can be up to 255 characters. If the goal does not already exist, it is created.
For example, you can record a conversion against the Subscribed to Newsletter goal:
<script> _iaq.push(['goal', 'Subscribed to Newsletter']); _iaq.push(['track', 'convert']); </script>
The timing on when your goal tag is fired is crucial. Make sure that your Content Recommendations page tracking has fired on your page before the goal is registered. Tag sequencing assures that the site tracking tag registers first on the page before the event is captured. See also: Tracking your Site.
Sample trigger for Booking Confirmation goal in Google Tag Manager:
Sample tag script in Google Tag Manager:
Sample tag sequencing settings in Google Tag Manager:
You cannot manually remove goals from your dashboard. To remove goals, contact customer support and provide the name of your environment and the goal you want to remove.
Updated 6 months ago