level_end
RecommendedThis event signifies that a player has reached the end of a level.
- Platforms
- web, app
- When it fires
- You send it when the action happens.
Parameters (2)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| level_name | string | No | The name of the level. | The journey begins... |
| success | boolean | No | Set to true if the level was completed successfully. | true |
Example
gtag.js
gtag('event', 'level_end', {
level_name: 'The journey begins...',
success: true,
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'level_end',
level_name: 'The journey begins...',
success: true,
});