Reference API Roblox

Engine API

Website

Related

Reference API Roblox

AnalyticsEconomyTransactionType

Categorizes the context of an in-experience economic transaction for use with AnalyticsService:LogEconomyEvent().

Items 6

HistoryNameValueDescription
619IAP0

Represents a source of currency purchased via Robux, for example in-experience "gold" purchased for Robux.

619Shop1

Purchases within a shop, for example in-experience "coins" used to buy an item within the experience.

619Gameplay2

Currency earned or paid through gameplay, for example in-experience "gold" earned from winning a match.

619ContextualPurchase3

Purchase with direct context to a reward, for example in-experience "gold" used to purchase an extra life.

619TimedReward4

Time-based reward, for example in-experience "gold" rewarded for logging in daily.

619Onboarding5

Transaction related to onboarding, for example in-experience "gold" rewarded for completing the tutorial.

Description

This enum provides recommended values for the transactionType parameter of AnalyticsService:LogEconomyEvent(). Because transactionType is typed as a string, pass the Name property of the enum item (for example, AnalyticsEconomyTransactionType.IAP.Name). Using these standard values enables Roblox-provided analytics charts to break down economy data by transaction context. Custom strings are also accepted; the experience is limited to 20 unique transaction types total.

History 7

Settings