Skip to content

Commit bc5c5cd

Browse files
authored
Merge pull request #2253 from segmentio/filter-arrays
Update to clarifying the format required for Filtering Array Properties
2 parents af9487b + cec9816 commit bc5c5cd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/connections/destinations/destination-filters.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ example, you can filter out the `price` property of every object in an array at
123123

124124
In order to block a specific property from all of the objects within a properties array, set the filter following the format: `<propertyType>.<arrayName>.<arrayElementLabel>​`.
125125

126-
For example, the `properties.products.product_id` filter blocks all `product_id` fields from every `products` object in an array with the `properties` object. If you want to block the Identify trait product_id, select the filter under the User Traits option instead. You can also select from the Context Fields section for context object scenarios.
126+
For example, the `properties.products.newElement` filter blocks all `newElement` property fields from each `products` object of an array within the `properties` object of a Track event.
127+
128+
![](images/destination-filters/filter-array-properties.png)
129+
130+
If you want to block the Identify event trait `products.newElement`, select the option under the **User Traits** list instead. If you want to block a context object field `products.newElement`, select it from the **Context Fields** list.
127131

128132
**Q: How many filters can I create?**
129133

Loading

0 commit comments

Comments
 (0)