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
| Name | Value | Description |
|---|---|---|
| Sink | 0 | Currency is being removed from the player's account. |
| Source | 1 | Currency is being added to the player's account. |
Sink
Currency is being removed from the player's account.
| Field | Value |
|---|---|
| value | 0 |
Source
Currency is being added to the player's account.
| Field | Value |
|---|---|
| value | 1 |