From 31b3792a110fe257b0c6c0cbedf3495b70cc44b7 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 9 Feb 2022 16:03:32 +0100 Subject: [PATCH] docs: Add steps to enable impression events for existing toggles. --- website/docs/how-to/how-to-send-impression-data-to-a-sink.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/docs/how-to/how-to-send-impression-data-to-a-sink.md b/website/docs/how-to/how-to-send-impression-data-to-a-sink.md index a6d4c6eef7..fccc34c9f2 100644 --- a/website/docs/how-to/how-to-send-impression-data-to-a-sink.md +++ b/website/docs/how-to/how-to-send-impression-data-to-a-sink.md @@ -33,7 +33,7 @@ When you create a new feature toggle via the UI, there's an option at the end of ![The create feature toggle form. There's a toggle at the end of the form that enables or disables impression data. It's labeled "impression data".](/img/enable-impression-data.png) -To create a feature toggle with impression data enabled, set the `impressionData` option to `true` in the request payload: +To create a feature toggle with impression data enabled, set the `impressionData` option to `true` in the request payload, as seen below. For more options, check the [reference docs on creating features](../api/admin/feature-toggles-api-v2.md#create-toggle). ", impressionData: true}} url="api/admin/projects//features" title="Create a feature toggle with impression data enabled."/> @@ -43,6 +43,9 @@ To enable impression data for an existing toggle, use the "edit" button on the t ![The create feature toggle form. There's a toggle at the end of the form that enables or disables impression data. It's labeled "impression data".](/img/enable-impression-data-existing-toggle.png) +To enable impression data for an existing toggle, use the [API's toggle patching functionality](../api/admin/feature-toggles-api-v2.md#patch-toggle): + + ## Step 2: Capture impression events in your client {#step-2}