# How to create an AI Conversion Optimize experience

AI Conversion Optimize uses user data and machine learning to show visitors the best webpage/landing page version for them. It constantly learns what works best for each type of visitor, making sure everyone sees the page most likely to interest them, for a smoother and more effective experience.&#x20;

AI Conversion Optimize is applied to the majority of your website’s visitors, typically around 80%. This allows the AI to gather sufficient data to determine if its optimizations lead to higher conversions compared to the default website setup.&#x20;

#### Create an AI Conversion Optimize experience

* Log in to the dashboard and navigate to the Experience page from the sidebar.
* Click on the '**Create Experience**' button.

<figure><img src="/files/yioco7TulrArQqNpc5xL" alt=""><figcaption></figcaption></figure>

* After giving your experience a name and a description, click the "**Create Experience**" button.

<figure><img src="/files/ZXPVsIqFLg5X5LoYxQjy" alt=""><figcaption></figcaption></figure>

#### Add page paths

Add the page path(s) on which you want to run AI Conversion Optimization. **For example**, if you want to run on the pricing page, then enter the pricing page path.

* Click on the '**Add pages**' button.

<figure><img src="/files/uzzVDDEqaW3scUkOTahn" alt=""><figcaption></figcaption></figure>

* From the drop-down, select the required option.
  * **Simple page path match**: It checks if the given page path matches exactly.
  * **Page path contains**: It checks if the page path contains the given text.

<figure><img src="/files/WtpB69YJq3JeFD9G7nt6" alt=""><figcaption></figcaption></figure>

* Enter the page path and click on the '**Add**' button.

<figure><img src="/files/6KiCyWXctihTK1WvImqB" alt=""><figcaption></figcaption></figure>

#### Create behaviors

You can create multiple behaviors (variations) on your website or webpage. When you create an experience, then by default, a default behavior will be created. This will be your default (control) website, and you will not be allowed to delete default behavior. To add the new behavior

* Click on the '**Add Behavior'** button.

<figure><img src="/files/uzzVDDEqaW3scUkOTahn" alt=""><figcaption></figcaption></figure>

* Then give a proper **Name** and **Description** for your behavior.
* Click on the '**Add'** button.

<figure><img src="/files/gnJuWEUlenRUBQvjGkyZ" alt=""><figcaption></figcaption></figure>

* To edit the webpage, click on the '**open visual editor**' button present on the respective behavior.

**Targeting audience**

You can target the AI conversion optimize experience to specific audience segments.  For example, if you want to run AI conversion optimize experience only to USA visitors with mobile devices.

* Click on the '**Add Rules**' button.

<figure><img src="/files/uzzVDDEqaW3scUkOTahn" alt=""><figcaption></figcaption></figure>

* Choose the **audience category** you wish to target from the popup.

<figure><img src="/files/8aUuJNEcNqGXMIALvLmS" alt=""><figcaption></figcaption></figure>

* Then, from the **attribute** dropdown, select one of the attributes. For the above example, the audience category will be geography, and the attribute will be country.
* Then, from the **operation** dropdown, select one of the operations, such as 'is one of' or 'is not one of' based on your requirement. For the above example, the operation type will be 'is one of'.
* Then, provide the **value** in the input field. For the above example, the value will be the United States. You can enter multiple values. In a few of the cases, you can see the dropdown option under the values section.
* Finally, under the **targeting behavior** dropdown, select the percentage rollout option. If you want to do an A/B test between default and one of the behavior then configure the value as 50% for default and 50% for the newly created behavior. And if you want to do the A/B test between two different behaviors then configure the value as 50% for both behaviors.
* Once the target audience is configured, make sure to click on the '**Save**' button.

#### Add goals

Running an outbound experience without a goal(s) is of no use. Goals define the effectiveness of an experience. **For example**, if you are running an outbound experience on the home page, then the goal event can be clicking on the signup button or the pricing page. You can choose different types of goals based on your requirements.

* Page: Number of visitors who visit the given page path after they are part of an experience.
* Click: Number of visitors who click on the configured element, such as a button click.
* Custom: You can create your own custom events and track them based on your requirements.
* Revenue: Tracks the revenue generated from an experience.

In the experience goals tab, perform the below steps to add a goal

* Click on the '**Add goals**' button.
* In the popup, select the type of goal event you want to add.
* Then select the goal event that you want to add.
* Enter the access code and click on the '**Add**' button.
* If you don't find your goal event, then you can create a new goal event by clicking on the '**Create a new goal**' option.

By default, the first goal event that you add to an A/B test will be considered the primary goal. If you have multiple goal events in an A/B test, then you can make any one of the goal events the primary goal event.

**Preview of the experience**

Once an AI Conversion Optimize experience is configured, make sure to preview the changes you have made to each behaviour before making it live. You can preview the behavior by clicking on the '**preview'** button present on the respective behavior.

{% hint style="info" %}
If you do not see the changes in the preview, then check if the CustomFit code snippet is installed on the website. If you have installed the code snippet, then check whether your browser is blocking the opening of new tabs.
{% endhint %}

**Taking the experience live**

To take the A/B test live, click on the power switch toggle.


---

# Agent Instructions: 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:

```
GET https://doc.customfit.ai/experience/how-to-create-an-ai-conversion-optimize-experience.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
