Pushwoosh automatically tracks push notification opens and clicks (including deep link usage). To attribute a downstream purchase to that click, send the purchase back to Pushwoosh as a conversion event.
Recommended: send the purchase as a conversion event
Pushwoosh records revenue as PW_Conversion, a built-in event. Each record can include:
-
value— the transaction amount (required) -
currency— ISO 4217 currency code (required) -
transaction_idandproduct_id— optional identifiers
There are two ways to set this up:
-
Send
PW_Conversionfrom your code: call the SDK'spostEventmethod at the point where the purchase completes, after the user has arrived via the deep link. In the Control Panel, go to Audience > Events, find the Conversion events tracking card and click View code for a ready-made sample to hand to your developers. -
Map an existing event: if you already send a purchase event (for example
OrderPlaced,CheckoutSuccess,PW_InAppPurchase, or a Stripe/Shopify webhook event), map it toPW_Conversionin the Control Panel without changing any code.
Use only one path per transaction. Pushwoosh does not deduplicate, so sending PW_Conversion directly and mapping another event for the same purchase records two separate conversions.
Once conversions are recorded you can attribute revenue to campaigns and journeys, build RFM segments for high-value users, and see revenue in dashboards. See Conversion events.
Alternative: custom event or Tag
If the conversion carries no revenue (for example a completed registration), send a custom event instead, or set a Tag from your app with the SDK's setTags method (e.g. {"registration_completed": true}) and segment on that Tag afterwards.
Comments
0 comments
Please sign in to leave a comment.