Assurancetabs will be used, demonstrating XDM commerce events in a mobile application.
XDM Experience event
Create dataset from schema
Datastreams, then select
Saveand then proceed to next step to set up the services.
Adobe Experience Platformsection as shown below:
Add serviceand from the drop-down select
Adobe Experience Platform.
Adobe Experience Platform Edgeextension from the Catalog.
Edge Configurationsection select the
Datastreamconfiguration you created in the
Generate a Datastream identifierstep and click
AEP Assuranceextension from the Catalog.
Add All Changed Resources.
Save & Build for Developmentto publish the changes in the Development environment.
Swiftdirectory, and run the following command from terminal:
AEPSampleApptarget on the simulator of your choice.
LAUNCH_ENVIRONMENT_FILE_IDto the copied Environment File ID in the
MobileSDKCommerceSchemaclass and its usages in
Edgetab that demonstrates the Commerce field group usage. In the
XDM Commerce Examplesection there are two buttons:
Purchasebutton is clicked, a new XDM Commerce Purchase Experience Event is created and sent to the Adobe Experience Edge Network.
Create Sessionin the top right.
Create New Sessiondialog, review the instructions, and then select
sampleapp://, then click
Scan QR Codefunctionality. You can then skip to step 6.
Purchasebutton from the
Edgetab, you should see the Experience events sent to Experience Edge. For more details, refer to Event types handled by the AEP Mobile extension.
validation for the given event was successfulmessage is present in the
EdgeTab.java(Android) and implement the
sendAddToCartXDMEventfunction. The recommended eventType is