Skip to content

Commit c270444

Browse files
authored
Merge pull request #5961 from segmentio/ashton-huxtable-patch-1
Add info on schema integration filters with existing integration object
2 parents 78b7709 + c811f5e commit c270444

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 won't 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're 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+
For the same event you have Appsflyer turned off using the per source schema integrations filter, this filter won't override the above object with a false value, and events still send downstream. In this scenario, you can use [destination filters](#destination-filters) to drop the event before it sends 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)