> ## Documentation Index
> Fetch the complete documentation index at: https://tinyanalytics.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversion Goal Tracking

> Track conversions in tinyanalytics: define a goal from a page or a custom event, then measure how many visitors complete it.

A goal is a single outcome you want visitors to reach — a signup, a purchase, a visit to a key page. You define what counts as a conversion, and tinyanalytics measures how many sessions complete it over your chosen date range and filters. Goals are the simplest way to turn traffic into a success metric.

## How do I define a goal?

A goal matches one of three things:

* a **page** — a conversion happens when a visitor views a matching path,
* a **custom event** — a conversion happens when a visitor fires a matching [event](/docs/custom-event-tracking), or
* an **autocaptured interaction** — a conversion happens when a visitor triggers a matching [autocapture](/docs/autocapture-analytics-events) event (an outbound link, button click, form submission, or copy).

For a page or custom-event goal, you choose how the value is matched:

| Match type      | Converts when the path or event name… |
| --------------- | ------------------------------------- |
| **Exact**       | matches your value exactly            |
| **Starts with** | begins with your value                |
| **Contains**    | includes your value anywhere          |
| **Regex**       | matches your regular expression       |

Give the goal a name, and it starts tracking conversions.

## Can I turn an autocaptured interaction into a goal?

Yes. You can build a goal on any of four [autocapture](/docs/autocapture-analytics-events) event types without writing a custom event:

* **Outbound link** — matched against the destination URL
* **Button click** — matched against the button text
* **Form submission** — matched against the form's name, id, or action
* **Copy** — matched against the copied text

Pick the type, then add an optional **value pattern** to narrow it — for example, an outbound goal that matches only links to `*.stripe.com`. Patterns use `*` (any run of characters) and `**` (any characters, including slashes); **leave the pattern blank to count every event of that type**. As you type, tinyanalytics suggests real values it has already captured, so you can target something you've actually seen.

<Note>
  **`input_change` isn't a goal target.** Individual field changes are captured for the [Events explorer](/docs/event-analytics) but are too high-volume to build a conversion on, so they can't be used as a goal. Autocapture goals also can't aggregate [revenue](/docs/revenue-analytics) — attach revenue to a [custom event](/docs/custom-event-tracking) instead.
</Note>

## What do goal results show?

Each goal shows how many sessions converted and the conversion rate over your selected range. Because goals respect the dashboard's date range and filters, you can measure the same goal for different sources, countries, or time periods just by changing the filters.

Use the date picker at the top of **Goals** to change the reporting window. Select **Add filter** to narrow every goal on the page; active filter chips appear beside the controls and can be removed without editing the goal.

## How do I edit, clone, or delete a goal?

Each goal card carries three icon buttons for these actions:

* **Edit goal** — change its name, type, or matching rule.
* **Clone goal** — copy it as the starting point for a similar goal, so you don't rebuild a matching rule from scratch.
* **Delete goal** — remove it. Deleting a goal removes its definition, not the underlying pageviews or events, so recreating it brings the same history back.

## Should I use a goal or a funnel?

* Use a **goal** to track a single outcome — "did they convert?"
* Use a [**funnel**](/docs/funnel-analytics) to track a sequence of steps — "where did they drop off on the way?"

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Can I measure a goal for one country or traffic source?">
    Yes. Goals respect the dashboard's date range and filters, so you measure the same goal for different sources, countries, or time periods by changing the filters — no second goal needed. See [Filter your data](/docs/analytics-filters).
  </Accordion>

  <Accordion title="Can a tinyanalytics goal match a URL pattern or regular expression?">
    Yes. A goal matches a page path or a custom event name using one of four match types: exact, starts with, contains, or regex. Choose regex to match a regular expression, such as a family of paths under one section of your site.
  </Accordion>

  <Accordion title="Can I set a goal on a button click or outbound link without writing code?">
    Yes. A goal can target an [autocapture](/docs/autocapture-analytics-events) event — an outbound link, button click, form submission, or copy — with no custom event to write. Add an optional value pattern (with `*` and `**` wildcards) to narrow it, or leave the pattern blank to count every event of that type. Individual `input_change` events can't be used as a goal.
  </Accordion>

  <Accordion title="What's the difference between a goal and a funnel?">
    A goal tracks a single outcome — "did they convert?" — while a [funnel](/docs/funnel-analytics) tracks an ordered sequence of steps and shows where people drop off on the way. Use a goal when you only need the conversion count and rate for one page view or custom event.
  </Accordion>
</AccordionGroup>

## Related

<Columns cols={2}>
  <Card title="Funnels" icon="filter-circle-dollar" href="/docs/funnel-analytics">
    Measure a multi-step conversion path.
  </Card>

  <Card title="Track custom events" icon="hand-pointer" href="/docs/custom-event-tracking">
    Send the events you turn into goals.
  </Card>

  <Card title="Events explorer" icon="bolt" href="/docs/event-analytics">
    Find the events worth turning into goals.
  </Card>

  <Card title="Filter your data" icon="filter" href="/docs/analytics-filters">
    Measure a goal for a specific segment.
  </Card>
</Columns>


## Related topics

- [Autocapture Analytics Events](/docs/autocapture-analytics-events.md)
- [WooCommerce Analytics Integration](/docs/integrations/woocommerce-analytics.md)
- [A/B Testing Analytics](/docs/ab-testing-analytics.md)
