Integrations

LaunchDarkly
CategoriesAll

Feed

LaunchDarkly is a feature management platform that empowers development teams to safely deliver and control software through feature flags.

Supported Event Types

  • Custom/App Events
  • Screen Views

Supported User Identities

  • Customer ID
  • Email

Prerequisites

In order to enable mParticle’s integration with LaunchDarkly, you will need to provide the specific user identifier you wish to use for exporting LaunchDarkly events.

Setup the Launch Darkly feed to get your key/secret. Enter these credentials into LaunchDarkly Data Export Destination form, selecting “mParticle” as the destination.

You also need to instrument your app with the LaunchDarkly SDK to send events.

Event Details

All events include the following custom event property:

  • timestamp_unixtime_ms

Event Event Details Description
Feature event_type: custom_event
custom_event_type “other”
event_name: Feature
Describes a feature flag evaluation which occurred in a LaunchDarkly SDK event_type: “custom” for this event.
custom attributes
project ID of the LaunchDarkly project associated with the event.
environment ID of the LaunchDarkly environment associated with the event.
version The version of event schema.
flag_version The version number of the flag when it was evaluated.
value The value of the feature flag returned by feature flag evaluation.
key The key of the feature flag requested.
default Whether the flag evaluation was a result of the default value being used. Is set to true if feature flag evaluation failed, if omitted assumed to be false.
reason_kind If a feature event was generated through a ""variation detail"" method, the event will have a reason property with the JSON representation of the evaluation reason.
prerequisite_of Set to another flag’s key if this flag evaluation was only performed in order to determine whether the prerequisite values were met for the indicated flag.
Custom event_type: custom_event
custom_event_type “other”
event_name: Custom
Describes an event generated by a LaunchDarkly SDK in response to a user calling the SDK’s “track” function event_type: “custom” for this event”.
custom attributes
project ID of the LaunchDarkly project associated with the event.
environment ID of the LaunchDarkly environment associated with the event.
version The version of event schema.
key The key of the feature flag requested.
Click event_type: custom_event
custom_event_type “navigation”
event_name: Click
Describes an event generated by the LaunchDarkly SDK when a user clicks on a designated HTML element event_type: “custom” for this event.
custom attributes
project ID of the LaunchDarkly project associated with the event.
environment ID of the LaunchDarkly environment associated with the event.
version The version of event schema.
key The key of the feature flag requested.
url The URL of the page the user was on when the click occurred.
selector The CSS selector that was clicked.
Page View event_type: screen_view
custom_event_type: other
event_name: Page View
Describes an event generated by a LaunchDarkly SDK when a user views an action changes the browser’s URL event_type: “screen_view” for this event.
screen_name URL stripped of query string.
custom attributes
project ID of the LaunchDarkly project associated with the event.
environment ID of the LaunchDarkly environment associated with the event.
version The version of event schema.
key The key of the feature flag requested.
url The URL of the page the user was on when the page view occurred.

Was this page helpful?