Skip to main content
Solved

Tracking Multiple Products on Order Confirmation Page


Forum|alt.badge.img

Hi, I am new to Amplitude Analytics and I was going through Revenue tracking documentation and $revenue, price and $quantity are the only parameters I see.

  1. If my application has multiple products that the user can buy at once, do I have to pass the total quantity of all the products as quantity and what would be passed in price?
  1. Also for a B2C ecommerce application, how can we effectively track the whole product performance funnel (impression, view, add to cart, checkout and purchase). Impression, view and add to cart can be Events which can take product properties. How do I pass multiple product information in checkout and purchase events?

Best answer by Denis Holmes

Good morning @ram_manohar ! Denis here with Amplitude support. Happy to help!

  1. If my application has multiple products that the user can buy at once, do I have to pass the total quantity of all the products as quantity and what would be passed in price?
    I would have an event for each item that is purchased. So, if you have Product A costing $3 with a quantity of 2, I would log that as one event for that purchase and do this for every individual product purchase. So Product A would be $price - 3, $quantity - 2 and the $revenue would then be $6.
     
  2. Also for a B2C ecommerce application, how can we effectively track the whole product performance funnel (impression, view, add to cart, checkout and purchase). Impression, view and add to cart can be Events which can take product properties. How do I pass multiple product information in checkout and purchase events?
    This would be down to your own implementation but what customers usually do is pass the product IDs of the purchase as an array in an event property such as ProductsOrdered [“Product A”, “Product B”, “Product C”]. So you have events such as Purchase Product A, B, C etc and then a final event that contains your items ordered in an area. I hope that makes sense!

If there is any confusion, do not hesitate to write back to me! Thank you and have a great day!

 

View original
Did this topic help you find an answer to your question?

3 replies

Denis Holmes
Team Member
Forum|alt.badge.img+8
  • Team Member
  • 448 replies
  • Answer
  • July 1, 2021

Good morning @ram_manohar ! Denis here with Amplitude support. Happy to help!

  1. If my application has multiple products that the user can buy at once, do I have to pass the total quantity of all the products as quantity and what would be passed in price?
    I would have an event for each item that is purchased. So, if you have Product A costing $3 with a quantity of 2, I would log that as one event for that purchase and do this for every individual product purchase. So Product A would be $price - 3, $quantity - 2 and the $revenue would then be $6.
     
  2. Also for a B2C ecommerce application, how can we effectively track the whole product performance funnel (impression, view, add to cart, checkout and purchase). Impression, view and add to cart can be Events which can take product properties. How do I pass multiple product information in checkout and purchase events?
    This would be down to your own implementation but what customers usually do is pass the product IDs of the purchase as an array in an event property such as ProductsOrdered [“Product A”, “Product B”, “Product C”]. So you have events such as Purchase Product A, B, C etc and then a final event that contains your items ordered in an area. I hope that makes sense!

If there is any confusion, do not hesitate to write back to me! Thank you and have a great day!

 


Forum|alt.badge.img
  • Author
  • Novice
  • 3 replies
  • July 4, 2021

Thanks @Denis Holmes for the reply. This is clear!


Forum|alt.badge.img+1
  • Well-Versed
  • 27 replies
  • September 15, 2023

@Denis Holmes @ram_manohar do you create these individual events instead of instrumenting a purchase event? In GA we had a purchase event. Thanks


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings