item level events on the order confirmation page
On the order confirmation page, I'd like to pass two item level events. Event 20 captures an item level discount amount that was applied to a product, and event 21 an event for the item being discounted. There wasn't an exact example of this use case here (https://marketing.adobe.com/resources/help/en_US/sc/implement/products.html). Here's the output:
Everything looks fine at the an order level, but if I want to look at the discount information by product, event 21 was applied to both products that were purchased. Event 20, the discount amount, was applied to the correct product.
Any idea what I might be doing wrong here?