Analyze
Set up conversion goals in Loogika
A goal is something you want a visit to end in, such as a sent contact form. You define the goal once. Loogika then counts the sessions that reached it and works out the conversion rate.
Last updated . This guide belongs to Custom events and goals.
Which goal types are there?
| Type | Counts a session when | Value |
|---|---|---|
| Page | The visitor opens a page that matches | Required. A path that starts with / |
| Event | Your site sends the custom event | Required. The event name |
| Outbound Link | The visitor clicks a link to another domain | Optional URL pattern |
| Button Click | The visitor clicks a button | Optional pattern for the button text |
| Form Submit | The visitor submits a form | Optional pattern for the form name or ID |
| Copy | The visitor copies text | Optional pattern for the copied text |
For the last four types, an empty value counts every interaction of that type.
Button clicks, form submissions and copy events must be turned on under Site Settings, Tracking, in the Auto Capture section. A goal only counts interactions collected after you turned the type on.
How do you create a goal?
Click Add Goal. The Create Goal dialog opens. Choose the type, enter the value and click Create. The name is optional.
For a page goal, the form suggests paths that visitors have already opened.
How do patterns work?
| Goal type | * matches | ** matches | Example |
|---|---|---|---|
| Page | One path segment | Several segments | /checkout/*/done |
| The other types | One or more characters | The same, and also nothing | Start * Trial |
A page goal takes a path, not a full URL.
How do you narrow a goal with properties?
A goal can require specific values in addition to the page or the event.
| Goal type | You can filter on |
|---|---|
| Page | URL parameters, such as utm_source |
| Event | Event properties, such as plan |
| Captured interactions | url, text, formName, formId or formAction |
All the filters on a goal must match before a session counts.
What does a goal show?
| Number | Meaning |
|---|---|
| Conversions | Sessions that reached the goal. A session counts once |
| Conversion Rate | Conversions divided by all sessions in the period |
Goals follow the date range and the filters you have set on the page.
Click a goal to open Converted Sessions, the list of sessions behind it. Each one shows entry and exit page, duration, location, device and referrer.
A public dashboard does not show the session list. A private link shows it without personal data.
Questions about goals
Is the number of goals limited?
No.
Why does a button with data-loogika-event not count as a button click?
A button with that attribute sends your custom event in place of the generic click. Create a goal of the type Event for it.