Results & analytics

Goals

A goal is what counts as a success on your site: a click on your call to action, a form submit, a visit to your thank you page. Goals turn visitors into results, and your primary goal decides the verdict of every A/B test.

Where to find your goals

Open a site from Sites, then choose Goals under Results in the site menu. The page has three parts: the goals adfit suggests from your site analysis, the list of your own goals, and the Add goal button.

Goals are available on every paid plan. The counter in the Your goals card shows how many you have used, for example 3 of 25 goals.

What a goal is made of

Every goal has a name and at least one trigger. A trigger is the thing a visitor does. If a goal has several triggers, any one of them counts, so you can measure "booked a call" whether the visitor used the button in your header or the one at the bottom of the page.

  • A goal counts once per visitor and experiment, no matter how many of its triggers fire, and no matter how often.
  • A conversion is only counted for visitors adfit assigned to one of your campaigns. Someone who never matched a personalization is not part of your results.
  • You can have up to 25 goals per site and up to 5 triggers per goal.

Create a goal

  1. Press Add goal

    The dialog opens in the middle of the screen. Editing an existing goal opens the same dialog with its current values.

  2. Give it a name

    Use a name you will recognize in your results, for example Book a call or Newsletter signup.

  3. Add one or more triggers

    Pick a Type and fill in its details (see the five trigger types). Press Add trigger to add another one. When a button is locked, the reason is shown right below it: at the limit, Add trigger says A goal can have up to 5 triggers. and with a single trigger left, the remove button says A goal needs at least one trigger.

  4. Decide whether it is your primary goal

    Tick Make this the primary goal if this is the number that should decide your A/B tests. The first goal on a site is pre-ticked. When another goal is the primary goal today, ticking the box adds the line This replaces "{name}" as primary. It only shows while the box is ticked; unticked, nothing changes.

  5. Decide whether it counts in A/B results

    Count in A/B results is on by default. Untick it to track a goal without using it in experiments. The primary goal is always counted.

  6. Press Create goal

    adfit confirms with Goal created. and the goal starts collecting on your published campaigns.

Goals count from the next full day

A goal only counts visitors whose first visit in a run is on or after the next full day (UTC) after the run starts, or after you add the goal, change its triggers, turn its tracking off or on, or make it your primary goal, whichever is later. For a new goal, that keeps your conversion rate honest: visitors who arrived before the goal existed never had a chance to convert on it. After a trigger change, the same holds for visitors who arrived before the change. Making a goal your primary goal also starts it on the next full day, so numbers you saw before choosing it cannot decide its verdict. The visitor count in the campaign header starts right away, so it can be higher than the goal cards. What happens to a final read is explained in Reading A/B results.

The five trigger types

Click on an element

Counts when a visitor clicks a specific element, for example a button or a link. Choose the page under Pick from page, type a word into Filter elements to find what you are looking for, and press Use this element. adfit shows your choice as Selected: "Book a call", with the technical selector tucked away under Technical details.

Some elements in the list are greyed out and say adfit cannot tell this element apart from similar ones on this page. You cannot pick them, because a goal on such an element would also count clicks on all the similar ones. Pick another element, or enter a more specific selector under Advanced: enter a CSS selector. adfit checks this again when you save and rejects a new selector that it finds more than once on a page of your site.

adfit can only offer elements from pages it has already read. If a page says adfit has not read this page yet., capture it first on the Pages screen.

Form submit

Counts when a form on your page is sent. The picker shows the forms adfit found together with the buttons and fields of the page, never plain links. Form submit counts when the form you pick, or the form around the element you pick, is sent. Buttons outside a form never count. If your form is built in a way adfit cannot detect, open Advanced: enter a CSS selector and enter the selector yourself. adfit checks the selector before saving and rejects anything it considers unsafe. Forms that adfit cannot tell apart are greyed out in the same way.

If the page has no form at all, the picker only says No forms found on this page. Enter the form's CSS selector under Advanced.

Scroll depth

Counts once the visitor scrolls past a share of the page. Pick one of the presets (25%, 50%, 75%, 90%) or choose Custom... for any value from 1 to 100. Useful on long pages where reading far enough is the signal you care about.

Custom event

Counts when your own code reports an event. Enter a name (lowercase letters, numbers, dots, dashes and underscores, up to 64 characters) and adfit shows the single line you call on your site:

window.adfit.track('booking_confirmed')

Each event name can belong to only one goal per site. Setup, examples and testing are on Custom events.

Page view

Counts when a visitor reaches a given page, which is the classic thank you page measurement. Pick one of your pages or choose Other path... and type the path yourself, for example /thank-you. adfit compares the path only, so query parameters like ?utm_source=newsletter do not matter.

