> For the full index of Sherpa pages for agents, see https://www.withsherpa.ai/llms.txt

URL: https://www.withsherpa.ai/docs/ask-about-traffic
Title: Ask your agent about your traffic | Sherpa Docs
Description: Get answers about your website's performance in plain words and charts, then fix what you find in the same chat.

[Docs](https://www.withsherpa.ai/docs) Analytics

# Ask your agent about your traffic

Get answers about your website's performance in plain words and charts, then fix what you find in the same chat.

A dashboard shows you what happened. It rarely tells you why. Your agent can read every click, scroll and visit on your website, line them up with what your team published and give you a cause you can check.

Then it can fix the page. The analytics and the website live in one place, so the answer and the fix happen in the same chat.

## See it in action

Ask your agent this.

> Demo bookings dropped last week. Compare it with the week before by source, landing page and device, check what we published in that window and tell me the most likely cause. Show me the evidence in a chart.

It answers with something like this.

The drop is on phones. Desktop bookings held steady and mobile fell by more than half.

It lines up with Tuesday's change to the pricing page. On phones the Book a demo button now sits below the plan table, and far fewer visitors scroll that far.

Want me to move the button back above the table and show you a preview?

## What happens

1. Your agent looks at traffic, sources and conversions around the dates you named.

2. It checks what was published in that window.

3. It gives you the likely cause with the numbers behind it.

4. If you agree, it makes the change and shows you a preview.

## What to check

- The explanation points at specific pages, sources or dates you can verify.

- Your agent says how sure it is, and what else could explain it.

## How to ask

- Give a time range. **Last 7 days** or **since the launch on Tuesday**.

- Name the outcome you care about, such as demo bookings or clicks on Start free.

- Ask for a comparison. Against the week before, or against another page.

- Say how to cut it. By source, page, device, country or campaign.

- Ask for a chart when a shape is easier to read than a table.

## Questions no dashboard answers

| Ask | What makes it possible |
| --- | --- |
| Which posts lead to a pricing view in the same visit | Sherpa keeps the order of pages in each visit |
| What do people click on the homepage before they leave | Every click is recorded with its text |
| Where do people stop reading the launch page | Scroll depth at four points |
| What are visitors trying to click that does nothing | Dead clicks and rage clicks |
| Did Tuesday's change help | Your agent sees both the analytics and what was published |

The full list of what is recorded is in [Read your analytics](https://www.withsherpa.ai/docs/analytics-overview).

## Good to know

### From answer to fix

This is where having analytics and the website in one place pays off. The same agent that found the problem can change the page, show you a preview and set up a test to prove the fix worked.

### Check the answer

Ask your agent which dates it used and how it counted. A good answer names the pages and numbers so you can find them yourself on the Analytics page.

**Pro tip**

Always add compared to what. A number with last week beside it is an answer.

## Common questions

### Can my agent tell me why traffic changed, not only that it did?

Yes. It lines up traffic, sources and conversions with what your team published around those dates and gives you a likely cause with the numbers behind it.

### Can it draw a chart?

Yes. Ask for one and Claude or ChatGPT draws it from the numbers Sherpa returns.

### Can it fix the problem it finds?

Yes. The same agent can change the page and send you a preview. Nothing goes live until a person publishes.

## Example prompts

Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.

### The request from the example

> Demo bookings dropped last week. Compare it with the week before by source, landing page and device, check what we published in that window and tell me the most likely cause. Show me the evidence in a chart.

It gives your agent a window, an outcome, three ways to cut the data and a reason to look at what changed on the site. That is how an analyst would start.

### The launch debrief

> How did the launch page do in its first 48 hours? Chart visitors by hour, list the top sources and tell me how many clicked the main button.

A short window by the hour shows the shape of a launch, and the click count tells you whether the page did its job.

### The path to pricing

> Which blog posts bring visitors who go on to view pricing in the same visit? Rank the top ten.

This follows people across pages, which no dashboard table shows.

### The new market spotter

> Which countries and cities are my visitors in this month, and how has that changed since last month?

Location is recorded down to the city, so you can spot a new market early.

### The did-it-work check

> List what we published in the last 30 days and tell me whether any of it moved traffic or bookings.

Your agent can see the publish history and the analytics, so it can line them up for you.

## For agents

Sherpa MCP tools for this job, in the order they are usually called. `get_analytics_schema`, `query_analytics`, `list_changes`. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the [MCP reference](https://www.withsherpa.ai/docs/mcp-reference).

## Next

[**Run an A/B test from a prompt** Test two or more versions of a page against each other and see which one wins.](https://www.withsherpa.ai/docs/ab-test) [**Read experiment results** Find out which version is ahead and whether it is safe to call a winner.](https://www.withsherpa.ai/docs/experiment-results)
