Integrating Amplitude

Note: To integrate Amplitude, the Amplitude project you're using must be on a paid plan.

You can perform various tasks in FlareLane that target Amplitude cohorts.

Once the integration with Amplitude is complete, devices that match the user_id within the Amplitude cohort will be grouped into a separate segment.

How to Start

Step 1. In the Amplitude console, go to Data > Catalog > Destinations > Webhook.

Image by FlareLane

Step 2. In the Destinations, enter the following values in the Webhook URL and Headers fields, respectively. Select the other options appropriately as needed.

Category
Input

Webhook URL

http://api.flarelane.com/v1/cohort-sync/amplitude

Headers (x-flarelane-project-id)

The ID of the FlareLane project you want to integrate

Headers (x-flarelane-api-key)

The API key of the integrated FlareLane project


Integrating Cohorts

Once the integration is complete, you can link the Amplitude cohort to FlareLane following the steps below:

Step 1. In the Amplitude console, click Audiences > Syncs > Create Sync

Image by FlareLane

Step 2. Select the cohort to link, then click Next.

Image by FlareLane

Step 3. Select All Traffic > Webhook as the Destination.

Image by FlareLane

Step 4. Select the FlareLane integration that was created earlier.

Image by FlareLane

Step 5. Select the sync type. For Scheduled Sync, the following conditions apply depending on the type:

  • Hourly Sync can sync up to 1 million users.

  • Daily Sync can sync up to 10 million users.

Image by FlareLane

Step 6. Once the sync begins, a separate segment with an Amplitude badge will be automatically created in FlareLane segments as follows:

Image by FlareLane

Troubleshooting

Manually Re-Syncing Cohorts

If the Amplitude cohort doesn't seem to be properly synced with FlareLane, you can attempt a manual re-sync. Here's how:

Step 1. In the Amplitude console, hover over the cohort in Audiences > Syncs and click History.

Image by FlareLane

Step 2. Click the Sync button on the cohort details page.

Image by FlareLane

Step 3. In the pop-up, click Sync Now to start the re-sync process.

Image by FlareLane

Last updated