# Gamification activities in the communications

## Building campaigns for gamification activities

All the gamification blocks like missions, tournaments, levels, store, mini-games, jackpots etc are generating events that are related to the user interaction with the system. For example, purchase in the Store will generated "Gamification: store purchase succeeded" event. You can find full list of such events below.

You can build a marketing campaign that is notifying user about such activities as shown on the screens.

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-f5137a8f9872ee027830a894918932cab52385ad%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-2f806d4210e6dcd188c2a8b0895f23da6c9ebf48%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Using tags inside the communication assets

Each event also brings details the can be used in the content of the communication, for example tag **{{event.meta.name}}** will contain the name of the purchased item. This way you can build a communication like "Thank you for purchasing {{event.meta.name}}"

{% hint style="warning" %}
All the content in the tags is taking into account language of the user and branding details that you can setup as part of the Store item.
{% endhint %}

Another example for the case when operator would like to send a rich body inbox to the user stating that player has unlocked a new mission. The operator would like to let the user know that player just unlocked a new mission, congratulate him/her on the achievement and encourage the user to keep going by sharing some details on the newly unlocked mission.

Example:

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-5fb923f86278fa060c7c0f13f2afc37af59a243d%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

```html
<body>
    <div>
        <span><h2>Congratulations, you just unlocked a new mission {{event.meta.name}}</h2></div>
	</div>
        You have unlocked {{event.meta.name}} mission via: <br />
        {{event.meta.unlock_mission_description}}
        <br />
    <span>
        <img src="{{event.meta.image_url}}" align="left" /> Short description of the mission: <br /> {{event.meta.description}} <br />

        Do not miss it as compeleting {{event.meta.name}} will grant you {{event.meta.reward}}! <br />
    </span>
        <span class="small">Terms and conditions can be found here:<br />{{event.meta.hint_text}}</span>
</body>
```

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-60d9be145ef2934a5f98bf7355e3013b7bd0df8d%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-40bb9af4d6e4e3bb3fd3d7f4b09d96066dacc54c%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Available tags

### Store

**Event: Gamification: store purchase succeeded (shop\_item\_purchase\_successed)**

Event is sent to user when he completes purchase in the store

<table><thead><tr><th width="333">Column</th><th width="124">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.price}}</td><td>int64</td><td>The price of the purchased item in points</td></tr><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the purchased item</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the purchased item</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the purchased item icon</td></tr><tr><td>{{event.meta.hint_text}}</td><td>string</td><td>The terms and conditions of the purchased item</td></tr><tr><td>{{ event.int_param1 }}</td><td>string</td><td>The URL populated in the 'Integration Parameter' field of the store item</td></tr></tbody></table>

### **Missions**

**Event: Gamification: mission unlocked (ach\_achievement\_unlocked)**

Event is sent to user when he unlocks mission

<table><thead><tr><th width="267">Column</th><th width="159">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.achievement_id}}</td><td>int64</td><td>The mission id of the unlocked mission</td></tr><tr><td>{{event.meta.reward}}</td><td>int64</td><td>The reward description of the unlocked mission</td></tr><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the unlocked mission</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the unlocked mission</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the unlocked mission icon</td></tr><tr><td>{{event.meta.hint_text}}</td><td>string</td><td>The terms and conditions of the unlocked mission</td></tr><tr><td>{{event.meta.unlock_mission_description}}</td><td>string</td><td>The unlock description of the unlocked mission</td></tr></tbody></table>

**Event: Gamification: mission unlocked manually or by AI (ach\_achievement\_unlock\_manually)**

Event is sent to user when mission is unlocked to him manually

<table><thead><tr><th width="268">Column</th><th width="160">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.achievement_id}}</td><td>int64</td><td>The mission id of the unlocked mission</td></tr><tr><td>{{event.meta.reward}}</td><td>int64</td><td>The reward description of the unlocked mission</td></tr><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the unlocked mission</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the unlocked mission</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the unlocked mission icon</td></tr><tr><td>{{event.meta.hint_text}}</td><td>string</td><td>The terms and conditions of the unlocked mission</td></tr><tr><td>{{event.meta.unlock_mission_description}}</td><td>string</td><td>The unlock description of the unlocked mission</td></tr></tbody></table>

