Using a JSON Object to Pass Order Data for Cart Recovery
You can construct a JSON object and add it to your site in order to use Order Service with Cart Recovery to pass cart and order data to Bronto.
About this task
In order to do this, you will need to work with the code for your site. This includes
adding code provided by Bronto to your site and finding jQuery selectors and JSON
objects in your site code in order to map them to the appropriate Bronto values.
Note: Execute this task when updating existing implementations. For new
implementations, use the JavaScript code sample.
Procedure
Results
After you have completed all of these steps, Bronto can identify and capture cart and order data for contacts that have placed items in shopping carts, even when they have not completed their orders. You can use the cart and order data captured by Bronto to perform the following tasks:
- Add cart and order data into messages. See Cart and Order Tags.
- Trigger personalized messages via workflows. See Use The Cart Is Abandoned Trigger Node In Workflows, Use The Order Is Added Trigger Node In Workflows, and Use The Order Is Shipped Trigger Node In Workflows.
- Create segments. See Commerce Segment Criteria.