Implement these events in your retail or ecommerce app.
The following events are recommended for retail and ecommerce apps. To learn how to implement these events (using
logEvent), refer to the developer documentation.
Retail and ecommerce apps should log the events listed in this article and the events for all apps. Logging events along with their prescribed parameters ensures maximum available detail in reports and lets you benefit from the latest Firebase features and integrations as they become available.
|add_payment_info||when a user adds billing information||none|
|add_to_cart||when a user adds items to cart||quantity, item_category, item_name, item_id, item_location_id, value, price, currency|
|add_to_wishlist||when a user adds an item to wishlist||quantity, item_category, item_name, item_id, item_location_id, value*, price, currency|
|begin_checkout||when a user begins checkout||coupon, currency, value|
|ecommerce_purchase||when a user completes a purchase||coupon, currency, value, tax, shipping, transaction_id|
|generate_lead||when a user submits a form or request for information||value, currency|
|purchase||when a user completes a purchase||affiliation, currency, items, shipping, tax, transaction_id, value|
|purchase_refund||when a refund is issued||quantity, value, currency, transaction_id|
|view_item||when a user sees one specific item/offering||item_id, item_location_id|
|view_item_list||when a user sees a list of items/offerings||item_category|
|view_search_results||when a user sees search results||search_term|