**Event: Gamification: mission viewed (ach\_achievement\_viewed)**

Event it sent to user when he is opening mission popup (works only in Smartico gamification widget, but doesn't work when UI is implemented by Operator using API)

<table><thead><tr><th width="269">Column</th><th width="160">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.achievement_id}}</td><td>int64</td><td>The mission id of the viewed mission</td></tr><tr><td>{{event.meta.reward}}</td><td>int64</td><td>The reward description of the viewed mission</td></tr><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the viewed mission</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the viewed mission</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the viewed mission icon</td></tr><tr><td>{{event.meta.hint_text}}</td><td>string</td><td>The terms and conditions of the viewed mission</td></tr><tr><td>{{event.meta.unlock_mission_description}}</td><td>string</td><td>The unlock description of the viewed mission</td></tr></tbody></table>

**Event: Gamification: mission completed (ach\_achievement\_completed)**

Event is sent to user when he completes mission

<table><thead><tr><th width="267">Column</th><th width="159">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.achievement_id}}</td><td>int64</td><td>The mission id of the completed mission</td></tr><tr><td>{{event.meta.reward}}</td><td>int64</td><td>The reward description of the completed mission</td></tr><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the completed mission</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the completed mission</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the completed mission icon</td></tr><tr><td>{{event.meta.hint_text}}</td><td>string</td><td>The terms and conditions of the completed mission</td></tr><tr><td>{{event.meta.unlock_mission_description}}</td><td>string</td><td>The unlock description of the completed mission</td></tr></tbody></table>

### Badges

**Event: Gamification: badge completed (ach\_badge\_completed)**

Event is sent to user when he completed badge (fully)

<table><thead><tr><th width="271">Column</th><th width="160">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the completed badge</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the completed badge</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the completed badge icon</td></tr></tbody></table>

**Event: Gamification: badge task completed (ach\_badge\_task\_completed)**

Event is sent to user when he completes one of the tasks in the badge

<table><thead><tr><th width="274">Column</th><th width="161">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the completed badge task</td></tr><tr><td>{{event.meta.points_reward}}</td><td>int64</td><td>Points to be rewarded for completing the badge task</td></tr><tr><td>{{event.meta.execution_period_sec}}</td><td>int64</td><td>Period to complete the badge task in seconds</td></tr><tr><td>{{event.meta.execution_count}}</td><td>int64</td><td>Times to complete the badge task</td></tr><tr><td>{{event.meta.progress_increment}}</td><td>int64</td><td>Progress increment of the badge task</td></tr></tbody></table>

### Levels

**Event: Gamification: level changed (ach\_level\_changed)**

Event is sent to user when he is changing the level

<table><thead><tr><th width="276">Column</th><th width="163">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the level</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the level</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The URL of the level icon</td></tr><tr><td>{{event.meta.reward}}</td><td>string</td><td>Reward of the level</td></tr><tr><td>{{event.meta.cashback}}</td><td>int64</td><td>Cashback of the level in %</td></tr><tr><td>{{event.meta.rakeback}}</td><td>int64</td><td>Monthly rakeback of the level in %</td></tr><tr><td>{{event.meta.image_inactive}}</td><td>string</td><td>The URL of the level inactive icon</td></tr><tr><td>{{event.meta.image_active}}</td><td>string</td><td>The URL of the level active icon</td></tr></tbody></table>

### Leaderboards

**Event: Gamification: board won (ach\_listed\_on\_board\_with\_reward)**

Event is sent to user when he wins position with prize in the leaderboard

