1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

AnalyticsEconomyFlowType

Passed as the flowType argument to AnalyticsService:LogEconomyEvent() to indicate whether an in-experience currency transaction is adding currency to or removing currency from a player's balance. Use Source when the player gains currency (for example, purchasing coins with Robux or earning gold from gameplay) and Sink when the player spends currency (for example, buying an item from a shop).

Items

NameValueDescription
Sink0Currency is being removed from the player's account.
Source1Currency is being added to the player's account.

Sink

Currency is being removed from the player's account.

FieldValue
value0

Source

Currency is being added to the player's account.

FieldValue
value1