sendInappPurchase
Sends in-app purchase statistics to Pushwoosh.
Purchase information is automatically stored in the following default tags:
- "In-app Product" - product SKU
- "In-app Purchase" - purchase amount
- "Last In-app Purchase date" - purchase timestamp
// Track in-app purchase
Pushwoosh.getInstance().sendInappPurchase(
"premium_subscription",
new BigDecimal("9.99"),
"USD"
);
Content copied to clipboard
Parameters
sku
purchased product ID
price
price of the product
currency
currency of the price (ex: "USD")