Skip to content

Commit cc43b92

Browse files
authored
Merge pull request #7803 from segmentio/6100-content-you-can-probably-remove-blocks
Clarify Segment Spec guidance and remove legacy references to "Blocks"
2 parents 91936cd + db7f537 commit cc43b92

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/guides/intro-impl.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Segment for Developers
55
This guide explains all you need to know to get started with your Segment implementation, and directs you to more resources depending on your specific needs.
66

77
> info ""
8-
> If you haven't already, you should read the [detailed explanation of Segment](/docs/guides/) on the previous page!
8+
> If you haven't already, you should read the [detailed explanation of Segment](/docs/guides/) on the previous page.
99
1010
{% include components/reference-button.html href="https://university.segment.com/introduction-to-segment/324262?reg=1&referrer=docs" icon="media/academy.svg" title="Segment University: Segment in Action" description="See a quick example of Segment working on an ecommerce website. (Must be logged in to access.)" %}
1111

@@ -15,7 +15,7 @@ Segment sends messages about activities in your mobile apps, websites or servers
1515

1616
## Types of Segment messages
1717

18-
Segment's libraries generate and send messages to our tracking API in JSON format, and provide a standard structure for the basic API calls. We also provide recommended JSON structure (also known as a schema, or 'Spec') that helps keep the most important parts of your data consistent, while allowing great flexibility in what other information you collect and where.
18+
Segment's libraries generate and send messages to our tracking API in JSON format, and provide a standard structure for the basic API calls. Segment also provides recommended JSON structure (also known as a schema, or Spec) that helps keep the most important parts of your data consistent, while allowing great flexibility in what other information you collect and where.
1919

2020
There are six calls in the basic tracking API, which answer specific questions:
2121

@@ -33,19 +33,22 @@ The other three, Track, Page, and Screen, can be considered as increasingly spec
3333
A Track call is the most basic type of call, and can represent any type of event. Page and Screen are similar and are triggered by a user viewing a page or screen, however Page calls can come from both web and mobile-web views, while Screen calls *only* occur on mobile devices. Because of the difference in platform, the context information collected is very different between the two types of calls.
3434

3535
> success ""
36-
> **Tip**! Segment recommends that you always use the Page and Screen calls when recording a page-view, rather than creating a "Page Viewed" event, because the Page/Screen calls automatically collect much better context information.
36+
> Segment recommends that you always use the Page and Screen calls when recording a page-view, rather than creating a "Page Viewed" event, because the Page/Screen calls automatically collect much better contextual information.
3737
3838
## Anatomy of a Segment message
3939

4040
{% include content/message-anatomy.md %}
4141

42-
## Message schemas, Blocks, and Specs
42+
## Segment Spec and event schemas
4343

44-
The Segment "Specs" provide recommended message schemas - the information we recommend that you collect - for each type of call. These are recommendations not requirements, but if you follow these schema guidelines the Segment servers can more easily identify parts of your messages, and translate them to downstream tools.
44+
The Segment Spec provides recommended message schemas for each type of event call (like Identify, Track, Page, and Scren). These schemas help you structure your events in a consistent, predictable format, making them easier to understand, maintain, and map to downstream tools.
4545

46-
In addition to the recommended message schemas, Segment also provides "blocks": recommendations on what information to collect and how to format it, for different industries and use cases. These are recommendations only, but by collecting all of the information in these blocks, you can ensure that common tools used in that use-case have the information they need to function.
46+
The Spec contains two kinds of guidance:
4747

48-
A third section of the Spec is the "industry specs" which provide recommendations that include an explicit translation or mapping in the Segment servers, to best power the downstream Destinations commonly used in these industries.
48+
- Mapped events, like `Order Completed` and `Product Viewed`, are event names and properties that Segment recognizes and transforms automatically for supported destinations. For example, events like `Order Completed` or `Product Viewed` are mapped to standard ecommerce fields.
49+
- Recommended events, on the other hand, are suggestions for structuring common event types, but Segment doesn't apply automatic transformations. They serve as best practices to help you maintain clean, useful data, especially if you're designing events for custom or internal use cases.
50+
51+
Segment also offers industry-specific recommendations, which are collections of events and traits commonly used in verticals like ecommerce or B2B SaaS. Segment designed these recommendations to help you collect the right data to power tools typically used in your industry.
4952

5053
## Sources and Destinations
5154

0 commit comments

Comments
 (0)