Post Purchase Campaign

Now that we know what a Standalone campaign is, let’s take a look at one more type of Talkable campaign — Post Purchase. It is used to convert your existing customers into Advocates after they make a purchase. It has the same flow as a basic Standalone campaign except this is gated by a purchase and shown to a customer immediately after.

Post Purchase campaign usually looks like a pop up right after a user made a purchase. This campaign initializes on the order confirmation page and captures order details parameters. You need to pass order data that includes your customer’s email address, order id, subtotal, coupon code used at checkout in order to close a referral loop. This allows Talkable to detect and close the loop on a referral.

Here is an example of a Purchase capturing, this action should be triggered on the order confirmation page:

#import <TalkableSDK/Talkable.h>
NSDictionary* params = @{
  TKBLPurchaseKey: @{
    TKBLPurchaseOrderNumberKey: @"100130", // REQUIRED - Order number
    TKBLPurchaseEmailKey: @"", // REQUIRED - Customer Email
    TKBLPurchaseSubtotalKey: [NSNumber numberWithDouble:22.33], // REQUIRED - Purchase Subtotal
    TKBLPurchaseCouponCodeKey: @"TEST25", // REQUIRED - Coupon code used at checkout, pass multiple as an array: @[@"SAVE20", @"FREE-SHIPPING"]. Pass @"" if there is no coupon code.
        TKBLPurchaseOrderItemProductIDKey: @"sku3", // Item Product ID
        TKBLPurchaseOrderItemPriceKey: [NSNumber numberWithDouble:4.99], // Item Unit Price
        TKBLPurchaseOrderItemQuantityKey: [NSNumber numberWithUnsignedInt:5], // Item Quantity
        TKBLPurchaseOrderItemTitleKey: @"Amazing Product 3", // Name of the product
        TKBLPurchaseOrderItemUrlKey: @"", // URL of the product page
        TKBLPurchaseOrderItemImageUrlKey: @"" // URL of the product image
[[Talkable manager] registerOrigin:TKBLPurchase params:params];


If Post Purchase campaign does not show up when testing make sure you have it live with a default tag (ios-post-purchase) on the Campaigns listing.