<table><thead><tr><th width="276">Column</th><th width="163">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the leaderboard</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the leaderboard</td></tr><tr><td>{{event.meta.rules}}</td><td>string</td><td>The rules of the leaderboard (might be a deep link)</td></tr><tr><td>{{event.meta.number_of_rewards_on_board}}</td><td>int64</td><td>How many users get rewarded</td></tr><tr><td>{{event.meta.number_of_users_participated}}</td><td>int64</td><td>Total number of participants in the leaderboard</td></tr><tr><td>{{event.meta.board_started_utc}}</td><td>timestamp</td><td>When the leaderboard will start in UTC</td></tr><tr><td>{{event.meta.board_finalized_utc}}</td><td>timestamp</td><td>When the leaderboard will end in UTC</td></tr></tbody></table>

### Minigames

**Event: Minigame: view (minigame\_view)**

Event is sent to user when he opens mini-game

<table><thead><tr><th width="280">Column</th><th width="164">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.minigame_name}}</td><td>string</td><td>The name of the minigame</td></tr><tr><td>{{event.meta.minigame_description}}</td><td>string</td><td>The description of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_text}}</td><td>string</td><td>The promo text of the minigame</td></tr><tr><td>{{event.meta.minigame_thumbnail}}</td><td>string</td><td>The thumbnail URL of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_image}}</td><td>string</td><td>The promo image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image}}</td><td>string</td><td>The background image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image_mobile}}</td><td>string</td><td>The background image URL of the minigame for mobile</td></tr></tbody></table>

**Event: Minigame: attempt (minigame\_attempt)**

Event is sent at the moment user tryies to play mini-game, it could happen that he won't be able to play, e.g. doesnt have enough points, restricted by time etc.

<table><thead><tr><th width="282">Column</th><th width="162">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.minigame_name}}</td><td>string</td><td>The name of the minigame</td></tr><tr><td>{{event.meta.minigame_description}}</td><td>string</td><td>The description of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_text}}</td><td>string</td><td>The promo text of the minigame</td></tr><tr><td>{{event.meta.minigame_thumbnail}}</td><td>string</td><td>The thumbnail URL of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_image}}</td><td>string</td><td>The promo image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image}}</td><td>string</td><td>The background image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image_mobile}}</td><td>string</td><td>The background image URL of the minigame for</td></tr></tbody></table>

**Event: Minigame: spins issued (minigame\_spins\_issued)**

Event is sent when spin attempt is given to the user

<table><thead><tr><th width="282">Column</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.minigame_name}}</td><td>string</td><td>The name of the minigame</td></tr><tr><td>{{event.meta.minigame_description}}</td><td>string</td><td>The description of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_text}}</td><td>string</td><td>The promo text of the minigame</td></tr><tr><td>{{event.meta.minigame_thumbnail}}</td><td>string</td><td>The thumbnail URL of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_image}}</td><td>string</td><td>The promo image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image}}</td><td>string</td><td>The background image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image_mobile}}</td><td>string</td><td>The background image URL for mobile min</td></tr></tbody></table>

**Event: Minigame: win (minigame\_win)**

Event is sent to user when he wins any prize in the mini-game (including special prize "No prize")

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.minigame_name}}</td><td>string</td><td>The name of the minigame</td></tr><tr><td>{{event.meta.minigame_description}}</td><td>string</td><td>The description of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_text}}</td><td>string</td><td>The promo text of the minigame</td></tr><tr><td>{{event.meta.minigame_thumbnail}}</td><td>string</td><td>The thumbnail URL of the minigame</td></tr><tr><td>{{event.meta.minigame_promo_image}}</td><td>string</td><td>The promo image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image}}</td><td>string</td><td>The background image URL of the minigame</td></tr><tr><td>{{event.meta.minigame_background_image_mobile}}</td><td>string</td><td>The background image URL for mobile min</td></tr><tr><td>{{event.meta.prize_name}}</td><td>string</td><td>The name of the prize</td></tr><tr><td>{{event.meta.prize_icon}}</td><td>string</td><td>The URL of the prize icon</td></tr><tr><td>{{event.meta.prize_aknowledge_message}}</td><td>string</td><td>The prize acknowledge message</td></tr><tr><td>{{event.meta.prize_value}}</td><td>int64</td><td>The prize amount</td></tr></tbody></table>

