Purchase events are purchase actions taken by your users. These events are used to record in-app purchases and establish the Lifetime Value (LTV) for each individual user profile. These purchase events must be set up by your team. Logging purchase events gives you the option to add properties like quantity and type, helping you further target your users based on these properties.
Once you have set up and begun logging purchase events, you can view this purchase data on the User Profile.
Logging Purchase Events
Listed below are the methods across various platforms that are used to log purchases. Within these pages, you will also be able to find documentation on how to add properties and quantities to your purchase event.
- React Native:
- Windows Universal
Blocklisting Purchase Events
In the Braze Dashboard, you can manage blocklisting from Manage Settings > Products. Check out Custom Events and Attribute Management to learn more.
Purchase Event Segmentation
You can trigger any number or type of follow-up campaigns based on logged purchase events, and enable the following segmentation filters based on the recency and frequency of that event when targeting users.
|Segmentation Options||Dropdown Filter||Input Options|
|Check if the total number of dollars spent is greater than a number||GREATER THAN||NUMBER|
|Check if the total number of dollars spent is less than a number||LESS THAN||NUMBER|
|Check if total number of dollars spent is exactly a number||EXACTLY||NUMBER|
|Check if the purchase last occurred after X date||AFTER||TIME|
|Check if the purchase last occurred before X date||BEFORE||TIME|
|Check if the purchase last occurred more than X days ago||MORE THAN||TIME|
|Check if the purchase last occurred less than X days ago||LESS THAN||TIME|
|Check if the purchase occurred more than X (Max = 50) number of times||MORE THAN||in the past Y Days (Y = 1,3,7,14,21,30)|
|Check if the purchase occurred less than X (Max = 50) number of times||LESS THAN||in the past Y Days (Y = 1,3,7,14,21,30)|
|Check if the purchase occurred exactly X (Max = 50) number of times||EXACTLY||in the past Y Days (Y = 1,3,7,14,21,30)|
Example of Filtering based on Purchase Event:
If you would like to segment on the number of times a specific purchase has occurred, you should record that purchase individually as an incrementing custom attribute.
Purchase Event Analytics
In addition to tracking purchase metrics for segmentation, Braze also notes the number purchases for each product and the revenue generated over time. You can view this data on the Revenue page.
Purchase Event Properties
With purchase event properties, you can set properties on purchases that can be used to further qualify trigger conditions, increase personalization in messaging, and generate more sophisticated analytics through raw data export. Property value types (string, numeric, boolean, date) vary per platform, and are often assigned as key-value pairs.
For example, if an eCommerce application wanted to send a message to a user after they have made a purchase, they could additionally improve their target audience and allow for increased campaign personalization by adding a purchase event property of
Example of Triggering based on Purchase Event Properties:
Refer to Purchase Properties Object for more.
Referencing Purchase Event Properties with Liquid
When you send through purchase data that includes purchase properties, you can use the
event_properties tag to reference the purchase properties in your channel messaging.
For example, to reference the name of a product, replace
your_custom_event_property with the