# The named events of an external site and how often each happened

`GET /analytics/external/sites/{id}/events` · Rivier · analytics

The named events of an external site and how often each happened. Needs a subscription that includes Rivier Analytics.

- Scope: analytics:read
- Graphql: Query.analyticsExternalSiteEventsGet
- Sdk: analytics.externalSiteEvents.get
- Cli: analytics external site events get

## Parameters

- `id` (path, required), string
- `from` (query), string
- `to` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/analytics/external/sites/{id}/events' \
  -H 'Authorization: Bearer $KEY'
```
