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

# Website Chat: AI Agent for Landing Pages and Checkout

> Add an AI chat agent to your landing pages, checkout, or store with one script tag — captures leads, rescues abandoned carts, and answers FAQs 24/7.

Website Chat embeds a live AI agent directly on your site with a single script tag — no rebuild required, no engineers needed. The agent watches visitor behaviour in real time: when someone hesitates on a product page, lingers too long without converting, or moves to close the tab, it steps in with a targeted message. It answers questions using your preloaded FAQs, offers a discount to close the sale, captures the visitor's contact details, and logs every interaction with the outcome attached. Every lead it captures lands in your contact list automatically.

## What the website chat agent does

<CardGroup cols={2}>
  <Card title="Exit-Intent Rescue" icon="door-open">
    When a visitor moves to leave your page, the agent steps in before they're gone — answers the doubt, delivers a preloaded discount, and saves the sale.
  </Card>

  <Card title="Lead Capture" icon="address-card">
    Names, emails, and phone numbers collected naturally inside the conversation and added to your contact list automatically. No forms required.
  </Card>

  <Card title="Question Answering" icon="circle-question">
    Preload your top FAQ answers so the agent can handle objections and close hesitant buyers in seconds — any time of day.
  </Card>

  <Card title="Post-Purchase Surveys" icon="clipboard-list">
    Thank-you page conversations collect real feedback and objections from buyers, feeding insights back into your ad angle suggestions.
  </Card>
</CardGroup>

## How to set up website chat

<Steps>
  <Step title="Open Website Chat setup">
    In Exerta, go to **Channels → Website Chat → Setup**.
  </Step>

  <Step title="Copy the script tag">
    Copy the script tag generated for your workspace.
  </Step>

  <Step title="Paste the script tag onto your pages">
    Paste the script before the closing `</body>` tag on the pages you want covered. No rebuild or engineering work is needed — paste and you're done.

    ```html theme={null}
    <script
      src="https://cdn.exerta.ai/chat.js"
      data-workspace="YOUR_WORKSPACE_ID"
      async
    ></script>
    ```
  </Step>

  <Step title="Choose your trigger">
    Select when the agent appears: **exit intent**, **time on page**, or a **button click**. You can set different triggers on different pages.
  </Step>

  <Step title="Load your offer">
    Preload a discount code and your top FAQ answers so the agent can handle objections and close without escalating.
  </Step>

  <Step title="Save and go live">
    Save your settings — the agent goes live immediately on every page where the script is installed.
  </Step>
</Steps>

## Page-level targeting

You don't have to run website chat site-wide. You can enable the agent on specific pages only — for example, your main landing page, the checkout page, or the post-purchase thank-you page. Each page can have its own trigger and offer, so the experience feels relevant wherever a visitor is in their journey.

## What you see in Exerta

Every conversation is logged with the outcome and any revenue attached to it. Leads captured by the agent appear in your contact list the moment they're collected. Objections and hesitations surfaced during chat conversations feed directly into your ad angle suggestions, so the insights from website chat make your paid campaigns sharper over time.

<Note>
  Website chat is available on all paid plans (Starter and above).
</Note>


## Related topics

- [Connect Facebook, Instagram, TikTok & Website Chat](/connecting-channels.md)
- [AI Agents Overview: How Exerta Automates Engagement](/agents/overview.md)
- [What Is Exerta? AI Engagement Agents for Social Ads](/introduction.md)
- [Get Started with Exerta: Live AI Agents in 5 Minutes](/quickstart.md)
- [Comment Moderation: Protect Your Ads Automatically](/moderation/overview.md)
