Skip to content

Commit d146df9

Browse files
custom EventConfig
1 parent 313b404 commit d146df9

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

website/docs/destinations/event_mapping.mdx

+12-4
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,24 @@ See&nbsp;<Link to="#valueconfig">ValueConfig</Link> for detailed usage.
196196
The `ignore` property is used to ignore the event. If set to `true`, the event
197197
won't get pushed to the destination.
198198

199-
### consent
200-
201-
The `consent` property is used to require a specific state to process the event.
202-
203199
### custom
204200

205201
The `custom` property is used for individual destination settings. In most cases
206202
the `data` property is enough. But in special cases a `custom` mapping might
207203
simplify the configuration.
208204

205+
<DestinationPush
206+
event={{ event: event.event }}
207+
mapping={`{
208+
data: "event",
209+
custom: {
210+
// Individual settings
211+
foo: "bar",
212+
}
213+
}`}
214+
output={`"order complete"`}
215+
/>
216+
209217
### batch
210218

211219
The `batch` property is used to bundle the events before pushing them to the

0 commit comments

Comments
 (0)