You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/spec/ecommerce-tracking-plan.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,15 @@ That's where a tracking plan comes in. A tracking plan is a living document that
12
12
13
13
[Learn more about the value and function of a tracking plan.](/docs/protocols/tracking-plan/create/)
14
14
15
-
In this guide, we'll share with you the core events most relevant to e-commerce companies that can get you started immediately in understanding your customers and driving sales.
15
+
In this guide, you'll learn the core events most relevant to e-commerce companies that can get you started immediately in understanding your customers and driving sales.
16
16
17
17
[Talk to a product specialist today](https://segment.com/contact/sales) about building a clean, high-quality data spec so you can focus on brand engagement and sales growth.
18
18
19
19
## Identifying your customers
20
20
21
21
Before diving into specific event tracking, you'll want to make sure you track who your users are with the the `.identify()` call. You should call `.identify()` whenever a visitor provides you with a piece of information, at which point they become "known users." The `.identify()` call creates or updates a record of your customer with a set of traits in your tools and warehouse. But how do you choose which traits about your user to include?
22
22
23
-
Traits are pieces of data that you track about a specific user. Read our guide about selecting traits to learn more.
23
+
Traits are pieces of data that you track about a specific user. Read the guide about selecting traits to learn more.
24
24
25
25
Here are the most common user traits e-commerce companies include in their tracking:
26
26
@@ -79,7 +79,7 @@ Given the power you have in your downstream tools to create cohorts based on the
79
79
80
80
Now that you are tracking who your users are, you can work on what they're doing on your website or in your app with a `.track()` call. Tracking customer events lets you learn about your customers, measure the impact of your marketing efforts and product decisions, and proactively engage your customers in a meaningful way that drives sales.
81
81
82
-
[Read our event tracking guide to learn more about tracking the right events.](/docs/protocols/tracking-plan/best-practices/)
82
+
[Read the event tracking guide to learn more about tracking the right events.](/docs/protocols/tracking-plan/best-practices/)
83
83
84
84
E-commerce businesses, unlike SaaS or consumer apps that optimize for product engagement, focus on directing users down their funnels to a conversion goal, like purchasing a product. To best understand why customers convert, it's important to track and measure all key funnel events.
85
85
@@ -96,7 +96,7 @@ There are also auxiliary actions to track to measure your customer's engagement
96
96
- Product List Filtered
97
97
98
98
99
-
Lastly, we have a set of semantic campaign events that are automatically collected so you can understand the conversions in these specific channels:
99
+
Lastly, Segment has a set of semantic campaign events that are automatically collected so you can understand the conversions in these specific channels:
100
100
101
101
- Email Opened
102
102
- Email Link Clicked
@@ -108,9 +108,9 @@ Lastly, we have a set of semantic campaign events that are automatically collect
108
108
109
109
[Check out the full list of e-commerce events you should track.](/docs/connections/spec/ecommerce/v2)
110
110
111
-
You may notice a pattern in the event names. We've selected the "Object Action" naming convention to ensure that all of our event data is clean and easily analyzable, while choosing "snake\_case" for the traits and properties. It doesn't matter what you choose, so long as it's consistent. Without a uniform and enforced naming framework to guide developers that add tracking code later, your data could get marred with conflicting naming structures. Learn more about the importance of naming conventions.
111
+
You may notice a pattern in the event names. Segment selected the "Object Action" naming convention to ensure that all event data is clean and easily analyzable, while choosing "snake\_case" for the traits and properties. It doesn't matter what you choose, so long as it's consistent. Without a uniform and enforced naming framework to guide developers that add tracking code later, your data could get marred with conflicting naming structures. Learn more about the importance of naming conventions.
112
112
113
-
_We recommend tracking core checkout activity on the server-side. Learn more about_[tracking on the client vs. server](/docs/guides/how-to-guides/collect-on-client-or-server/).
113
+
_Segment recommends tracking core checkout activity on the server-side. Learn more about_[tracking on the client vs. server](/docs/guides/how-to-guides/collect-on-client-or-server/).
114
114
115
115
## Selecting your properties
116
116
@@ -129,7 +129,7 @@ For e-commerce, since most events are customers choosing, browsing, and checking
129
129
130
130
These traits must be included because many tools rely on them for analysis. If there was one of them missing, the call would be ignored.
131
131
132
-
_Using a specific tool and want to see how Segment handles sending calls to it?_[Check out the documentation.](https://segment.com/docs/connections/destinations/)
132
+
_Using a specific tool and want to see how Segment handles sending calls to it?_[Check out the documentation.](/docs/connections/destinations/)
133
133
134
134
Here is an example `.track()` call:
135
135
@@ -179,7 +179,7 @@ In analytics-android:
179
179
Analytics.with(context).track("Order Completed", new Properties().putValue("order_id", "50314b8e9bcf000000000000").putValue("total", 20).putValue("currency", "USD").putValue("products", "Coupon"));
180
180
```
181
181
182
-
It's important that these events contain particular properties, such as `sku` , otherwise the downstream tools won't be able to create out-of-the-box revenue and sales reports. Learn more about semantic properties in our e-commerce spec.
182
+
It's important that these events contain particular properties, such as `sku` , otherwise the downstream tools won't be able to create out-of-the-box revenue and sales reports. Learn more about semantic properties in the e-commerce spec.
183
183
184
184
## Using data to understand why your customers don't convert
185
185
@@ -189,6 +189,6 @@ Aside from funnel health, having these key pieces of customer data gives compani
189
189
190
190
Without taking this critical step of mapping out key customer events, businesses often spend too much time revisiting their data model or analyzing impartial data sets. Instead they could spend that time understanding and addressing customers' needs.
191
191
192
-
_Want to get started immediately?_[Download our e-commerce tracking plan template](https://docs.google.com/spreadsheets/d/1lzvjMr5WlOR89on7XeFYCIFji6w02zK1yQeei0iu5wQ/edit?usp=sharing).
192
+
_Want to get started immediately?_[Download the e-commerce tracking plan template](https://docs.google.com/spreadsheets/d/1TA6qTcDHoZzsG7-C6p5yHGximDxqoNtizguKs7Z0av4/view).
193
193
194
194
[Talk to a product specialist today](https://segment.com/contact/sales)_about building a clean, high-quality data spec so you can focus on brand engagement and sales growth._
Copy file name to clipboardExpand all lines: src/protocols/tracking-plan/best-practices.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ redirect_from:
5
5
- '/protocols/tracking-plan/'
6
6
---
7
7
8
-
Let's face it, figuring out what events to track in Segment can feel overwhelming. Fortunately, we've helped 1000s of customers through this process and have amassed a ton of resources to help you get started. Whether you're a small team just getting your app off the ground, or a highly complex enterprise with 100s of stakeholders, these resources can help!
8
+
Figuring out what events to track in Segment can feel overwhelming. Fortunately, Segment has helped 1000s of customers through this process and have amassed a ton of resources to help you get started. Whether you're a small team just getting your app off the ground, or a highly complex enterprise with 100s of stakeholders, these resources can help!
9
9
10
10
That being said, be prepared to invest time defining how you want to track data. Any investment in improving data quality will reap massive rewards, and compound over time by allowing your analytics teams to produce better insights, your marketing teams to run better campaigns and so much more.
0 commit comments