Boosting repeat purchases is easy with push notifications! This tutorial will show you how to do this.
We need to segment the users who already made a purchase from the ones who didn't.
To achieve this, we need to track purchases in the app (and yes, you can do that on web with push notifications too! ask us how!).
Use the following code snippet for iOS and Android in your app every time user makes a purchase.
PushNotificationManager.push().sendPurchase("Fancy Dress", withPrice: NSDecimalNumber.init(decimal: 19.15), currencyCode: "USD", andDate: Date())
[[PushNotificationManager pushManager] sendPurchase:@"Fancy Dress" withPrice:[NSDecimalNumber decimalNumberWithString:@"19.95"] currencyCode:@"USD" andDate:[NSDate date]];
PushManager.trackInAppRequest(getApplicationContext(), "Fancy Dress", new BigDecimal("19.95"), "USD", new Date());
The code above will populate "In-app Purchase" default Pushwoosh tag, designed to track how much your users are spending in the app. Its value automatically increments every time a user makes a purchase.
Go to the "Filters" section and create a filter for "In-App Purchase" tag is not zero. Name it "Paid users".
Enter the message you want to send to your users, in our case we are going to offer a 30% discount on "Textured Coat" to boost sales.
Then go to the "Filters" tab, and select our "Paid users" segment.
That's it! Your message will go to users who have already made a purchase in your app.