Skip to content

Commit ea933f4

Browse files
authored
Merge pull request #6393 from segmentio/joeynmq-patch-2
Update v2.md
2 parents d91fd32 + 610b6aa commit ea933f4

File tree

1 file changed

+3
-3
lines changed
  • src/connections/spec/ecommerce

1 file changed

+3
-3
lines changed

src/connections/spec/ecommerce/v2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,8 @@ This event supports the following semantic properties:
816816
| order_id | String | Order/transaction ID |
817817
| affiliation | String | Store or affiliation from which this transaction occurred (for example, Google Store) |
818818
| subtotal | Number | Order total after discounts but before taxes and shipping |
819-
| total | Number | Revenue ($) with discounts and coupons added in. Note that our Google Analytics Ecommerce destination accepts `total` *or* `revenue`, but not both. For better flexibility and total control over tracking, we let you decide how to calculate how coupons and discounts are applied |
820-
| revenue | Number | Revenue ($) associated with the transaction (excluding shipping and tax) |
819+
| total | Number | Subtotal ($) with shipping and taxes added in. Note that our Google Analytics Ecommerce destination accepts `total` *or* `revenue`, but not both. For better flexibility and total control over tracking, we let you decide how to calculate how coupons and discounts are applied |
820+
| revenue | Number | Revenue ($) associated with the transaction (including discounts, but excluding shipping and taxes) |
821821
| shipping | Number | Shipping cost associated with the transaction |
822822
| tax | Number | Total tax associated with the transaction |
823823
| discount | Number | Total discount associated with the transaction |
@@ -847,7 +847,7 @@ analytics.track('Order Completed', {
847847
affiliation: 'Google Store',
848848
total: 27.50,
849849
subtotal: 22.50,
850-
revenue: 25.00,
850+
revenue: 22.50,
851851
shipping: 3,
852852
tax: 2,
853853
discount: 2.5,

0 commit comments

Comments
 (0)