# Optimize for AI

In the era where AI is widely used across every aspect, applying AI to optimize SEO has become indispensable. Therefore, **Search Pie** provides a feature that allows you to improve your SEO performance with AI-powered tools.&#x20;

You can find this feature via the Optimize for AI tab:

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FlsLdbTHwO4rLtHNZmhyo%2Fimage.png?alt=media&#x26;token=5d651f9d-9c4e-4455-9b93-a6b00ec749c1" alt=""><figcaption></figcaption></figure>

## AI Traffic

This feature allows you to track how much traffic your store receives from AI-powered platforms, including ChatGPT, Google Gemini, Perplexity AI, and Microsoft Copilot.

To view this data, simply click the **Connect analytics** button and link your Google Analytics 4 account.&#x20;

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FRqYahGRWbGlrPRCAGoQS%2Fimage.png?alt=media&#x26;token=df24036e-cf13-4013-b68a-60f8ed3cf8c9" alt=""><figcaption></figcaption></figure>

Once connected, the dashboard will automatically display insights about the traffic coming to your store from these AI tools, including **total sessions,** **active users**, and **add to cart** figures, helping you better understand and optimize your store’s visibility in AI-driven search and recommendation systems.

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FfAd15DBh8QpzRgoyrOT6%2Fimage.png?alt=media&#x26;token=54d5998c-403f-4bd4-9588-a7d640d4d505" alt=""><figcaption></figcaption></figure>

If you would like to disconnect GA4, please click on the **Refresh** button, choose **Manage connection**

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FGPvNCFwS9GUBwwO4t9fV%2Fimage.png?alt=media&#x26;token=cf566fd5-cd55-492b-a877-b18a4bf84b31" alt=""><figcaption></figcaption></figure>

Then, the Connecting Google Analytics tab appears. Please click on the **Disconnect** button, and the GA4 will be disconnected successfully.&#x20;

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FdOOvOpkPT8Rtm2ySlJpY%2Fimage.png?alt=media&#x26;token=cbfed569-1bd1-4f5c-b3aa-10885d0f61dd" alt=""><figcaption></figcaption></figure>

## Get ready for AI shoppers

After viewing the insights, you can also scroll down a little bit to find out our suggested steps to increase AI traffic.

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2Fiy4RdmoWdDVj8xiRfBs6%2F%7B5AA4221B-F759-4FE5-AE33-0DE018BBEF4A%7D.png?alt=media&#x26;token=0236b48a-512b-41e9-babf-8304dae8adbc" alt=""><figcaption></figcaption></figure>

When clicking on the dropdown button on the right side, you will see the details about the steps that you can take to optimize your AI traffic. Simply click on the **Set up** button, and our app will direct you to the page where you can work on the suggestions.&#x20;

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FDdaNVuJYOVCUEGVSg6yI%2Fimage.png?alt=media&#x26;token=e1d378b9-b784-49e5-8fc0-7d20d0276f7a" alt=""><figcaption></figcaption></figure>

Once the step has been done, a tick icon will be added so that you can easily check the steps that have and haven't been done.&#x20;

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2FV8QcXITcykaX1vVhWzwc%2Fimage.png?alt=media&#x26;token=6e0bf9fc-f2ac-47fe-a29f-10635770fe52" alt=""><figcaption></figcaption></figure>

## LLM.txt file

LLM.txt is a text file placed in the root directory of a website (for example: `https://example.com/llm.txt`) that provides structured information about the website for Large Language Models (LLMs).

It helps AI systems understand the content, purpose, and important pages of a website when they access or analyze it.

Adding the LLM.text file will guide AI models in understanding and using the content of a website correctly.   &#x20;

In our app, we can guide you on creating a file or help you create one (for the Enterprise plan).

<figure><img src="https://848413574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb9oMrqO590_abBSvwF%2Fuploads%2Fsg3K0Gcr8mNTmRbCHkvz%2Fimage.png?alt=media&#x26;token=5dc955a4-5b40-4d11-8700-a3ff8849ef27" alt=""><figcaption></figcaption></figure>

If you would like us to do so, simply click on the **Request adding file** button, and our Support team will give you further assistance regarding this.&#x20;
