Goals

A goal is an action on your website that counts as a conversion, such as a completed order or a newsletter sign-up. WiQhit measures a goal for every visitor, even if they have not seen a widget, and uses it to determine the effect of your widgets and A/B tests.
Goals
At the top right, click Settings, then Data and audiences and then Goals.

The overview

For each goal, the overview shows:
  • ID and name: with a short description below of what is measured.

  • Default goal: a tick marks your most important goal.

On the dashboard you filter the figures by one goal or by All goals.

Creating a goal

  • Click + Goal.

  • Under Name, enter a recognisable name, for example Order completed.

  • Under Behaviour, choose what the visitor must do. See the Behaviour section below.

  • Fill in the fields that belong to that behaviour.

  • Under Default goal, choose whether this is your most important goal.

  • Click Create.

The Create goal window

Note: A goal counts at most once per visit.

Behaviour

You can measure these types of behaviour:
  • webpageByUrl: the visitor views a certain page. Under URL, enter a recognisable part of the address, for example demowinkel\.nl/bedankt. WiQhit searches for this pattern in the address and ignores upper and lower case.

  • querystringVariable: the visitor views a page with a certain parameter in the address, such as ?bron=nieuwsbrief. Enter the URL, the name of the parameter under key and the value under value.

  • pagetype: the visitor views a page of a certain Page type, such as the thank-you page. You set up page types under Pages.

  • clickedById, clickedByClass and clickedByHref: the visitor clicks an element. Enter the URL of the page on which the click takes place. In the second input field, enter the id, the class or the link address of the element.

  • customName and customNameValue: your website itself passes an event to the WiQhit script, with a name and optionally a value (for example newsletter_signup). Enter the name, and for customNameValue also the value.

  • purchase event: the visitor completes a purchase. You do not need to fill in anything for this.

  • personalizationNextPage and personalizationNextPagetype: the visitor has seen a certain widget and then views a certain page or a page of a certain page type. Choose the personalisation and enter the URL or choose the page type.

For behaviour with a URL, there is also the Compare field.

Tip: Under Compare, choose contains if in doubt: this is how measuring works in practice.

Considerations

  • The URL field uses regular expressions. A full stop means any character; use \. for a literal full stop. With % you create a wildcard, for example /bestelling/%/bedankt.

  • For clickedById, clickedByClass and clickedByHref, the second field must be exactly the same as what is on the page. For a button with class="btn add-to-cart" you therefore enter btn add-to-cart. If you only want to match part of it, use %, for example %add-to-cart%.

  • For customName and customNameValue, the name may be part of the event name. The value must match exactly, including upper and lower case.

Editing or deleting a goal

  • After the goal, click ⋮.

  • Choose Edit or Delete.

A deleted goal disappears from this overview and from the options on the dashboard.

See also


Copyright © 2026 Ternair.