How to set up goals

Goals measure how often audiences complete a specific action. Learn how to set up a goal and how to add a goal value.

Why should I use goals?

With goals, you can track how often each audience completes a specific action. Additionally, you can give your goals a monetary value. Goals are tracked for all of your website visitors. On your Insights page, you can see how often a goal has been reached by each audience and how much additional value you have generated through personalization.

goals insights unless The image above shows how three audiences perform for the goal "book a demo".

Goal examples

If you haven't set up a goal yet, Unless will suggest some goal recipes to you.

goals insights unless recipes

How to set up a goal

A goal can be triggered based on page viewed, also referred to as destination URL. To set up a goal, give it a name (e.g. "book a demo") and define the page path (e.g. demo/demo-booked-successfully). You can set the page path using the condition "contains" or "equals".

goal-setup-unless-destination url The image above shows how we set up the goal "book a demo". We gave it a value of 100€.

Using "contains" vs. "equals"

In general, we recommend using the option contains. It will ignore all URL parameters your website might add to the page path. Example: demo/demo-booked-successfully?12345678.

If the URL parameters are important to destinguish different goals, use the option equals. Example: demo/demo-booked-successfully?demo-with-steve vs. demo/demo-booked-successfully?demo-with-john

Event-based goals

Instead of tracking whether someone arrived on a specific URL, you can also track actions (e.g button clicked). For this, you can use the event script and add it to your website via Google Tag Manager or Javascript.

goal-setup-unless-event2

Option 1: Add a custom tag to Google Tag Manager

This option is recommended if you're familiar with tracking events via Google Tag Manager. You can either create a new custom tag or add the script to an existing tag. goal unless 2

Option 2: Add goal script to your website using Javascript

Ask your developer to add the goal script to your website.

Goal value

Optionally, you can set a monetary value for goals. If you're located in the EU, the goal value will be displayed in Euro, in non-EU countries it will be displayed in USD.

Goals based on destination URL have a fixed goal value. With event-based goals, you can send dynamic goal values (e.g. basket value) to Unless. The setup process for dynamic goal values differs for each website but your developer will be able to do it in just a few minutes.

Control Group

The control group tracks how often visitors who haven't seen your personalizations achieved your goals. The control group can be set on a site-wide level (not separately for each goal). This assures that the visitor experience remains consistent - they either see personalizations or they don't.

control-goup-Unless-goals

Analytics

The goal data is displayed on the Insights page. Learn more.