purple-waitress-82738
04/14/2023, 5:36 PMproperties.price in the transformation and confirmed it to be working correctly as per the screenshot below. However after selecting to use this field in the Value Field Identifier it is still being passed through as 0 instead of the value specified in properties.price. I'm assuming that the transformation is being applied after this mapping instead of before?
Destination Id: 2OHnzokaLTrnUsL61jviHP6j7Obmillions-activity-52391
04/14/2023, 5:36 PMpurple-waitress-82738
04/14/2023, 6:03 PMPurchase events and not just Product Viewed and Product Added
You can use this setting for the Product Viewed or Product Added event.purple-waitress-82738
04/14/2023, 6:37 PMcase 'order completed':
customData = {
...customData,
...handleOrder(message, categoryToContent),
};
commonData.event_name = 'Purchase';
break;
It expects the order completed event to pass the price in the revenue field
const handleOrder = (message, categoryToContent) => {
const { products, revenue } = message.properties;
const value = formatRevenue(revenue);quiet-wolf-72320
04/17/2023, 8:11 AMproperties.revenue for order completed event?quiet-wolf-72320
04/17/2023, 8:53 AM