Skip to content

Commit a217bff

Browse files
Add info on schema integration filters with existing integration object
1 parent c087c35 commit a217bff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/guides/filtering-data.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ The events filtered out of individual destinations using this method still arriv
8080

8181
**Integration filters are all-or-nothing for each event.** If you require more detailed control over which events are sent to specific destinations, you can use Destination Filters to inspect the event payload, and conditionally drop the data or forward it to the destination.
8282

83+
**Integration filters will not override an existing value in the integrations object.** If the integration object already has a value for the integration, the per source schema integration filters will not override this. For example, if you are sending events to Appsflyer with the appsflyerId passed into the integration object:
84+
85+
```javascript
86+
integrations: {
87+
Appsflyer: {
88+
appsflyerId: 'xxxxxx'
89+
}
90+
}
91+
```
92+
And for the same event you have Appsflyer turned off using the per source schema integrations filter, this filter will not override the above object with a false value, and events will still send downstream. In this scenario, [destination filters](#destination-filters) can be used to drop the event before it is sent downstream.
93+
8394
## Schema event filters
8495

8596
You can use Schema Event Filters to discard and permanently remove Page, Screen and Track events from event-based sources, preventing them from reaching any destinations or warehouses, as well as omit identify traits and group properties. Use this if you know that you'll never want to access this data again. This functionality is similar to filtering with the Integrations object, however it can be changed from within the Segment app without touching any code.

0 commit comments

Comments
 (0)