Decibel Insight
Knowledgebase

Goals

Goals are events that occur within a visitor's journey that bring them closer to the purchase of a product or service. Goals may optionally have an attached value (the value of the products or services the visitor purchased).

An example of a goal may be downloading a whitepaper, viewing a video, completing a contact form, registering for an account, making a purchase, or interacting with a specific piece of content.

Once created, goal data can be seen using Segments.

Configuring Goals

Goals can be created by going to Settings > Goals from your Decibel Insight account. Click the Add Goal button where you will presented with the following screen.

You will need to assign a name to each goal that you create, while a description is optional. You can also change the status of a visitor based on goals they achieve through the Change status to drop-down menu. For example, on an e-commerce website, the “Add to Basket” goal may have a status of “Engaged”, while the “Checkout” goal would have a status of “Converted”.

You can then select the Integration method which determines how the goal is triggered, where you will see the following options:

F.A.Q. How to identify selectors when creating goals

Please note: There is currently a limit of 200 characters in the selector field and a goal count limit of 8,000 total characters for all goals (including name and selector) when using the "On-click Event" Integration method. If you find you reach this limit, we would recommend using the Decibel Insight JavaScript API Call method.

Triggering Goals

As mentioned above, if you select JavaScript On-Click Event, then you can simply add the selector into the text box which will trigger that goal on the relevant clicks.

Goals can also be triggered by Rules when a certain condition is met, such as viewing a specific page, spending a certain amount of time on the website, or making a return visit to the website.

In some cases, a goal may need to be tracked based on a user's interaction on a web page. In these scenarios, the Decibel Insight JavaScript API is the most appropriate method for tracking a goal.

You can find the relevant goal code for any goals that you have created by going to Settings > Goals and clicking the Show integration code button (below).

When triggering through the API call, you can also pass a value along with the goal, such as in the example below which is being triggered when a particular element on the page is clicked:

</div>
<!-- end content -->
<script type="text/javascript">
$('#checkoutButton').click(function() {
decibelInsight('sendGoal', 'Checkout', dataLayer.basketValue);
});
</script>
</body>
</html>

The sendGoal end-point triggers the goal within Decibel Insight. The second parameter is the goal name and the third parameter describes the monetary value of the goal and may be omitted. In this example, the third parameter refers to a JavaScript variable that has been defined in the website’s data layer, containing the monetary value of the transaction.

Editing Goals

To edit a goal, simply click the Edit icon next to the relevant goal (above), where you will presented with the same option as when you were creating the goal.

Deleting Goals

To delete a goal, simply click the Delete icon (above) on the Goals dashboard next to the relevant goal that you want to delete.