> For the complete documentation index, see [llms.txt](https://lionstudios.gitbook.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lionstudios.gitbook.io/readme/analytics/progression-event.md).

# Progression Event

## Introduction

Progression events help you understand how players move through your game, where they struggle, and what to improve to drive retention.

We use mission events to track both main progression and side activities (for example challenges, side quests, and paid levels). Our data analysts will provide game-specific guidance on what to track and how to structure it.

## Game Events

#### [**`GameStarted`**](/readme/analytics/api/events/gamestart.md)

This event is triggered automatically upon Lion Core initialization to track a number of different metrics.

#### [`FeatureUnlocked`](/readme/analytics/api/events/featureunlocked.md)

Use this event when a player unlocks a level, item, badge, skill, or any other unlockable content.

## Mission Events

#### [**`MissionStarted`**](/readme/analytics/api/events/missionstarted.md)

Fire when a player starts a mission attempt.

#### [**`MissionStep`**](/readme/analytics/api/events/missionstep.md) (Optional)

Fire when a player reaches a significant checkpoint within a mission.

#### [**`MissionCompleted`**](/readme/analytics/api/events/missioncompleted.md)

Fire when a player completes a mission successfully.

#### [**`MissionFailed`**](/readme/analytics/api/events/missionfailed.md)

Fire when a mission attempt ends unsuccessfully.

#### [**`MissionAbandoned`**](/readme/analytics/api/events/missionabandoned.md)

Fire when the player leaves a mission before completion (including restart).

### Required Parameters (all mission events)

* `missionID`: Identifier for the mission/level
* `missionAttempt`: Attempt number for this missionID
* `missionType`: Mission category/type
* `missionName`: Display name (if applicable)

### Implementation Rules

* Each mission attempt should include one opening event (MissionStarted) and one closing event (MissionCompleted, MissionFailed, or MissionAbandoned).
* Use consistent parameters across all events for the same mission attempt so we can accurately match events and calculate metrics server-side.
* Increment missionAttempt each time you fire MissionStarted.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lionstudios.gitbook.io/readme/analytics/progression-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
