With Omniconvert you can track 3 different types of goals: engagement, pageview, custom (sale, click, mouseover etc).
For engagement and pageview types, we take care of everything, you don’t need to do any kind of technical integration.

In this article we will talk about the custom ones.

A custom goal is a goal which can be triggered wherever you want, but which needs explicit integration.

How to create a custom goal?

Every time you create a new custom goal, a javascript code is generated.

How to integrate a custom goal?

The conversion tracking code looks like the one below and can be integrated in any known JavaScript event, such as: onclick, onload, onmouseover, onmouseout, onfocus etc.

  • NAME – the name of the goal, as Omniconvert defines it
  • VALUE – its numeric value. Some goals are selling goals, so it is necessary that this parameter receives the value of the conversion (in a 12345.67 format, without a currency attached). If the conversion is void of value, the number is 0.

Good to know

A page allows as many goals as needed. The general tracking code must be installed on each page where the conversion code is used.
The parameter VALUE accepts negative numeric values.