Skip to content

Commit 30dd680

Browse files
committed
Add subscription_revenue
1 parent 57ac887 commit 30dd680

File tree

1 file changed

+29
-28
lines changed
  • src/connections/sources/catalog/libraries/website/shopify-littledata

1 file changed

+29
-28
lines changed

src/connections/sources/catalog/libraries/website/shopify-littledata/index.md

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Email marketing platforms such as [Klaviyo](/docs/connections/destinations/catal
123123

124124
To support seamless customer tracking the [Mixpanel](/docs/connections/destinations/catalog/mixpanel/#alias), [Vero](/docs/connections/destinations/catalog/vero/#alias) and [KISSMetrics](/docs/connections/destinations/catalog/kissmetrics/#alias) destinations, Littledata ensures the pre-checkout `anonymousId` is added as an alias of the `userId` (used from checkout step 2 onwards).
125125

126-
## Subscription e-commerce Events
126+
## Subscription Events
127127

128128
Additional events available through Littledata's [ReCharge connection](https://www.littledata.io/connections/recharge), and available in cloud-mode destinations.
129129

@@ -141,33 +141,34 @@ Additional events available through Littledata's [ReCharge connection](https://w
141141

142142
The list below outlines the properties included in the events listed above.
143143

144-
| Property | Description | Property Type |
145-
| -------------------------------------- | -------------------------------------------------------------- | ------------- |
146-
| `affiliation` | The affiliation of the order | String |
147-
| `checkoutId` | The ID of the checkout session | String |
148-
| `context.uip` | The user's IP address | String |
149-
| `context['Google Analytics'].clientId` | The user's Google Analytics Client ID | String |
150-
| `context['Google Analytics'].geoid` | The user's location | String |
151-
| `coupon` | Comma-separated string of discount coupons used, if applicable | String |
152-
| `currency` | The currency of the order | String |
153-
| `discount` | The discounted amount | Float |
154-
| `email` | Shopify email address, or email submitted on a storefront form | String |
155-
| `order_id` | The ID of the order | String |
156-
| `payment_method` | The payment method chosen for checkout | String |
157-
| `presentment_currency` | The user's local currency | String |
158-
| `presentment_total` | The order total in local currency | String |
159-
| `products` | A list of all the product at that step of the funnel \* | Array |
160-
| `revenue` | Product revenue (excluding discounts, shipping and tax) | Float |
161-
| `sent_from` | A unique property to identify events sent by Littledata | String |
162-
| `shipping_method` | The shipping method chosen for checkout | String |
163-
| `shipping` | The shipping cost | Float |
164-
| `step` | The checkout step | Integer |
165-
| `subtotal` | Order total after discounts but before taxes and shipping | Float |
166-
| `tax` | The amount of tax on the order | Float |
167-
| `total` | The total value of the order | Float |
168-
| `userId` | Chosen user identifier, defaulting to Shopify Customer ID | Double |
169-
170-
\* Prior to 1st February 2021, `products` on Product Added and Product Removed events was [only the single product](https://blog.littledata.io/help/posts/segment-changed-schema-for-product-added-and-product-removed/), not the whole cart.
144+
| Property | Description | Property Type |
145+
| -------------------------------------- | ----------------------------------------------------------------------- | ------------- |
146+
| `affiliation` | The affiliation of the order | String |
147+
| `checkoutId` | The ID of the checkout session | String |
148+
| `context.uip` | The user's IP address | String |
149+
| `context['Google Analytics'].clientId` | The user's Google Analytics Client ID | String |
150+
| `context['Google Analytics'].geoid` | The user's location | String |
151+
| `coupon` | Comma-separated string of discount coupons used, if applicable | String |
152+
| `currency` | The currency of the order | String |
153+
| `discount` | The discounted amount | Float |
154+
| `email` | Shopify email address, or email submitted on a storefront form | String |
155+
| `order_id` | The ID of the order | String |
156+
| `payment_method` | The payment method chosen for checkout | String |
157+
| `presentment_currency` | The user's local currency | String |
158+
| `presentment_total` | The order total in local currency | String |
159+
| `products` | A list of all the product at that step of the funnel | Array |
160+
| `revenue` | Product revenue (excluding discounts, shipping and tax) \* | Float |
161+
| `sent_from` | A unique property to identify events sent by Littledata | String |
162+
| `shipping_method` | The shipping method chosen for checkout | String |
163+
| `shipping` | The shipping cost | Float |
164+
| `step` | The checkout step | Integer |
165+
| `subscription_revenue` | The revenue associated with a [Subscription Event](#subscription-event) | Float |
166+
| `subtotal` | Order total after discounts but before taxes and shipping | Float |
167+
| `tax` | The amount of tax on the order | Float |
168+
| `total` | The total value of the order | Float |
169+
| `userId` | Chosen user identifier, defaulting to Shopify Customer ID | String |
170+
171+
\* `revenue` is available only with the Order Completed event, and only if the store opts in via the Littledata application. Revenue is a reserved property in many Segment destinations. Opting in will override the `total` property sent to Google Analytics.
171172

172173
## Product Properties
173174

0 commit comments

Comments
 (0)