TPStashEvent.InAppPurchase
TPStashEvent.InAppPurchase(
userId,
character_uuid,
purchasable_slug,
purchase_quantity,
purchase_unit_price,
purchase_total_price
)
Description
InAppPurchase collects the data of a character’s in-app purchases. It needs to be called when an event of an in-app purchase occurs during the game. It can be used for the analysis of purchase-related personas.
Parameters
Name | Description | Required | ||
---|---|---|---|---|
UserId |
Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId |
Required |
||
character_uuid |
Player’s character’s unique lD
|
Required |
||
purchasable_slug |
Unique identifier of the purchased product |
Required |
||
purchase_quantity |
The number or amount of purchased products |
Required |
||
purchase_unit_price |
Unit price of the purchased product |
Required |
||
purchase_total_price |
Total price of the purchased products |
Required |