> 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/api/events.md).

# Events

{% tabs %}
{% tab title="All Events" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/BcuQL5FIoeUt2U1tU8sI">Achievement</a></td><td>The player completed an achievement. This event can also record the rewards for this achievement.</td></tr><tr><td><a href="/pages/51j1VJFLgGQXgAWN5aO3">BannerRevenuePaid</a></td><td>A banner ad's revenue was paid</td></tr><tr><td><a href="/pages/130d8CKmIYULUkkPfJXC">BannerShowRequested</a></td><td>A banner ad was requested to shown</td></tr><tr><td><a href="/pages/5B7gfD8IQdELfPPb15qR">CharacterCreated</a></td><td>The player created a new character.</td></tr><tr><td><a href="/pages/sLHgXvA5cgGBU2xlLtwL">CharacterDeleted</a></td><td>The player deleted a character.</td></tr><tr><td><a href="/pages/WdpliRUpugb67RzY7l8j">CharacterUpdated</a></td><td>The player updated a characters information.</td></tr><tr><td><a href="/pages/tDLhimzpO2pEdNCbxS1w">DebugEvent</a></td><td>Anything happened which is not covered by other events but is needed to debug or understand a situation</td></tr><tr><td><a href="/pages/Lz7yIqBLK5VzcaHx6K3v">Economy</a></td><td>The player bought, sold or exchanged something in the game</td></tr><tr><td><a href="/pages/nOQ6bRGuT4SLckEnC0Nq">ErrorEvent</a></td><td>The game had an expected error or issue</td></tr><tr><td><a href="/pages/GxySnukPrQ6pqpoTtSo4">FeatureUnlocked</a></td><td>The player unlocked a level, item, badge, level, skills or anything else.</td></tr><tr><td><a href="/pages/4D8aoi3lWoOiIGlghv7D">FunnelEvent</a></td><td>A funnel event test</td></tr><tr><td><a href="/pages/lCe3eDY10yJFRganTEDO">GameStart</a></td><td>The game started. This event is now fired automatically at the end of Lion SDK initialization.</td></tr><tr><td><a href="/pages/DDdvhZy9dd8Rr0fc9Smi">GiftReceived</a></td><td>The player received a gift from another player</td></tr><tr><td><a href="/pages/BMBtNos6Uh9deICdsYEx">GiftSent</a></td><td>The player sent a gift to another player</td></tr><tr><td><a href="/pages/0N4mBK4lybmeKNlOdQIS">HandAction</a></td><td>This event is a poker specific event used to track the betting rounds within a hand of poker.</td></tr><tr><td><a href="/pages/GhBxYbGZ9W4G8sr4hosB">Heartbeat</a></td><td>Fired automatically by LionAnalytics. No action required.</td></tr><tr><td><a href="/pages/EFUSJnfLEuDNNiVTv7AV">InAppPurchase</a></td><td>The player purchased an IAP</td></tr><tr><td><a href="/pages/6uH5HTTloFwMG5isyXOL">InterstitialClick</a></td><td>An interstitial ad was clicked</td></tr><tr><td><a href="/pages/k0PZApFgFH1I9XUnM9zj">InterstitialEnd</a></td><td>An interstitial ad ended</td></tr><tr><td><a href="/pages/oeCMVRack7IuSMKTPi7U">InterstitialLoad</a></td><td>An interstitial ad was loaded</td></tr><tr><td><a href="/pages/TIRoi6gYNs7OfmucoDa9">InterstitialLoadFail</a></td><td>An interstitial ad failed to load</td></tr><tr><td><a href="/pages/x9UChRid14Sw0WWN50Zb">InterstitialRevenuePaid</a></td><td>A interstitial video ad’s revenue was paid</td></tr><tr><td><a href="/pages/jasHy49AFuUDwo7akwLk">InterstitialShow</a></td><td>An interstitial ad was requested to show</td></tr><tr><td><a href="/pages/t4sOhSMd4jn6d83wz5HT">InterstitialShowFail</a></td><td>An interstitial ad failed to show</td></tr><tr><td><a href="/pages/nDBxxVvuRB3JFbYIZ302">InterstitialTryShow</a></td><td>An interstitial ad was requested to show</td></tr><tr><td><a href="/pages/brlYXtFvtQBVXzfgUZ8j">InviteReceived</a></td><td>The player received an invite to a set of users</td></tr><tr><td><a href="/pages/2dYUd3HH40eAvmuNL1jL">InviteRewarded</a></td><td>The player received a reward for inviting another player.</td></tr><tr><td><a href="/pages/IJsAFlzffFxWaGcf875D">InviteSent</a></td><td>The player sent an invite to the game</td></tr><tr><td><a href="/pages/NiLNql8CgigPnGewNe4g">ItemActioned</a></td><td>The player used an item.</td></tr><tr><td><a href="/pages/GJjlXUvtyQhbfipyNccm">ItemCollected</a></td><td>The player picked up or was gifted an item.</td></tr><tr><td><a href="/pages/dkafpVIpd9RgxJk56F2d">LevelUp</a></td><td>The player leveled up. Note this is different than completing a game “level”. In this situation, if your game has the concept of “player levels”, use this event. Traditionally, “players levels” are linked with “experience points” earned during game play.</td></tr><tr><td><a href="/pages/5YaweK4yCKgBhJz7m2Sn">MissionAbandoned</a></td><td>The player abandoned a mission</td></tr><tr><td><a href="/pages/x0IVBkR580H8Wy2MiSFc">MissionCompleted</a></td><td>The player completed a mission</td></tr><tr><td><a href="/pages/4Nntix38WU9rP5TH6WOQ">MissionFailed</a></td><td>The player failed a mission</td></tr><tr><td><a href="/pages/8bnh4SXBMymii0FU5oXo">MissionStarted</a></td><td>The player started a mission</td></tr><tr><td><a href="/pages/gMt9CdVfO1BssrKUttzQ">MissionStep</a></td><td>This event allows you to track partial progress towards completing a mission. If there are some natural steps or breakpoints during a mission, fire the MissionStep events.</td></tr><tr><td><a href="/pages/2aUsqjn2NSWPoXDiBay1">NewPlayer</a></td><td>A new player entered the game</td></tr><tr><td><a href="/pages/Lfdx9Hyd9NU3RDryQgTv">NotificationOpened</a></td><td>The game was launched through a push notification, or a notification was received.</td></tr><tr><td><a href="/pages/ZkELaPqe2vt7BpcHmKZQ">Options</a></td><td>Use this event to track when a player changes game option on the settings screen (e.g. toggle audio on/off, enable notifications, etc).</td></tr><tr><td><a href="/pages/e3DLoRsGJLF7fpqVChd6">PowerUpUsed</a></td><td>The player used a power up or boost.</td></tr><tr><td><a href="/pages/tV7SZvvJWg22H37PRD3V">PredictionResult</a></td><td>If your game is using any predictive models (e.g. Multi-arm Bandit) or other machine learning algorithms to pull levers in your game, use this event to track the prediction related to the player. Sin</td></tr><tr><td><a href="/pages/uuSq8kcp82tk2vvZD5bO">ProductViewed</a></td><td>The player looked at a product’s description, or viewed an item. This is designed to capture a player’s interest.</td></tr><tr><td><a href="/pages/o5HBOWM14IsNBC1AoN4l">RewardVideoClick</a></td><td>A rewarded video ad was clicked</td></tr><tr><td><a href="/pages/YVt7pIqCMVWVLJyYlgrk">RewardVideoCollect</a></td><td>A rewarded video’s reward was collected</td></tr><tr><td><a href="/pages/YhlUouZYAQCcgUtmieuc">RewardVideoEnd</a></td><td>A rewarded video ad ended</td></tr><tr><td><a href="/pages/4ZXe0xTTnbpXWmaXGuvZ">RewardVideoLoad</a></td><td>A rewarded video ad was loaded</td></tr><tr><td><a href="/pages/KsojVNIGgGWCLV61p3ho">RewardVideoLoadFail</a></td><td>A rewarded video ad failed to load</td></tr><tr><td><a href="/pages/EItHtbRWsVbs6MpzJmsb">RewardVideoOpportunity</a></td><td>The player was presented with the option for a rewarded video.</td></tr><tr><td><a href="/pages/ZgO4Yxy0Y2fSlHg44qnm">RewardVideoRevenuePaid</a></td><td>A rewarded video ad's revenue was paid</td></tr><tr><td><a href="/pages/IgZn0sq4X4Ooduu38zA8">RewardVideoShow</a></td><td>A rewarded video ad was requested to show</td></tr><tr><td><a href="/pages/vPsotIvpB8AIThyxAIvV">RewardVideoShowFail</a></td><td>A rewarded video ad failed to show</td></tr><tr><td><a href="/pages/X9T0AENiwwpFJXQNcsl3">RewardVideoTryShow</a></td><td>A rewarded video ad was requested to show</td></tr><tr><td><a href="/pages/z2LyvDQYI7TDXVChzQ1D">ShopEntered</a></td><td>The player accessed the shop.</td></tr><tr><td><a href="/pages/Le8wvErCjEW0QUe1cT7Q">SkillUpgraded</a></td><td>The player upgraded one of their character’s skills.</td></tr><tr><td><a href="/pages/VQjgSFp95PogGkDYE9Cq">SkillUsed</a></td><td>The player used a skill in game (cast fireball, used bomb, used swing…)</td></tr><tr><td><a href="/pages/rlZg1CUVx7Xl4Wl27koH">Social</a></td><td>A social interaction took place</td></tr><tr><td><a href="/pages/d50P5Qedz1Nh9V1dG8k4">SocialConnect</a></td><td>The player connected to a social network</td></tr><tr><td><a href="/pages/k1BzafgcEwvw9phqjmUk">Support</a></td><td>Use this event allows to track when players use in-game tools to contact Lion Studios Support with questions.</td></tr><tr><td><a href="/pages/F7xIZUKXod3DYxCC97nq">UiInteraction</a></td><td>The player interacted with parts of the user interface, specifically pressed buttons to view specific features and navigate around.</td></tr></tbody></table>
{% endtab %}

{% tab title="Gameplay" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/BcuQL5FIoeUt2U1tU8sI">Achievement</a></td><td>The player completed an achievement. This event can also record the rewards for this achievement.</td></tr><tr><td><a href="/pages/5B7gfD8IQdELfPPb15qR">CharacterCreated</a></td><td>The player created a new character.</td></tr><tr><td><a href="/pages/sLHgXvA5cgGBU2xlLtwL">CharacterDeleted</a></td><td>The player deleted a character.</td></tr><tr><td><a href="/pages/WdpliRUpugb67RzY7l8j">CharacterUpdated</a></td><td>The player updated a characters information.</td></tr><tr><td><a href="/pages/GxySnukPrQ6pqpoTtSo4">FeatureUnlocked</a></td><td>The player unlocked a level, item, badge, level, skills or anything else.</td></tr><tr><td><a href="/pages/lCe3eDY10yJFRganTEDO">GameStart</a></td><td>The game started. This event is now fired automatically at the end of Lion SDK initialization.</td></tr><tr><td><a href="/pages/0N4mBK4lybmeKNlOdQIS">HandAction</a></td><td>This event is a poker specific event used to track the betting rounds within a hand of poker.</td></tr><tr><td><a href="/pages/NiLNql8CgigPnGewNe4g">ItemActioned</a></td><td>The player used an item.</td></tr><tr><td><a href="/pages/GJjlXUvtyQhbfipyNccm">ItemCollected</a></td><td>The player picked up or was gifted an item.</td></tr><tr><td><a href="/pages/dkafpVIpd9RgxJk56F2d">LevelUp</a></td><td>The player leveled up. Note this is different than completing a game “level”. In this situation, if your game has the concept of “player levels”, use this event. Traditionally, “players levels” are linked with “experience points” earned during game play.</td></tr><tr><td><a href="/pages/2aUsqjn2NSWPoXDiBay1">NewPlayer</a></td><td>A new player entered the game</td></tr><tr><td><a href="/pages/Lfdx9Hyd9NU3RDryQgTv">NotificationOpened</a></td><td>The game was launched through a push notification, or a notification was received.</td></tr><tr><td><a href="/pages/ZkELaPqe2vt7BpcHmKZQ">Options</a></td><td>Use this event to track when a player changes game option on the settings screen (e.g. toggle audio on/off, enable notifications, etc).</td></tr><tr><td><a href="/pages/e3DLoRsGJLF7fpqVChd6">PowerUpUsed</a></td><td>The player used a power up or boost.</td></tr><tr><td><a href="/pages/uuSq8kcp82tk2vvZD5bO">ProductViewed</a></td><td>The player looked at a product’s description, or viewed an item. This is designed to capture a player’s interest.</td></tr><tr><td><a href="/pages/z2LyvDQYI7TDXVChzQ1D">ShopEntered</a></td><td>The player accessed the shop.</td></tr><tr><td><a href="/pages/Le8wvErCjEW0QUe1cT7Q">SkillUpgraded</a></td><td>The player upgraded one of their character’s skills.</td></tr><tr><td><a href="/pages/VQjgSFp95PogGkDYE9Cq">SkillUsed</a></td><td>The player used a skill in game (cast fireball, used bomb, used swing…)</td></tr><tr><td><a href="/pages/F7xIZUKXod3DYxCC97nq">UiInteraction</a></td><td>The player interacted with parts of the user interface, specifically pressed buttons to view specific features and navigate around.</td></tr></tbody></table>
{% endtab %}

{% tab title="Ads" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/130d8CKmIYULUkkPfJXC">BannerShowRequested</a></td><td>A banner ad was requested to shown</td></tr><tr><td><a href="/pages/6uH5HTTloFwMG5isyXOL">InterstitialClick</a></td><td>An interstitial ad was clicked</td></tr><tr><td><a href="/pages/k0PZApFgFH1I9XUnM9zj">InterstitialEnd</a></td><td>An interstitial ad ended</td></tr><tr><td><a href="/pages/oeCMVRack7IuSMKTPi7U">InterstitialLoad</a></td><td>An interstitial ad was loaded</td></tr><tr><td><a href="/pages/TIRoi6gYNs7OfmucoDa9">InterstitialLoadFail</a></td><td>An interstitial ad failed to load</td></tr><tr><td><a href="/pages/jasHy49AFuUDwo7akwLk">InterstitialShow</a></td><td>An interstitial ad was requested to show</td></tr><tr><td><a href="/pages/t4sOhSMd4jn6d83wz5HT">InterstitialShowFail</a></td><td>An interstitial ad failed to show</td></tr><tr><td><a href="/pages/nDBxxVvuRB3JFbYIZ302">InterstitialTryShow</a></td><td>An interstitial ad was requested to show</td></tr><tr><td><a href="/pages/o5HBOWM14IsNBC1AoN4l">RewardVideoClick</a></td><td>A rewarded video ad was clicked</td></tr><tr><td><a href="/pages/YVt7pIqCMVWVLJyYlgrk">RewardVideoCollect</a></td><td>A rewarded video’s reward was collected</td></tr><tr><td><a href="/pages/YhlUouZYAQCcgUtmieuc">RewardVideoEnd</a></td><td>A rewarded video ad ended</td></tr><tr><td><a href="/pages/4ZXe0xTTnbpXWmaXGuvZ">RewardVideoLoad</a></td><td>A rewarded video ad was loaded</td></tr><tr><td><a href="/pages/KsojVNIGgGWCLV61p3ho">RewardVideoLoadFail</a></td><td>A rewarded video ad failed to load</td></tr><tr><td><a href="/pages/EItHtbRWsVbs6MpzJmsb">RewardVideoOpportunity</a></td><td>The player was presented with the option for a rewarded video.</td></tr><tr><td><a href="/pages/IgZn0sq4X4Ooduu38zA8">RewardVideoShow</a></td><td>A rewarded video ad was requested to show</td></tr><tr><td><a href="/pages/vPsotIvpB8AIThyxAIvV">RewardVideoShowFail</a></td><td>A rewarded video ad failed to show</td></tr><tr><td><a href="/pages/X9T0AENiwwpFJXQNcsl3">RewardVideoTryShow</a></td><td>A rewarded video ad was requested to show</td></tr></tbody></table>
{% endtab %}

{% tab title="Monetization" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/Lz7yIqBLK5VzcaHx6K3v">Economy</a></td><td>The player bought, sold or exchanged something in the game</td></tr><tr><td><a href="/pages/EFUSJnfLEuDNNiVTv7AV">InAppPurchase</a></td><td>The player purchased an IAP</td></tr></tbody></table>
{% endtab %}

{% tab title="Social" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/DDdvhZy9dd8Rr0fc9Smi">GiftReceived</a></td><td>The player received a gift from another player</td></tr><tr><td><a href="/pages/BMBtNos6Uh9deICdsYEx">GiftSent</a></td><td>The player sent a gift to another player</td></tr><tr><td><a href="/pages/brlYXtFvtQBVXzfgUZ8j">InviteReceived</a></td><td>The player received an invite to a set of users</td></tr><tr><td><a href="/pages/2dYUd3HH40eAvmuNL1jL">InviteRewarded</a></td><td>The player received a reward for inviting another player.</td></tr><tr><td><a href="/pages/IJsAFlzffFxWaGcf875D">InviteSent</a></td><td>The player sent an invite to the game</td></tr><tr><td><a href="/pages/rlZg1CUVx7Xl4Wl27koH">Social</a></td><td>A social interaction took place</td></tr><tr><td><a href="/pages/d50P5Qedz1Nh9V1dG8k4">SocialConnect</a></td><td>The player connected to a social network</td></tr><tr><td><a href="/pages/k1BzafgcEwvw9phqjmUk">Support</a></td><td>Use this event allows to track when players use in-game tools to contact Lion Studios Support with questions.</td></tr></tbody></table>
{% endtab %}

{% tab title="Progression" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/5YaweK4yCKgBhJz7m2Sn">MissionAbandoned</a></td><td>The player abandoned a mission</td></tr><tr><td><a href="/pages/x0IVBkR580H8Wy2MiSFc">MissionCompleted</a></td><td>The player completed a mission</td></tr><tr><td><a href="/pages/4Nntix38WU9rP5TH6WOQ">MissionFailed</a></td><td>The player failed a mission</td></tr><tr><td><a href="/pages/8bnh4SXBMymii0FU5oXo">MissionStarted</a></td><td>The player started a mission</td></tr><tr><td><a href="/pages/gMt9CdVfO1BssrKUttzQ">MissionStep</a></td><td>This event allows you to track partial progress towards completing a mission. If there are some natural steps or breakpoints during a mission, fire the MissionStep events.</td></tr></tbody></table>
{% endtab %}

{% tab title="Debug" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/tDLhimzpO2pEdNCbxS1w">DebugEvent</a></td><td>Anything happened which is not covered by other events but is needed to debug or understand a situation</td></tr><tr><td><a href="/pages/nOQ6bRGuT4SLckEnC0Nq">ErrorEvent</a></td><td>The game had an expected error or issue</td></tr></tbody></table>
{% endtab %}

{% tab title="Experiments" %}

<table data-full-width="true"><thead><tr><th width="200">Client Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/4D8aoi3lWoOiIGlghv7D">FunnelEvent</a></td><td>A funnel event test</td></tr><tr><td><a href="/pages/tV7SZvvJWg22H37PRD3V">PredictionResult</a></td><td>If your game is using any predictive models (e.g. Multi-arm Bandit) or other machine learning algorithms to pull levers in your game, use this event to track the prediction related to the player. Sin</td></tr></tbody></table>
{% endtab %}
{% endtabs %}


---

# 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/api/events.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.