### Tournaments

**Event: Tournament: user is opted-in, waiting for qualification (tournament\_registered\_pending\_qualification)**

Event is sent to user when he opt-in to the tournament that requires qualification

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event: Tournament: user is qualified, waiting for opt in (tournament\_user\_qualified\_pending\_registration)**

Event is sent to user when he completes qualification requires, matching to segment of tournament, but he didn't opt-in yet

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event: Tournament: user registered (tournament\_user\_registered)**

Event is sent to user at the time when he registers in the tournament

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>The short name of the prize pool</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event: Tournament: started (tournament\_started)**

Event is sent to all users who registered in the tournament at the moment when tournament is starting

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>The short name of the prize pool</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event Tournament: cancelled (tournament\_cancelled)**

Event is sent to all users that registered in the tournament, in case tournament is cancelled

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>The short name of the prize pool</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event: Tournament: lose (tournament\_lose)**

Event is sent to users that didn't win in the tournament, but participated in it

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>The short name of the prize pool</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

**Event: Tournament: win (tournament\_win)**

Event is sent to user when he wins a tournaments (completing tournament on the place that has any type of prize)

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the tournament</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the tournament</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>URL of the tournament image on the list of the tournaments</td></tr><tr><td>{{event.meta.image_url2}}</td><td>string</td><td>URL of the tournament lobby image for desktop</td></tr><tr><td>{{event.meta.image_url2_mobile}}</td><td>string</td><td>URL of the tournament lobby image for mobile</td></tr><tr><td>{{event.meta.inst_reg_count}}</td><td>string</td><td>Count of the registered users</td></tr><tr><td>{{event.meta.prize_pool_short}}</td><td>string</td><td>The short name of the prize pool</td></tr><tr><td>{{event.meta.prize_activity_name}}</td><td>string</td><td>Reward type name:<br>Funnel Marker<br>Add Points<br>Mini Game<br>Deduct Points<br>Reset Points<br>Change Level<br>Prize drop<br>Give Bonus<br><br>Note: Funnel Marker is tangible prize</td></tr><tr><td>{{event.meta.prize_activity_type_id}}</td><td>int64</td><td>Reward type id:<br>8 - Funnel Marker (Tangible prize)<br>12 - Add Points<br>16 - Mini Game<br>21 - Deduct Points<br>22 - Reset Points<br>23 - Change Level<br>24 - Prize drop<br>100 - Give Bonus</td></tr><tr><td>{{event.meta.prize_place_from}}</td><td>int64</td><td>From which place the users are entitled to receive rewards</td></tr><tr><td>{{event.meta.prize_place_to}}</td><td>int64</td><td>To which place users are entitle to receive rewards</td></tr><tr><td>{{event.meta.prize_name}}</td><td>string</td><td>Won prize name</td></tr><tr><td>{{event.meta.prize_image_url}}</td><td>string</td><td>Prize image url</td></tr><tr><td>{{event.meta.prize_points_won}}</td><td>int64</td><td>The amount of points rewarded to the player.<br>Applicable only for reward type points</td></tr><tr><td>{{event.meta.prize_total_prizes_won}}</td><td>int64</td><td>Total prizes won by the user</td></tr><tr><td>{{event.place}}</td><td>int64</td><td>Place at which the user finished</td></tr><tr><td>{{event.start_time}}</td><td>timestamp</td><td><p>Date and time when the tournament started in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr><tr><td>{{event.end_time}}</td><td>timestamp</td><td><p>Date and time when the tournament ends in the following format: YYYY-MM-DD HH:MM:SS.</p><p>Note that the time zone is UTC.</p></td></tr></tbody></table>

### Jackpots

**Event: Jackpot: opt-in (jackpot\_opt\_in)**

