> For the complete documentation index, see [llms.txt](https://docs.userlane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.userlane.com/developers/analytics-api/getting-started-with-guide-progress.md). Agents can also search and read this documentation through its [MCP server](https://docs.userlane.com/~gitbook/mcp).

# Getting started with Guide progress

All requests go to `https://api.userlane.com/analytics`. For pagination, sorting, empty values, and errors that apply to every Analytics API endpoint, see [Using the Analytics API](https://docs.userlane.com/developers/analytics-api/using-the-analytics-api.md).

## Typical use cases

* **Onboarding completion** — Track what percentage of users complete key onboarding guides end-to-end.
* **Drop-off analysis** — Identify the step where users abandon a guide (via `maxStepIndexReached`).
* **Guide effectiveness** — Compare completion rates across guides to spot which ones are too long, unclear, or poorly timed.

## Enriching with user attributes

`user.applicationUserId` is the join key back to your own user system. To answer segment-level questions (completion by role, region, licence type), join guide progress records with your customer data warehouse on `applicationUserId`. To enrich with Userlane-side attributes (first seen, last seen, custom attributes), use the [Enduser data API](https://github.com/Userlane/developer-docs/tree/main/docs/core-api/getting-started-with-user-data.md) (Core API)

To correlate guide completion with actual product usage or sentiment, join guide progress records with the Tags API (feature interactions), NPS and Survey API on user id.

## Resolving guide IDs

The `guide_id` path parameter is required. To find the ID of a specific guide, either:

* Open the **Guides analytics** page in the Userlane Portal and export the guide list from the table, or
* Open the analytics page for a specific guide and copy the ID from the URL.

## Endpoint

`GET /public/guide-progress/property_id/{property_id}/guide_id/{guide_id}`

## Path Parameters

| Parameter     | Description                                        |
| ------------- | -------------------------------------------------- |
| `property_id` | Your Userlane property ID (lowercase alphanumeric) |
| `guide_id`    | The ID of the guide to retrieve progress for       |

## Query Parameters

| Parameter | Default | Description                                 |
| --------- | ------- | ------------------------------------------- |
| `page`    | `1`     | Page number                                 |
| `limit`   | `1000`  | Number of records per page, from 1 to 5,000 |

## Response

The response contains two sections:

**`guideProgressData`** — a paginated list of per-user entries, each with:

| Field                      | Description                                                   |
| -------------------------- | ------------------------------------------------------------- |
| `user.id`                  | Userlane user ID                                              |
| `user.applicationUserId`   | Client-defined user identifier (optional)                     |
| `maxStepIndexReached`      | Number of the furthest step the user reached, counting from 1 |
| `guideMaxStepIndex`        | Number of the last step in the guide, counting from 1         |
| `guidePercentageCompleted` | Percentage of the guide completed (0–100)                     |
| `dateLastActive`           | Date the user last interacted with the guide                  |

**`guideProgressStats`** — aggregate completion statistics across all users:

| Field                                | Description                                 |
| ------------------------------------ | ------------------------------------------- |
| `usersAll`                           | Total number of users who started the guide |
| `usersThatCompletedAtLeast20Percent` | Users who reached at least 20% completion   |
| `usersThatCompletedAtLeast40Percent` | Users who reached at least 40% completion   |
| `usersThatCompletedAtLeast60Percent` | Users who reached at least 60% completion   |
| `usersThatCompletedAtLeast80Percent` | Users who reached at least 80% completion   |
| `usersThatCompleted100Percent`       | Users who fully completed the guide         |

**`pagination`** — standard pagination envelope:

| Field           | Description                |
| --------------- | -------------------------- |
| `page`          | Current page number        |
| `limit`         | Number of records per page |
| `totalElements` | Total number of records    |
| `totalPages`    | Total number of pages      |

## Limitations

**Pagination**: 1,000 records per page by default, 5,000 at most (set with `limit`). Use `page` to get the next pages.

**Pull cadence**: Once every 24 hours is recommended. Pulling more frequently won't give you fresher data and may trigger rate limiting.

**Rate Limiting:** Userlane can limit the frequency of calls to ensure Quality of Service.

**Caching:** Results are cached for 5 minutes.

## Authentication

This API is protected and requires authentication by a Bearer Token. Generate your token in the Userlane Portal under **Settings > API Token**. Tokens are issued per Userlane Manager and can be regenerated at any time.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.userlane.com/developers/analytics-api/getting-started-with-guide-progress.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
