> For the complete documentation index, see [llms.txt](https://docs.optibase.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optibase.io/features/conversions/create-a-conversion.md).

# Create a Conversion

*If you using Webflow then you should follow the guide here:* [Optibase Webflow App](/webflow-app/optibase-webflow-app.md)

*How to connect a Conversion:* [Connect a Conversion](/features/conversions/connect-a-conversion.md)\
\
To measure the impact of your tests, you’ll need to create and configure conversions — actions that indicate success, like form submissions, button clicks, or page views.

❗️If you’re using Webflow, follow this guide instead:

👉 Setting up Conversions in Webflow

***

### How to create a Conversion

1. Go to the Conversions page from the left-hand menu in your Optibase dashboard<br>

   <figure><img src="/files/2hbhMiP4ccm0qsjJCPYQ" alt=""><figcaption></figcaption></figure>
2. Click the New Conversion button in the top-right corner<br>

   <figure><img src="/files/4qHsWHghG2GDIFNutMZj" alt=""><figcaption></figcaption></figure>
3. Give your conversion a clear name
4. Choose a Conversion Type from the following:<br>

   <figure><img src="/files/1EjZ87PKPzD7SGvCJHhp" alt=""><figcaption></figcaption></figure>

***

#### Conversion Types

**Page View**

Track when users load a specific URL.

You’ll need to:

* Enter the exact URL (or pattern) where the conversion should trigger

**Scroll Depth**

Track how far down a page users scroll.

You’ll need to:

* Set the target URL
* Choose the scroll depth (in percentage or pixels) that should trigger the event

**Time on Page**

Track how long users stay on a specific page.

You’ll need to:

* Set the target URL
* Define the minimum time (in seconds) that qualifies as a conversion

**Click**

&#x20;**(requires connection to a page element)**

Tracks clicks on a specific button, link, or element.

**Submit**

**(requires connection to a page element)**

Tracks when a user submits a form.

> After you create a Click or Submit conversion, you’ll need to connect it to an element on your page.

**Programmatic**

Trigger a conversion manually using JavaScript or from your server.

Use this when:

* You want to track custom user actions that aren’t tied to page structure
* You need to fire conversions from backend logic or 3rd-party tools

To trigger the conversion, use this function in your frontend code:\
`optibaseSendConversionEvent(userFriendlyConversionId)` JavaScript function.\
\
You can also trigger this conversion in two other ways:\
\
You can set up a Programmatic Conversion with Google Tag Manager: [Trigger Conversions with GTM](https://docs.optibase.io/integrations/trigger-conversions-with-gtm)

You can also trigger this conversion from the server: [Server-side Conversions](https://docs.optibase.io/how-to-setup-optibase/server-side-conversions)

***

### Managing Conversions

Once a conversion is created, you can click on it to:

* Edit its values (e.g. URL, scroll depth, time)
* Delete it if it’s no longer needed

You can reuse the same conversion across multiple tests or assign different conversions to different test goals.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.optibase.io/features/conversions/create-a-conversion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
