Documentation
Website
  • Getting Started
  • Customer Journey
    • Creating a Customer Journey
    • Understanding the Journey
    • Performance Dashboard
    • Pre-built Templates
  • Cross-Channel Messages
    • Mobile Push
    • Web Push
    • In-App Message
    • SMS/LMS
    • Webhook
  • Data Integration
    • User ID
    • Events
    • Tags
    • Integrating Amplitude
    • Integrating Mixpanel
  • Audience
    • Segments
    • Device Management
  • Engagement Tools
    • Message Personalization
    • Template
  • Analytics & Insights
    • Dashboard
    • Real-time Analytics
  • Guide for Developers
    • Mobile SDK Setup
      • Android SDK Setup
      • iOS SDK Setup
      • React Native SDK Setup
      • Flutter SDK Setup
      • Additional Setup
        • Android: FCM Setup (v1)
        • Android: Notification Icons
        • iOS: APNS Setup
        • iOS: Disable Swizzling
    • Web SDK Setup
    • REST API Reference
    • Mobile SDK Reference
    • Web SDK Reference
Powered by GitBook
On this page
  • How to Start
  • Integrating Cohorts
  • Troubleshooting
  • Manually Re-Syncing Cohorts
  1. Data Integration

Integrating Amplitude

PreviousTagsNextIntegrating Mixpanel

Last updated 7 months ago

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.

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

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:


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.

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.

Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane
Image by FlareLane