Integrating Amplitude
Last updated
Last updated
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.
Step 1. In the Amplitude console, go to Data > Catalog > Destinations > Webhook.
Step 2. In the Destinations, enter the following values in the Webhook URL and Headers fields, respectively. Select the other options appropriately as needed.
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
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
Step 2. Select the cohort to link, then click Next.
Step 3. Select All Traffic > Webhook as the Destination.
Step 4. Select the FlareLane integration that was created earlier.
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.
Step 6. Once the sync begins, a separate segment with an Amplitude badge will be automatically created in FlareLane segments as follows:
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.
Step 2. Click the Sync button on the cohort details page.
Step 3. In the pop-up, click Sync Now to start the re-sync process.