[Embeddables](/embeddables)

# Collection Analytics

The Collection Analytics embeddable is a dashboard showing engagement across a whole collection of courses. Use it when you care about how a full collection is performing, not just the individual courses inside it. The example below shows the dashboard for a sample collection so you can see how collection-level reporting renders in context.

It's a fit for admins managing certification tracks, customer success teams measuring onboarding journeys, and any context where collection-level insight matters more than course-by-course detail. It answers "how's the collection going" rather than "how's this course going."

### API Endpoint

POST `/v1/headless/embed/analytics/collection`

#### Body parameters

| Field | Type | Example | Description |
| --- | --- | --- | --- |
| `collectionId` | `number` | `456` | — |
| `identifier` | `string` | `your-user-id` | — |
| `clientIdentifier` | `string` | `your-tenant-id` | — |
| `themeId` | `number` |  | Custom theme ID to apply to the analytics dashboard. |
| `options.stats` | `boolean` | `true` | Show summary stat cards at the top of the analytics dashboard. |
| `options.chart` | `boolean` | `true` | Show the progression funnel chart section. |
| `options.table` | `boolean` | `true` | Show the individual usage table section. |
| `options.expiresIn` | `string` | `3h` | Link opening lifetime, "30s" to "3h" (e.g. "5m"). Invalid values return 400. |

### Emitted Events

[How to listen to events](/events)

This embeddable does not emit any `postMessage` events.
