Article sections

    With Omniconvert you can create and track three different types of goals: onclick, pageview and custom goals (sale, click, mouseover, etc).

    Onclick goals

    This type of goal is the easiest to implement and it helps you keep track of how many visitors clicked on a certain element on your page.

    You can create an onclick goal in the WYSIWYG editor, in any A/B test or personalization experiment.
    To do so, in the variation editor you need to click on the element that you want to track clicks for and select from the menu the options ‘On Click Actions -> Track click’.

    Once you select this option, you will notice a red border around the element that is being tracked, which is applied to all the variations:

    Note 1: An Onclick goal will only be available within the current experiment, it is not a global goal that can be reused in future experiments.

    Note 2: If the element that you wish to track clicks on the Variation exists on the Control as well, the data will be registered for both of them

    Pageview goals

    The page view goals allow you to track how many people viewed a
    particular web page.

    It is very simple to create and track one since you don’t need any kind of technical integration.

    In order to create a page view goal, go to the left main menu and select Goals. Click on New Goal and the following window will appear:

    All you have to do is enter a goal name, select the goal type to be Pageview, select the condition from the list and enter the URL on which you want to track the visits.

    Custom goals

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

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

    After naming your goal, click ‘Save’ and wait for the snippet of code to be generated.

    How to integrate a custom goal?

    The conversion tracking code looks like the one below and can be integrated into any known JavaScript event, such as on-click, on-load, on-mouse-over, on-mouse-out, on-focus etc.

    This is how a snippet of code for a goal implementation looks like:

    • NAME – the name of the goal, as Omniconvert defines it (in the above example, ‘custom-one’).
    • 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. You can set up different goals, on different elements, on the same page.
    • The pageview and the custom goals are global and you can find this type of goals that you have created in the main menu, choosing the option ‘Advanced -> Goals’. This means that once implemented, you can reuse them in any future experiment.
    • The general tracking code must be installed on each page where the conversion code is used.
    • The parameter VALUE accepts negative numeric values.
    • Each Custom goal you create will be automatically saved in the ‘Goals’ section so you can later use it in different experiments.
    omniconvert custom goal details

    Was this post helpful?