# AI Chat

Humblytics includes an AI-powered chat assistant that helps you understand your analytics data through natural language conversation. The AI Chat is available on every page of the dashboard via a sidebar on the right side of the screen.

**Accessing AI Chat**

The AI Chat sidebar is always visible on the right side of your dashboard. It has two tabs:

* **Chat** — Start a new conversation with the AI assistant
* **History** — View and resume previous conversations

## How It Works

The AI Chat is context-aware — it automatically knows which page you're viewing and has access to your current analytics data. For example:

* On the **Traffic Analytics** page, it understands your visitor metrics, traffic trends, and revenue data
* On the **Heatmaps** page, it can discuss click patterns and scroll behavior
* On the **Experiments** page, it can analyze your A/B test results

The context label at the top of the chat panel shows which data the AI is currently working with (e.g., "Traffic Analytics", "Heatmaps", "Funnel Analysis").

## Quick Actions

At the bottom of every page, three quick action buttons provide one-click prompts:

* **Traffic insights** — Ask the AI to analyze your traffic data and highlight key trends, top sources, and anomalies
* **Test ideas** — Get AI-generated A/B test hypotheses based on your current data
* **Help me get started** — Get guidance on setting up and using the current feature

Click any quick action button to automatically send that prompt to the AI.

## What You Can Ask

The AI assistant can help you with:

* **Data interpretation** — "What are my top traffic sources this week?" or "Why did my bounce rate increase?"
* **Trend analysis** — "How has my traffic changed compared to last week?" or "Are there any anomalies in my data?"
* **Optimization suggestions** — "What should I test next?" or "How can I improve my landing page conversion rate?"
* **Feature guidance** — "How do I set up a funnel?" or "How does revenue attribution work?"
* **Experiment analysis** — "Is my A/B test statistically significant?" or "Which variant is winning?"

## AI Insights Quota

AI Chat usage counts toward your plan's AI insights quota:

* **Plus** — 25 AI insights per month
* **Business** — 200 AI insights per month
* **Scale** — 1,000 AI insights per month
* **Enterprise** — Unlimited AI insights

You can check your remaining AI insights in your account dashboard.

## Tips for Best Results

* **Be specific** — Instead of "analyze my data", try "what are my top 3 traffic sources and how do they compare to last week?"
* **Reference metrics** — Mention specific metrics you're interested in, like bounce rate, conversion rate, or revenue
* **Ask follow-up questions** — The AI remembers your conversation context, so you can drill deeper into insights
* **Use on relevant pages** — Navigate to the relevant analytics page before asking questions so the AI has the right context


---

# 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://docs.humblytics.com/ai-chat.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.