Thank you pages are the easiest start

If your site sends visitors to a confirmation page after a form or a purchase, a page view goal on that path is the most reliable goal you can set up. It needs nothing on your side beyond the snippet.

Goals adfit suggests

The Suggested by adfit card lists conversion points adfit found while analyzing your site, each with the text it saw on your page under Found on your site. Next to a suggestion's name, a label can show how adfit ranks it: Main conversion is adfit's top suggestion and Supporting marks the others. Some suggestions come without a label.

  • Add this goal creates the goal in one click. It appears when adfit has checked exactly what to measure on your pages. A line under the name tells you what the goal measures before you press anything, for example Measures clicks on "Book a demo", found on /pricing., Measures visits to /thank-you. or Measures visitors who scroll past 75% of a page.
  • Customize sits next to it and opens the goal dialog with the name and trigger filled in, so you can change anything before you save. Nothing is created until you press Create goal.
  • Use this suggestion is the way in for every suggestion without the one-click button. It opens the goal dialog with the name filled in and the trigger type chosen. If adfit found the exact element on your page, the trigger is filled in too; otherwise you pick the element yourself. Nothing is created until you press Create goal.
  • A suggestion you already added shows the badge Added instead of the buttons.
  • Suggest again runs a new site analysis and replaces the previous result. It uses the same monthly analysis allowance as the Site analysis card.

When at least one suggestion has the one-click button, the card says Based on your site analysis. Add a suggestion as a goal in one click, or customize it first. On the other suggestions, Choose what to measure in the next step. tells you that the next step is the goal dialog.

What one click does

Press Add this goal and adfit creates the goal with the suggested name and the one trigger shown in the line under it. The goal counts in A/B results from the start, like a goal you create yourself. adfit confirms with Goal created. and the message stays long enough to use Edit, which opens the new goal for editing. You can edit or delete it later from the row menu in Your goals. If a suggestion is already one of your goals, adfit says This suggestion is already one of your goals.

Which suggestions get the button depends on what adfit could verify, not on anything you did. The rules to know:

  • A click goal gets it only when the match is a button or a link on your page. If the closest match is a plain heading or text, adfit does not offer it in one click and shows Use this suggestion instead.
  • A click or form goal counts the element on every page of your site where it appears. That is why the line says “found on” a page and not “on” it. For a form without a label, the line reads “Measures submits of the form found on” the page where adfit saw it.
  • If a suggestion is so general that it could match many forms, buttons or links across your site, adfit does not create it in one click. It shows Use this suggestion instead, so you can check the element and pick a more specific one.
  • A custom event goal never gets the button, because it only measures once you add a small piece of code to your site. Its suggestion says This goal needs a small code on your site. The next step shows it. See Custom events.

If adfit cannot add a goal in one click, it says adfit could not add this goal in one click. and offers Open form, which opens the goal dialog with everything filled in so you can check the details. At the goal limit, the buttons stay off and a hint explains why.

One click and your primary goal

A goal added in one click does not become your primary goal on its own, with one exception: a Main conversion suggestion becomes your primary goal when your site does not have one yet. In that case the message says so: It is now your primary goal, because it is the main conversion and your site had no primary goal yet. You can change this under Your goals. In every other case the message reads You can edit or delete it under Your goals. and your primary goal stays as it is. This differs from the goal dialog, where the first goal on a site is pre-ticked as primary. If your site ends up without a primary goal, the Goals page reminds you with No primary goal: pick one from a row menu with Set as primary.

If adfit has not analyzed your site yet, the card says so and offers Analyze site. If the analysis found no clear conversion points, add a goal manually instead.

The primary goal

Exactly one goal per site can be the primary goal, and it is the one that decides your A/B verdicts. Every other goal is shown as Indicative: adfit calculates it the same way, but it does not decide anything.

  • To change it, open a goal's row menu and choose Set as primary. The previous primary goal keeps all its data.
  • Without a primary goal, adfit shows no verdict at all, and the Goals page reminds you with No primary goal.

Pick your primary goal before you read results

Choosing the primary goal after looking at the numbers, and picking the one that looks best, makes a result look stronger than it is. Set the goal that matters for your business first, then read it.

Manage your goals

Each row in Your goals gives you:

  • Tracking: turn the goal off without deleting it. A goal that is off collects nothing.
  • A/B results: whether this goal appears in your experiment cards. The switch is locked on for the primary goal.
  • The row menu with Edit, Set as primary and Delete.

Deleting a goal removes it and its conversion data from every experiment. Your personalizations keep running, and adfit warns you first if it was your primary or your only goal.