Event is sent when user is opting in into the jackpot

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the jackpot</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the jackpot</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The jackpot image URL</td></tr><tr><td>{{event.meta.min_amount}}</td><td>float</td><td>Minimum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.max_amount}}</td><td>float</td><td>Maximum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.contribution_value}}</td><td>float</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.meta.contribution_type}}</td><td>int64</td><td>Jackpot's contribution type:<br>1 - Fixed amount contribution<br>2 - Percentage of the bet amount</td></tr><tr><td>{{event.meta.contribution_player_percentage}}</td><td>float</td><td>Percentage of the contribution amount that will be taken from the player's wallet.<br>Valid only for mixed contribution money source.</td></tr></tbody></table>

**Event: Jackpot: opt-out (jackpot\_opt\_out)**

Event is sent when user is opting out from jackpot

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the jackpot</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the jackpot</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The jackpot image URL</td></tr><tr><td>{{event.meta.min_amount}}</td><td>float</td><td>Minimum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.max_amount}}</td><td>float</td><td>Maximum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.contribution_value}}</td><td>float</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.meta.contribution_type}}</td><td>int64</td><td>Jackpot's contribution type:<br>1 - Fixed amount contribution<br>2 - Percentage of the bet amount</td></tr><tr><td>{{event.meta.contribution_player_percentage}}</td><td>float</td><td>Percentage of the contribution amount that will be taken from the player's wallet.<br>Valid only for mixed contribution money source.</td></tr></tbody></table>

**Event: Jackpot: non-win (jackpot\_user\_nonwin)**

Event is sent when jackpot is exploding and user that particapted in it, didn't win. Note that this event is not send to all non-winners by default and target audience need to be configured in the Jackpot template

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the jackpot</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the jackpot</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The jackpot image URL</td></tr><tr><td>{{event.meta.min_amount}}</td><td>float</td><td>Minimum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.max_amount}}</td><td>float</td><td>Maximum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.contribution_value}}</td><td>float</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.meta.contribution_type}}</td><td>int64</td><td>Jackpot's contribution type:<br>1 - Fixed amount contribution<br>2 - Percentage of the bet amount</td></tr><tr><td>{{event.meta.contribution_player_percentage}}</td><td>float</td><td>Percentage of the contribution amount that will be taken from the player's wallet.<br>Valid only for mixed contribution money source.</td></tr><tr><td>{{event.winning_amount_jp_currency}}</td><td>float</td><td>Won amount in jackpot currency</td></tr><tr><td>{{event.jp_currency}}</td><td>string</td><td>Jackpot currency code</td></tr><tr><td>{{event.winning_amount_wallet_currency}}</td><td>float</td><td>Won amount in user's wallet currency</td></tr><tr><td>{{event.winning_game_id}}</td><td>string</td><td>Game id of the winning game</td></tr></tbody></table>

**Event: Jackpot: win (**&#x6A;**ackpot\_user\_win)**

Event is sent when user wins the jackpot, note that target audience need to be configured in the Jackpot template

<table><thead><tr><th width="283">Field Name</th><th width="165">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>The name of the jackpot</td></tr><tr><td>{{event.meta.description}}</td><td>string</td><td>The description of the jackpot</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>The jackpot image URL</td></tr><tr><td>{{event.meta.min_amount}}</td><td>float</td><td>Minimum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.max_amount}}</td><td>float</td><td>Maximum pot amount at which the jackpot can explode</td></tr><tr><td>{{event.meta.contribution_value}}</td><td>float</td><td>Jackpot's contribution amount in fixed value or percentage depending on the contribution type.</td></tr><tr><td>{{event.meta.contribution_type}}</td><td>int64</td><td>Jackpot's contribution type:<br>1 - Fixed amount contribution<br>2 - Percentage of the bet amount</td></tr><tr><td>{{event.meta.contribution_player_percentage}}</td><td>float</td><td>Percentage of the contribution amount that will be taken from the player's wallet.<br>Valid only for mixed contribution money source.</td></tr><tr><td>{{event.winning_amount_jp_currency}}</td><td>float</td><td>Won amount in jackpot currency</td></tr><tr><td>{{event.jp_currency}}</td><td>string</td><td>Jackpot currency code</td></tr><tr><td>{{event.winning_amount_wallet_currency}}</td><td>float</td><td>Won amount in user's wallet currency</td></tr><tr><td>{{event.winning_game_id}}</td><td>string</td><td>Game id of the winning game</td></tr></tbody></table>

