Create an Order Confirmation mbox - mbox.js
The Order Confirmation mbox records details about orders on your site and allows reporting based on revenue and orders. The Order Confirmation mbox can also drive recommendation algorithms, such as "People who bought product x also bought product y."
If users make purchases on your website, we recommend implementing an Order Confirmation mbox even if you use Analytics for Target (A4T) for your reporting.
You can also create an Order Confirmation mbox for at.js using the same method; however, the at.js method is preferred. For more information, see Track Conversions .
- In your order details page, insert the mbox script following the model below.
- Replace the WORDS IN CAPITAL LETTERS with either dynamic or static values from your catalog.Use comma delimiting to separate multiple product IDs.Tip: You can also pass order information in any mbox (it does not need to be named orderConfirmPage ). You can also pass order information in multiple mboxes within the same campaign.
The Order Confirmation mbox uses the following parameters:
Unique value to identify an order for conversion counting.
The orderId must be unique. Duplicate orders are ignored in reports.
Monetary value of the purchase.
Do not pass the currency symbol. Use a decimal point (not a comma) to indicate decimal values.
Comma-separated list of product IDs purchased in the order.
These product IDs display in the audit report to support additional reporting analysis.