You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.
The following table illustrates the connections between the various ec.js methods, the object fields, and the dimensions and metrics you see in your Ecommerce reports.
| Method | Field | Report data |
|---|---|---|
| ec:addImpression | id | Product SKU Product List Views |
| name | Product Product List Views |
|
| category | Product Category (Enhanced Ecommerce) Product Category Level |
|
| brand | Product Brand | |
| variant | Product Variant | |
| list | Product List Name | |
| position | Product List Position | |
| ec:addPromo | id | Internal Promotion ID |
| name | Internal Promotion Name | |
| creative | Internal Promotion Creative | |
| position | Internal Promotion Position | |
| ec:addProduct | id | Product SKU |
| name | Product | |
| brand | Product Brand | |
| category | Product Category (Enhanced Ecommerce) Product Category Level |
|
| variant | Product Variant | |
| coupon | Product Coupon Code | |
| position | Product List Position | |
| setAction | id | Transaction |
| affiliation | Affiliation | |
| revenue | Local Product Revenue Local Refund Amount Revenue |
|
| tax | Local Tax Refund Tax Tax |
|
| shipping | Shipping | |
| coupon | Order Coupon Code | |
| list | Product List Name | |
| step | Checkout Step | |
| option | Checkout Options | |
| click | Product List Clicks Product List CTR |
|
| detail | Buy-to-Detail Rate Cart-to-Detail Rate Product Detail Views |
|
| add | Product Adds To Cart Quantity Added To Cart |
|
| remove | Product Removes From Cart Quantity Removed From Cart |
|
| checkout | Product Checkouts Quantity Checked Out |
|
| purchase | Average Order Value Average Price Average Quantity Quantity Local Revenue Product Revenue Product Revenue per Purchase Transactions Unique Purchases |
|
| refund | Local Product Refund Amount Local Refund Amount Product Refund Amount Product Refunds Quantity Refunded Refund Amount Refunds |