Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ A warning appears when deobfuscation fails for a stack trace. If the stack trace
[9]: /real_user_monitoring/guide/sampling-browser-plans/
[10]: /real_user_monitoring/application_monitoring/browser/advanced_configuration/?tab=npm#global-context
[11]: /real_user_monitoring/application_monitoring/browser/advanced_configuration/?tab=npm#user-session
[12]: /real_user_monitoring/guide/setup-feature-flag-data-collection/?tab=browser
[12]: /real_user_monitoring/feature_flag_tracking/setup/?tab=browser
[13]: /real_user_monitoring/application_monitoring/browser/setup/#initialization-parameters
[14]: https://app.datadoghq.com/source-code/setup/rum
[15]: /real_user_monitoring/guide/debug-symbols
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Feature Flag Tracking
description: "Track feature flag usage and performance impact in RUM to maintain release safety and optimize user experience with controlled rollouts."
disable_toc: false
further_reading:
- link: "/real_user_monitoring/guide/setup-feature-flag-data-collection/"
- link: "/real_user_monitoring/feature_flag_tracking/setup/"
tag: "Documentation"
text: "Set up Feature Flag data collection"
- link: "/real_user_monitoring/explorer/"
Expand Down
55 changes: 52 additions & 3 deletions content/en/real_user_monitoring/feature_flag_tracking/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ aliases:
- /real_user_monitoring/guide/setup-feature-flag-data-collection/
disable_toc: false
further_reading:
- link: "/real_user_monitoring/guide/setup-feature-flag-data-collection/"
tag: "Documentation"
text: "Set up Feature Flag data collection"
- link: "/real_user_monitoring/explorer/"
tag: "Documentation"
text: "Learn about the RUM Explorer"
Expand Down Expand Up @@ -687,6 +684,58 @@ gb.init();
{{% /tab %}}
{{< /tabs >}}

### Kameleoon integration

Before you initialize this feature flag integration, make sure you've [set up RUM monitoring](#set-up-rum-monitoring).

{{< tabs >}}
{{% tab "Browser" %}}

After creating and initializing the Kameleoon SDK, subscribe to the `Evaluation` event using the `onEvent` handler.

For more information about the SDK, see [Kameleoon JavaScript SDK documentation][1].

```javascript
client.onEvent(EventType.Evaluation, ({ featureKey, variation }) => {
datadogRum.addFeatureFlagEvaluation(featureKey, variation.key);
});
```

[1]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk
{{% /tab %}}
{{% tab "iOS" %}}

Kameleoon does not support this integration. Contact product@kameleoon.com to request this feature.

{{% /tab %}}
{{% tab "Android" %}}

Kameleoon does not support this integration. Contact product@kameleoon.com to request this feature.

{{% /tab %}}
{{% tab "Flutter" %}}

Kameleoon does not support this integration. Contact product@kameleoon.com to request this feature.

{{% /tab %}}
{{% tab "React Native" %}}

After creating and initializing the Kameleoon SDK, subscribe to the `Evaluation` event using the `onEvent` handler.

Learn more about SDK initialization in the [Kameleoon React Native SDK documentation][1].

```javascript
const { onEvent } = useInitialize();

onEvent(EventType.Evaluation, ({ featureKey, variation }) => {
datadogRum.addFeatureFlagEvaluation(featureKey, variation.key);
});
```

[1]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/react-js-sdk
{{% /tab %}}
{{< /tabs >}}

### LaunchDarkly integration

Before you initialize this feature flag integration, make sure you've [set up RUM monitoring](#set-up-rum-monitoring).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aliases:
- /real_user_monitoring/guide/setup-feature-flag-data-collection/
disable_toc: false
further_reading:
- link: "/real_user_monitoring/guide/setup-feature-flag-data-collection/"
- link: "/real_user_monitoring/feature_flag_tracking/setup/"
tag: "Documentation"
text: "Set up Feature Flag data collection"
- link: "/real_user_monitoring/explorer/"
Expand Down
1 change: 0 additions & 1 deletion content/en/real_user_monitoring/guide/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ cascade:
{{< nextlink href="/real_user_monitoring/guide/track-rum-usage-with-attribution-tags" >}}Track RUM usage with usage attribution tags{{< /nextlink >}}
{{< nextlink href="/real_user_monitoring/guide/remotely-configure-rum-using-launchdarkly" >}}Remotely configure RUM using LaunchDarkly{{< /nextlink >}}
{{< nextlink href="/real_user_monitoring/guide/getting-started-rum-deployment-tracking" >}}Getting started with RUM Deployment Tracking{{< /nextlink >}}
{{< nextlink href="/real_user_monitoring/guide/getting-started-feature-flags" >}}Getting started with Feature Flag Tracking{{< /nextlink >}}
{{< nextlink href="/real_user_monitoring/guide/monitor-kiosk-sessions-using-rum" >}}Monitor kiosk sessions using RUM{{< /nextlink >}}
{{< nextlink href="real_user_monitoring/guide/best-practices-for-rum-sampling" >}}Best practices for RUM sampling{{< /nextlink >}}
{{< nextlink href="real_user_monitoring/guide/debug-symbols" >}}Investigate obfuscated stack traces with RUM debug symbols{{< /nextlink >}}
Expand Down
Loading
Loading