The Braze Windows SDK is deprecated as of March 24, 2022.
- March 24, 2022: No new Windows apps can be created in the Braze dashboard.
- September 15, 2022: No new messages can be sent to Windows apps. Existing messages and data collection are unaffected.
- January 15, 2023: Braze will no longer serve messages or collect data from Windows apps.
Record in-app purchases so that you can track your revenue over time and across revenue sources, as well as segment your users by their lifetime value.
Braze supports purchases in multiple currencies. Purchases that you report in a currency other than USD will be shown in the dashboard in USD based on the exchange rate at the date they were reported.
Before implementation, be sure to review examples of the segmentation options afforded by custom events, custom attributes, and purchase events in our Best practices article. We also recommend familiarizing yourself with our event naming conventions.
To use this feature, add this method call after a successful purchase in your app:
Purchases are logged by using the
EventLogger, which is a property exposed in IAppboy. To obtain a reference to the
1 bool LogPurchase(string productId, string currencyCode, decimal price)
You can also use our REST API to record purchases. Refer to the users API documentation for details.