Virtual Economy & Monetization
The EconomyTracker monitors the flow of virtual currency in your game to help you balance progression and track monetization health.
Events Dispatched
Section titled “Events Dispatched”| Event Name | Category | Description |
|---|---|---|
EconomySink |
economy |
Emitted when a player spends virtual currency (purchases, crafting, upgrades). |
EconomySource |
economy |
Emitted when a player earns currency (quest rewards, loot, daily login). |
GamePassPurchasePrompt |
economy |
Emitted when a gamepass prompt closes, logging whether it was purchased. |
AssetPurchasePrompt |
economy |
Emitted when a developer product or standard asset prompt closes. |
Tracking Currency Flows
Section titled “Tracking Currency Flows”1. Currency Sinks (Spending)
Section titled “1. Currency Sinks (Spending)”-- Player bought a sword for 250 GoldAnalytics:RecordEconomySink(player, "Gold", 250, "Weapon", "FlameSword")
-- Player spent 50 Gems to skip a timerAnalytics:RecordEconomySink(player, "Gems", 50, "SpeedUp", "BuildingUpgrade")2. Currency Sources (Earning)
Section titled “2. Currency Sources (Earning)”-- Player finished a daily questAnalytics:RecordEconomySource(player, "Gold", 100, "Quest", "DailyQuest_01")
-- Player leveled upAnalytics:RecordEconomySource(player, "Gems", 10, "LevelUp", "Level_15")Creator Hub Economy Integration
Section titled “Creator Hub Economy Integration”When useRobloxAnalytics = true, these calls automatically map to AnalyticsService:LogEconomyEvent, populating the Economy tab in your Roblox Creator Hub dashboard.