AnalyticsService:LogEconomyEvent() should have an extra "count" parameter to assist in aggregate logging

On the economy events documentation, it shows a “transactions” field, which is what I assume to be the number of times that action was logged.

Currently, each economy event from AnalyticsService:LogEconomyEvent() counts as one transaction.

While this is straightforward, there are limits on how many requests you can make. Many developers then resort to aggregating economy events, then flushing them periodically (maybe every minute or two).

Unfortunately, this causes many of the same event to be aggregated as one. For example, players can collect coins of different values, and they often collect hundreds of coins a minute. If you log each collected coin as an economy event, the rate limit would easily be reached. To alleviate this, you aggregate the coin collections. But, every time you log an event, it’s treated as one transaction, instead of the possible hundreds the player actually performed.

Implementing this feature would allow developers to obtain more accurate economy data.

1 Like