I’m just playing around with the AnalyticsService Economy feature for my game and I’m having an issue in output showing the error “Unable to cast token to token” - nothing else showing apart from that.
Hoping someone with more expertise in this might be able to help!
AnalyticsService:LogEconomyEvent(
Player,
Enum.AnalyticsEconomyAction.Acquire,
"Item Purchase",
ItemCost,
"Coins",
"ShopName=" .. Shop.Name .. ";ItemType=" .. Type .. ";ItemName=" .. ItemName .. ";PurchaseType=Bank"
)