---
title: "Track URL impact | Analytics and attribution | AEO API"
description: "Reads the citation series and your reported traffic for target URLs over a date range."
url: "https://aeoapi.dev/docs/features/analytics-and-attribution/get-analytics-dataset-url-impact"
canonical: "https://aeoapi.dev/docs/features/analytics-and-attribution/get-analytics-dataset-url-impact"
last_updated: "2026-11-30"
---

Analytics and attribution

# Track URL impact

Reads the citation series and your reported traffic for target URLs over a date range.

[`GET /v2/analytics/{dataset}`](https://aeoapi.dev/docs/api-reference#get-v2-analytics-dataset)

- Path `dataset` is `url_impact`.

## Authentication and access

**Authentication**

Bearer API key

**Scopes**

attribution:read

**Roles**

approver, editor, owner, publisher, service, viewer

**Plans**

Optimizer

**Credits**

No credit charge.

## Parameters

Request parameters

| Name | Where | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `dataset` | path | `"url_impact"` | Yes |  |
| `brand_id` | query | `string (uuid)` | Yes |  |
| `url` | query | `string \| null` | No |  |
| `start` | query | `string (date) \| null` | No |  |
| `end` | query | `string (date) \| null` | No |  |
| `after_url` | query | `string \| null` | No |  |
| `limit` | query | `integer` | No |  |
| `traffic_limit` | query | `integer` | No |  |
| `traffic_offset` | query | `integer` | No |  |
| `location_id` | query | `string (uuid)` | No |  |
| `group_by` | query | `"location" \| "city" \| "region"` | No |  |

## Request body

Send this request without a body.

## Request examples

Set `AEO_API_BASE_URL` to `https://api.aeoapi.dev` and `AEO_API_KEY` to your server-side API key. Set the other environment variables to the values for your request.

```bash
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/url_impact" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  --data-urlencode "brand_id=$BRAND_ID"
```

```python
from os import environ
from aeo_sdk import AeoClient

with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
    response = client.v2_get_analytics_dataset(
        dataset="url_impact",
        brand_id=environ["BRAND_ID"],
    )
    print(response.body)
```

```typescript
import { AeoClient } from "@aeoapi/aeo-sdk";

const client = new AeoClient(process.env.AEO_API_KEY!, {
  baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2GetAnalyticsDataset(
  "url_impact",
  {
    brand_id: process.env.BRAND_ID!,
  },
);
console.log(response.body);
```

## Responses

#### HTTP 200

Successful Response

`application/json`

Response fields are listed below.

HTTP 200 response fields 1

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes | The requested result. See the fields below for its contents. |
| `data.from_date` | `string` | Yes |  |
| `data.next_after_url` | `string \| null` | Yes |  |
| `data.targets` | `array of object` | Yes |  |
| `data.targets[].action_channel` | `string \| null` | Yes |  |
| `data.targets[].citation_series` | `string` | Yes |  |
| `data.targets[].label` | `string` | Yes |  |
| `data.targets[].next_traffic_offset` | `integer \| null` | Yes |  |
| `data.targets[].started_on` | `string` | Yes |  |
| `data.targets[].traffic` | `array of object` | Yes |  |
| `data.targets[].traffic[].count` | `integer` | Yes |  |
| `data.targets[].traffic[].day` | `string` | Yes |  |
| `data.targets[].traffic[].kind` | `"bot_requests" \| "referral_sessions"` | Yes |  |
| `data.targets[].traffic[].source` | `string` | Yes |  |
| `data.targets[].url` | `string` | Yes |  |
| `data.to_date` | `string` | Yes |  |
| `data.traffic_basis` | `"customer_reported_daily_totals"` | Yes |  |
| `data.unreported_days` | `"unknown"` | Yes |  |
| `meta` | `object` | Yes | Information about this response, including any warnings or pagination details. |

## Errors

Read `code` and `message` in the error response. Keep `request_id` when you contact support.

- HTTP 400 [`invalid_request`](https://aeoapi.dev/docs/errors#invalid_request)
- HTTP 401 [`unauthenticated`](https://aeoapi.dev/docs/errors#unauthenticated)
- HTTP 403 [`forbidden`](https://aeoapi.dev/docs/errors#forbidden)
- HTTP 404 [`not_found`](https://aeoapi.dev/docs/errors#not_found)
- HTTP 422 [`validation_error`](https://aeoapi.dev/docs/errors#validation_error)
- HTTP 429 [`rate_limited`](https://aeoapi.dev/docs/errors#rate_limited)

[Analytics and attribution reference](https://aeoapi.dev/docs/features/analytics-and-attribution)
