Skip to content

Commit cdda5aa

Browse files
authored
Update index.md
1 parent baddbad commit cdda5aa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/protocols/transform/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,15 @@ Depending on the type of transformation you selected, you will need to enter the
9595
After you select the scope, use the search box to choose the event to transform. You can **only** select a single track event, identify or group call. If you are renaming the event, simply enter the new name in the provided text field.
9696

9797
* **Rename properties or traits:**
98-
If you rename properties or traits within a selected event, click **+ Add Property**. The dropdown that appears contains the properties or traits sent with the selected event. Segment supports JSON Path notation to select nested objects up to four levels deep. For example, `order.id` selects the `id` property in the `order` object. Segment does not support `.$.` notation to select a property from an array of objects. For example, we currently do not support product.product_id.
98+
If you rename properties or traits within a selected event, click **+ Add Property**. The dropdown that appears contains the properties or traits sent with the selected event. Segment supports JSON Path notation to select nested objects up to four levels deep. For example, `order.id` selects the `id` property in the `order` object. Segment does not support `.$.` notation to select a property from an array of objects. For example, the following event will generate products.$.product_id
99+
100+
analytics.track('Example', {
101+
products: [{
102+
product_id: "123"
103+
}],
104+
})
105+
106+
In this scenario, we do not support the transformation of product_id.
99107

100108
After selecting a property/trait, select JSON Path or Simple String to change the property/trait. Simple string will change the name in-line, while JSON path allows you to move the property/trait in or out of an object.
101109

0 commit comments

Comments
 (0)