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

# Conversion Tracking

> Measure which conversations lead to purchases by attributing checkouts back to your assistant.

Conversion tracking tells you which conversations actually lead to sales. When a shopper buys after chatting with your assistant, homie attributes that checkout back to the assistant — so you can see its impact on revenue, not just on engagement.

## How attribution works

A checkout is attributed to your assistant when the purchase happens **within 10 days after the visitor's last chat contact**. Each attributed conversation is then marked with a **Conversion** badge in your chats, and the overall **conversion rate** (checkouts ÷ total chats) appears in your analytics.

<Note>
  homie only needs to know that a checkout happened. No customer or order data is processed or stored for conversion tracking.
</Note>

## Set it up

How you enable conversion tracking depends on how your store is built.

<Tabs>
  <Tab title="Shopify">
    For Shopify stores, conversion tracking runs through the Shopify integration with a lightweight tracking pixel.

    <Steps>
      <Step title="Open the Shopify integration">
        Go to **Integrations → Shopify** on the [homie platform](https://app.yourhomie.ai).
      </Step>

      <Step title="Grant permission">
        Under **Conversion Tracking**, select **Grant permission**. You are redirected to Shopify to allow homie to place a tracking pixel in your store. This pixel reads when a checkout completes so a chat can be linked to that order.
      </Step>

      <Step title="Confirm it is enabled">
        Back on the platform, the status shows **Conversion tracking enabled**.
      </Step>
    </Steps>

    <Note>
      Managing the Shopify integration requires an **owner** or **admin** role. If you do not have permission, ask an owner or admin to grant it.
    </Note>
  </Tab>

  <Tab title="Other stores">
    For non-Shopify stores, you mark conversions with your checkout (thank-you) page URL.

    <Steps>
      <Step title="Open the assistant settings">
        Go to **Assistants** on the [homie platform](https://app.yourhomie.ai), select your assistant, and open **Settings → General**.
      </Step>

      <Step title="Enter your checkout URL">
        Under **Conversion tracking**, enter the URL of the page shown after a successful purchase (for example your order-confirmation page) in the **Checkout URL** field.
      </Step>

      <Step title="Save">
        A conversion is counted when exactly that page opens after a visitor used the assistant. Leave the field empty to disable conversion tracking.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Where to see results

<CardGroup cols={2}>
  <Card title="Analytics" icon="chart-line" href="/en/user-guide/analytics/overview">
    See your conversion rate and chats with product clicks over time.
  </Card>

  <Card title="Conversations" icon="messages" href="/en/user-guide/chat-management/conversations">
    Filter for chats with a **Conversion** badge to see which ones led to a purchase.
  </Card>
</CardGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Shopify integration" icon="store" href="/en/user-guide/integrations/shopify">
    Connect your store and turn on conversion tracking.
  </Card>

  <Card title="General settings" icon="gear" href="/en/user-guide/assistants/general-settings">
    Review the assistant's remaining general settings.
  </Card>
</CardGroup>