### Raffles

**Event:** Raffle: Tickets given **(**&#x72;affle\_tickets\_give&#x6E;**)**

Event is sent when tickets for raffle are given

<table><thead><tr><th width="336.48828125">Field name</th><th width="169.55078125">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.raffle_name}}</td><td>string</td><td>Name of raffle</td></tr><tr><td>{{event.meta.raffle_description}}</td><td>string</td><td>Description of raffle</td></tr><tr><td>{{event.meta.raffle_image_url}}</td><td>string</td><td>Image of raffle</td></tr><tr><td>{{event.meta.raffle_image_url_mobile}}</td><td>string</td><td>Mobile image of raffle</td></tr></tbody></table>

**Event: Raffle: Draw Won (**&#x72;affle\_draw\_wo&#x6E;**)**

Event is sent do the winners of draw in the raffle

<table><thead><tr><th width="336.48828125">Field name</th><th width="169.55078125">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.raffle_name}}</td><td>string</td><td>Name of raffle</td></tr><tr><td>{{event.meta.raffle_description}}</td><td>string</td><td>Description of raffle</td></tr><tr><td>{{event.meta.prize_description}}</td><td>string</td><td>Description of prize</td></tr><tr><td>{{event.meta.raffle_image_url}}</td><td>string</td><td>Image of raffle</td></tr><tr><td>{{event.meta.raffle_image_url_mobile}}</td><td>string</td><td>Mobile image of raffle</td></tr><tr><td>{{event.meta.draw_name}}</td><td>string</td><td>Name of the draw</td></tr><tr><td>{{event.meta.draw_description}}</td><td>string</td><td>Description of the draw</td></tr><tr><td>{{event.meta.draw_image_url}}</td><td>string</td><td>Image of the draw for desktop</td></tr><tr><td>{{event.meta.draw_image_url_mobile}}</td><td>string</td><td>Image of the draw for mobile</td></tr><tr><td>{{event.meta.prize_name}}</td><td>string</td><td>Name of prize</td></tr><tr><td>{{event.meta.prize_image_url}}</td><td>string</td><td>Image of prize</td></tr></tbody></table>

### Bonuses

**Bonus: Core: smartico bonus failed (**&#x63;ore\_bonus\_faile&#x64;**)**

Event is sent when sending a bonus fails

<table><thead><tr><th width="336.48828125">Field name</th><th width="169.55078125">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>UI name of the bonus</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>Image of the bonus</td></tr><tr><td>{{event.meta.acknowledge}}</td><td>string</td><td>Acknowledge message of the bonus</td></tr></tbody></table>

**Bonus: Core: smartico bonus given (**&#x63;ore\_bonus\_give&#x6E;**)**

Event is sent when sending a bonus succeeds

<table><thead><tr><th width="336.48828125">Field name</th><th width="169.55078125">Type</th><th>Note</th></tr></thead><tbody><tr><td>{{event.meta.name}}</td><td>string</td><td>UI name of the bonus</td></tr><tr><td>{{event.meta.image_url}}</td><td>string</td><td>Image of the bonus</td></tr><tr><td>{{event.meta.acknowledge}}</td><td>string</td><td>Acknowledge message of the bonus</td></tr></tbody></table>

## FAQ

**Q: Why the event details might be wrong if used in a communication sent not at the start of the journey/campaign?**

A: Because the details are tied to the last executed event so if you would like to take the trigger event details of the campaign then the communication should be placed immediately after the start of the flow or to save the details in a campaign tag/s and then use campaign tags in the communication instead of event details.
