Skip to content

Commit 5af865b

Browse files
committed
alt-text fixes
1 parent 33c7ec3 commit 5af865b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/protocols/tracking-plan/create.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The Segment Tracking Plan feature allows you to validate your expected events ag
1515

1616
Tracking Plans are stored in workspaces and can be connected to one or more Sources.
1717

18-
![](./images/tracking-plan.png)
18+
![A screenshot of the Tracking Plans page, showing one tracking plan titled "Ecommerce Spec".](./images/tracking-plan.png)
1919

2020
## Create a Tracking Plan
2121

@@ -70,7 +70,7 @@ You can apply `key:value` labels to each event to help organize your tracking pl
7070

7171
For consistency purposes, it's best that you create a standard way of labeling events and share it with all parts of your organization that will use Segment.
7272

73-
![](./images/labels.png)
73+
![A screenshot of a tracking plan, zoomed in to show the event labels search bar. A label of "platform:ios" is present in the search bar.](./images/labels.png)
7474
> info ""
7575
> **Note:** Tracking Plan Labels are only available for Track and Page events.
7676
@@ -179,19 +179,19 @@ This can be helpful for mobile developers who might have several released versio
179179

180180
For example, say you want to add `subtotal` as a required property to your `Order Completed` event. You would start by adding the required property to the event in the Tracking Plan as shown in the example below.
181181

182-
![](../images/breaking_change_event_versioning.png)
182+
![Two screenshots edited together. The first screenshot shows all the properties in an Order Completed event with none highlighted, and the second screenshot shows the subtotal property selected.](../images/breaking_change_event_versioning.png)
183183

184184
Before Segment introduced event versioning, you would need to add the change to your tracking plan and any non-compliant events would generate violations, and possibly be blocked depending on your [event blocking settings](/docs/protocols/enforce/schema-configuration/).
185185

186186
### Create a new event version
187187
With event versioning, you can now create multiple versions of the event definition as shown in the example below. To create a new event version, click into the overflow menu for an event and select **Add Event Version**.
188188

189-
![](../images/add_event_version.png)
189+
![A screenshot of the overflow menu, with the event versioning setting visible.](../images/add_event_version.png)
190190

191191
### Dynamically validate track events against an event version
192192
To ensure the Track events you send to a Segment source validate against the correct event version, you need to instrument your events to include a `context.protocols.event_version` key and version value. The version value must pass as an integer, and should match the number shown in the Tracking Plan version tab. In the example below, the version number would be **2**.
193193

194-
![](../images/pull_event_version.png)
194+
![A zoomed in version of the Order Completed tab, showing Version 1 and Version 2.](../images/pull_event_version.png)
195195

196196
Next, add the event version number to the context object. For [analytics.js](/docs/connections/sources/catalog/libraries/website/javascript) Track calls, you would instrument the event as in the example below. Note how the JSON objects for `context`, `protocols`, and `event_version` are nested.
197197

0 commit comments

Comments
 (0)