At a glance: Measure the quality of your users throughout their user journey by recording these suggested in-app events for your sports betting app.
Sports betting
Sports betting apps allow bettors to place bets on a range of sports markets. The typical events that we suggest recording are deposits, placing bets, and withdrawals.
Recording events can help you determine:
- Quality of your app users
- How engaged users are
- Revenue that is generated through bets
- What type of bets generate the lowest or highest revenue
Important!
- Make sure to read the instructions for marketers about implementing in-app events.
- (Coming soon) To streamline the implementation process, use our In-app event generator. This tool includes all of the typical in-app events described in this article and lets you modify the events according to your business needs. Once complete, share the file with your developer.
- For each recommended event included in this article, there are code samples for iOS, Android, and Unity developers.
- Detailed instructions for your developer can be found in the AppsFlyer developer hub.
For more information about recording in-app events, see the In-app events guide.
Recommended structures for predefined events
The following section provides a list of event structures that are typical to the sports betting vertical. Each structure includes a predefined event name and the suggested event parameters to use. Note that in-app events can include any event parameters that meet your business needs.
Login (af_login)
Purpose
Understand the retention of your registered users
Trigger
Whenever the user successfully logs in
Event parameters
Can be sent without any additional parameters
Complete registration (af_complete_registration)
Purpose
Learn how many users installed the app and completed the signup process, and what signup methods your users prefer.
Trigger
When the user completes the signup process and the registration is confirmed by the app (without errors).
Event parameters
Name | Description | Example value |
---|---|---|
af_registration_method | Type of signup method | email, Facebook |
Recommended structures for custom events
The following section provides an event structure that includes a custom event name and the suggested event parameter to use. Note that in-app events can include any event parameters that meet your business needs.
First time deposit (first_time_deposit)
Purpose
Recording this event can help you determine:
- When users make a first-time deposit
- Revenue generated by first-time deposits
In addition, ad network partners can optimize your advertising campaigns by targeting users that have made first-time deposits.
Trigger
First time the user makes a deposit into their betting account
Event parameters
Name | Description | Example value |
---|---|---|
af_revenue | Monetary value of the deposit that was made | 200 |
af_currency | Currency in which the deposit was made | AUD |
Deposit (deposit)
Purpose
Determine the value of the deposits being made by your users.
Trigger
Subsequent deposit the user makes after the first time deposit
Event parameters
Name | Description | Example value |
---|---|---|
af_revenue | Monetary value of the deposit that was made | 200 |
af_currency | Currency in which the deposit was made | AUD |
Placed bet (placed_bet)
Purpose
Learn which events drive the least amount of revenue, and which events drive the most.
Trigger
When a bet is successfully placed
Event parameters
Name | Description | Example value |
---|---|---|
af_price | Monetary value of the bet that was placed | 100 |
af_currency | Currency in which the bet was placed | AUD |
event_number | Unique identifier of the event that the bet was placed on | 123789 |
event_date | Date of the event that was bet on | 13122021 |
event_time | Time of the event that was bet on | 17:30 |
transaction_id | ID of the placed bet | 221 |
Withdrawal (withdrawal)
Purpose
Learn when users withdraw money that they previously deposited into their betting account.
Trigger
When a user withdraws money from their betting account
Event parameters
Name | Description | Example value |
---|---|---|
af_revenue | Monetary value of the withdrawal. Record as a negative revenue value. | -100 |
af_currency | Currency that was withdrawn | AUD |
Bonus bet (bonus_bet)
Purpose
Bonus bets are optional bets that app owners can use to award bettors as a sign-up or deposit incentive, or as a promotion to place a certain bet type.
Recording this event helps you determine the total value of bonus bets given to users and the number of users that placed a bonus bet.
Trigger
When a bet is successfully placed
Event parameters
Name | Description | Example value |
---|---|---|
af_price | Monetary value of the bet placed | 100 |
af_currency | Currency that bet was placed in | AUD |
event_number |
Unique identifier of the event that the bet was placed on | 123789 |
event_date | Date of the event that was bet on | 13122021 |
event_time | Time of the event that was bet on | 17:30 |
bonus_id | ID of the bonus bet | 221 |
Cancels bet (canceled_bet)
Purpose
This event can help you:
- Log users that constantly cancel bets
- Learn how many bets are canceled
- Learn the reasons why a bet is canceled
Trigger
When the user cancels a bet
Event parameters
Name | Description | Example value |
---|---|---|
af_price | Monetary value of the bet placed | 100 |
af_currency | Currency that bet was placed in | AUD |
event_number |
Unique identifier of the event that the bet was placed on | 123789 |
event_date | Date of the event that was bet on | 13122021 |
event_time | Time of the event that was bet on | 17:30 |
Account deducted (account_deducted)
Purpose
Log and record debits to user accounts
Trigger
When a bet is lost
Event parameters
Name | Description | Example value |
---|---|---|
af_price | Monetary value of the bet placed | 100 |
af_currency | Currency that bet was placed in | AUD |
account_number | Unique identifier of the user's account | 15780 |
event_number |
Unique identifier of the event that the bet was placed on | 123789 |
event_date | Date of the event that was bet on | 13122021 |
event_time | Time of the event that was bet on | 17:30 |
Account credited (account_credited)
Purpose
Log and record credits to user accounts
Trigger
When a bet is won
Event parameters
Name | Description | Example value |
---|---|---|
af_price | Monetary value of the bet placed | 100 |
af_currency | Currency that bet was placed in | AUD |
account_number | Unique identifier of the user's account | 15780 |
event_number |
Unique identifier of the event that the bet was placed on | 123789 |
event_date | Date of the event that was bet on | 13122021 |
event_time | Time of the event that was bet on | 17:30 |