Product analyticsProduct analytics

Setting up product analytics

Overview

This topic explains how to set up LaunchDarkly product analytics. LaunchDarkly product analytics is a feature that allows you to track and analyze user events in your product.

To set up product analytics, you must first connect LaunchDarkly’s Snowflake Native Product Analytics integration to import event and other data to LaunchDarkly. To do this, you provide some information to LaunchDarkly, and LaunchDarkly generates a SQL script that you use to connect your Snowflake account to LaunchDarkly. You do not need to change anything in the script, which includes comments to explain each step of what it does.

Prerequisites

Before completing this procedure, you must have the following:

  • Inclusion in LaunchDarkly’s Early Access Program (EAP)
  • Events populating LaunchDarkly’s event stream
  • An active Snowflake account with the SECURITYADMIN and SYSADMIN privileges
  • Access to a Snowflake Native data warehouse
  • The Snowflake Data Export destination enabled

Set up product analytics

To use LaunchDarkly product analytics, you must first enable LaunchDarkly’s Snowflake Native Product Analytics integration. Here’s how:

  1. Click Product analytics in the left navigation, or find it by searching “Snowflake product analytics” on the Integrations page.
  2. Click Configure. The “Configure Snowflake Product Analytics” menu opens.
  3. Click Manage integration. The “Configure Snowflake Native Product Analytics” menu opens.

The Configure Snowflake Product Analytics menu.

The Configure Snowflake Product Analytics menu.
  1. Enter a human-readable Name.
  2. Specify a LaunchDarkly Project and environment where you want the integration to run.
  3. Enter your Snowflake account URL. You can find this in Snowflake’s “Account” menu, in the “Account/Server URL” field.
  4. After you complete steps 3-6, LaunchDarkly generates a SQL script to connect your Snowflake account to LaunchDarkly.
  5. Copy the script and paste it into a new worksheet in your Snowflake account.
  6. Run the script in Snowflake. When it completes, return to LaunchDarkly.
  7. Read the “Integration Terms and Conditions,” and then select the checkbox to acknowledge them.
  8. Click Save configuration. A confirmation message appears at the top of the screen when configuration completes successfully.

On the Product analytics screen in LaunchDarkly, the landing page will update to show a “Waiting for data…” status. Events and other information will begin to populate the screen within 15 minutes. Load time varies based on the volume of data you’re importing from Snowflake.

To verify that data is loading, refresh the page. The Dashboards tab will not have any information in it until you create a dashboard, but you can confirm that setup was successful by checking the Events and Attributes tabs. After the import completes, both of those tabs display pre-populated data.

After the event data appears, you will be able to access different aspects of the product analytics UI.

To learn more, read Dashboards, Events, Cohorts, and Attributes.

Built with