Skip to main content
Version: SDK 5.0.x

Predefined Events

The SDK provides a list of predefined events as static fields of the AppEvent class. Below you can find a list of these events with their description and what dimensions are expected to be provided with them.

JtAd

You can use this event to capture details of an ad like load, click, show etc. Ad impressions are automatically tracked by justtrack SDK for integrated networks. For networks not integrated you can use forwardAdImpression().

Default dimensions

NameDescriptionSuggested values
jt_actionDescribes the action of the ad.load, open, show, close, click, start, stop, success
jt_ad_bundle_idThe bundle id of the ad.com.place.holder, com.zm.nuts, com.gym.racegame
jt_ad_instance_nameThe instance name of the adDefault, Bidding, a902fc4c1628ad96
jt_ad_networkThe ad network which served the advertisement.Applovin Network, Admob Bidding, Adjoe Bidding
jt_ad_placementInformation related to the placement of the advertisementDefaultinterstitial, Appopenad, Levelskip
jt_ad_sdkThe SDK which served the advertisement.Applovin MAX, Adjoe, Ironsource
jt_ad_segmentThe segment of the ad.iOS LAT, Android US, Free User
jt_ad_unitType of advertisement.Banner, Rewarded, Interstitial
jt_ad_test_groupThe ad test group information.1, 2, 3

Extra properties

Parameter nameDescriptionSuggested values
durationThe duration of the event12345
unitThe unit of the duration

JtLogin

To capture all details related to user login events.

Default dimensions

NameDescriptionSuggested values
jt_actionInformation about any action related to loginattempted, failed, success
jt_methodCould be used to record login method.email, facebook, gmail

JtProgression

You can use this event to track all details related to the progression of the user in the game.

Default dimensions

NameDescriptionSuggested values
jt_actionDefines the progression action.start, complete, fail
jt_progression_1Defines what kind of progression you’re tracking.level, challenge, world, stage, character
jt_progression_2Defines the step of the progressionlevel_1, challenge_1, mars
jt_progression_3Defines some detail about the progression step.PathA, PathB, BossFIght

Extra properties

Parameter nameDescriptionSuggested values
durationThe duration of the event12345
unitThe unit of the duration

JtPurchase

Event that tracks and reports in-app purchase related details e.g. user selected some item from store, confirmed purchase, added to cart etc. In case of a successful purchase or subscription justtrack automatically tracks and reports the event so there is no need to generate that event.

Default dimensions

NameDescriptionSuggested values
jt_actionType of action.OptionClick, OptionConfirm, Amount
jt_product_idSpecifies the ID of the purchase or subscriptionstarter_pack, no_ads, no_ads_coins
jt_tokenSpecifies the token for the subscription purchase for validation on the backend
jt_product_typeSpecify product type.purchase, subscription

Extra properties

Parameter nameDescriptionSuggested values
countThe count of the event12345
unitThe unit of the countcount

JtResource

You can use this event to capture details of items removed from the user's inventory. It could be either weapons or in-app currency.

Default dimensions

NameDescriptionSuggested values
jt_actionIndicates if the user’s account or inventory was added or removed by something.sink, source
jt_item_typeUse this dimension to categorize the item modified in the user's inventory.In-App Currency, Weapon, Armor, Skin
jt_item_nameName of the item can be provided in this dimension.Coins, Long Sword, Parry Shield
jt_item_idID of the item may be stored in this dimension.4561, 10, 2.1

Extra properties

Parameter nameDescriptionSuggested values
countThe count of the event12345
unitThe unit of the countcount