Login Events

Track key actions in the login flow, including landing on the login page, choosing a login method, canceling the process, successfully logging in, and reaching the shop page.

login_land
login_land
timestamp
Number

The time when the event occurred.

Example 1632345000

event
String

The type of player authentication event. In this case, login_land.

Example login_land

platform
String

The device platform used by the player.

Example mobile

countryCode2
String

The two-letter country code of the player.

Example US

sessionId
String

The unique session ID for the authentication event.

Example abc123

utmSource
String

Identifies the source of your traffic.

Optional Values google, facebook, instagram
Example google

utmMedium
String

Specifies the medium through which the traffic arrived.

Optional Values cpc, email, social, referral
Example cpc

utmCampaign
String

Identifies the marketing campaign associated with the traffic.

Optional Values spring_sale, retargeting, black_friday
Example spring_sale

Example Payload

Here is an example of what the payload might look like:

{
    "timestamp": 1632345000,
    "event": "login_land",
    "platform": "mobile",
    "countryCode2": "US",
    "sessionId": "abc123",
    "utmSource": "google",
    "utmMedium": "cpc",
    "utmCampaign": "spring_sale"
}
          
login_method_selected
login_method_selected
timestamp
Number

The time when the event occurred.

Example 1632345000

event
String

The type of player authentication event. In this case, login_method_selected.

Example login_method_selected

platform
String

The device platform used by the player.

Example mobile

countryCode2
String

The two-letter country code of the player.

Example US

sessionId
String

The unique session ID for the authentication event.

Example abc123

method
String

The authentication method selected by the player in the main login screen.

Optional Values: facebook, google, apple, user_name, OTP
Example facebook

Example Payload

Here is an example of what the payload might look like:

{
    "timestamp": 1632345000,
    "event": "login_method_selected",
    "platform": "mobile",
    "countryCode2": "US",
    "sessionId": "abc123",
    "method": "facebook"
}
                
login_resolved
login_resolved
timestamp
Number

The time when the event occurred.

Example 1632345000

event
String

The type of player authentication event. In this case, login_resolved.

Example login_resolved

platform
String

The device platform used by the player.

Example mobile

countryCode2
String

The two-letter country code of the player.

Example US

sessionId
String

The unique session ID for the authentication event.

Example abc123

method
String

The authentication method selected by the player in the main login screen.

Optional Values: facebook, google, apple, user_name, OTP
Example facebook

result
String

The result of the login_resolved event.

Example success

reason
String

Optional. The reason for the login_resolved failure.

Example invalid_credentials

Example Payload

Here is an example of what the payload might look like:

{
    "timestamp": 1632345000,
    "event": "login_resolved",
    "platform": "mobile",
    "countryCode2": "US",
    "sessionId": "abc123",
    "method": "facebook",
    "result": "success",
    "reason": "invalid_credentials"
}
login_canceled
login_canceled
timestamp
Number

The time when the event occurred.

Example 1632345000

event
String

The type of player authentication event. In this case, login_canceled.

Example login_canceled

platform
String

The device platform used by the player.

Example mobile

countryCode2
String

The two-letter country code of the player.

Example US

sessionId
String

The unique session ID for the authentication event.

Example abc123

method
String

The authentication method selected by the player in the main login screen.

Optional Values: facebook, google, apple, user_name, OTP
Example facebook

Example Payload

Here is an example of what the payload might look like:

{
    "timestamp": 1632345000,
    "event": "login_canceled",
    "platform": "mobile",
    "countryCode2": "US",
    "sessionId": "abc123",
    "method": "facebook"
}
shop_land
shop_land
timestamp
Number

The time when the event occurred.

Example 1632345000

event
String

The type of player authentication event. In this case, shop_land.

Example shop_land

platform
String

The device platform used by the player.

Example mobile

countryCode2
String

The two-letter country code of the player.

Example US

sessionId
String

The unique session ID for the authentication event.

Example abc123

playerId
String

The player’s ID.

Example player_001

utmSource
String

Identifies the source of your traffic.

Optional Values google, facebook, instagram
Example google

utmMedium
String

Specifies the medium through which the traffic arrived.

Optional Values cpc, email, social, referral
Example cpc

utmCampaign
String

Identifies the marketing campaign associated with the traffic.

Optional Values spring_sale, retargeting, black_friday
Example spring_sale

Example Payload

Here is an example of what the payload might look like:

{
    "timestamp": 1632345000,
    "event": "shop_land",
    "platform": "mobile",
    "countryCode2": "US",
    "sessionId": "abc123",
    "playerId": "player_001",
    "utmSource": "google",
    "utmMedium": "cpc",
    "utmCampaign": "spring_sale"
}