Configure events
In this section, you set up the three events that are required for the hands-on exercises in the Journey Optimizer Challenges.
The following video explains how to create events:
Create the Luma online purchase event
When using this event, Journey Optimizer receives information when a person purchases luma products online.
-
Create an event with the following parameters:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 Parameter Value NAME LumaOnlinePurchaseTYPE Unitary Event ID Type Rule Based Schema Luma Web Events SchemaFields eventTypecommerce.order.priceTotalcommerce.order.purchaseOrderNumbercommerce.shipping.adress.street1commerce.shipping.adress.citycommerce.shipping.adress.postalCodecommerce.shipping.adress.stateproductListItems.quantityproductListItems.Luma Product Catalog Schema._your Organization_ID.nameproductListItems.Luma Product Catalog Schema._your Organization_IDpriceproductListItems.Luma Product Catalog Schema._your Organization_ID.imageURLproductListItems.Luma Product Catalog Schema._your Organization_ID.url -
Add the Event ID condition:
LumaOnlinePurchase.eventType is commerce.purchases:-
Select the pencil icon to edit the field.
-
On the Add an event id condition modal, drag and drop the
eventTypeonto the canvas. -
Select
commerce.purchases. -
Select Ok on the canvas.
-
Select Ok on the modal.
-
-
Select NAMESPACE:
Luma CRM ID (lumaCrmId) -
Select Save.
Create Luma Product Restock event
LumaProductRestockstockEventType
LumaProductCatalogSchema.*yourOrganizationID.product :
name
price
ImageURL
description
your organization's ID.inventoryEvent.stockEventType is restockCongratulations! Your sandbox is now ready to use.