Business Event - GameAnalytics/GA-SDK-CPP GitHub Wiki

Business events are used to track (and validate) real-money transactions.

 

Field Type Description Example
currency string Currency code in ISO 4217 format. http://openexchangerates.org/currencies.json USD
amount integer Amount in cents. 99 is 0.99$
itemType string The type / category of the item. GoldPacks
itemId string Specific item bought. 1000GoldPack
cartType string The game location of the purchase.Max 10 unique values. EndOfLevel

 

 gameanalytics::GameAnalytics.addBusinessEvent("[currency]", [amount], "[itemType]", "[itemId]", "[cartType]");

 

:information_source:
For more information regarding business events go here.

 

NEXT  →