Linking AppsFlyer as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

Enter your AppsFlyer credentials to pull aggregate mobile attribution reports into the PostHog data warehouse. Each source connects to a single AppsFlyer app.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to AppsFlyer.
  3. In AppsFlyer, go to your account menu > Security center > AppsFlyer API tokens and copy your API token (V2). Your account must have an active Pull API subscription.
  4. Find your App ID in the AppsFlyer dashboard — for example, id123456789 for iOS or the Android package name.
  5. Back in PostHog, enter the App ID and API token (V2), then click Next.
  6. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using AppsFlyer data in PostHog.

Available tables

TableDescriptionSync method
daily_reportDaily aggregate performance dataIncremental
geo_reportGeographic breakdown of performance dataIncremental
partners_reportPartner attribution dataIncremental

All tables sync incrementally on the date field.

Sync behavior

  • Incremental sync with lookback - AppsFlyer doesn't finalize data until approximately 48 hours after the UTC day. Each incremental sync re-fetches the trailing two days to capture late-arriving data. Duplicates are merged on the dimension key.
  • Initial sync - The first sync can pull up to approximately 1,000 days of historical data, the maximum window supported by the AppsFlyer aggregate Pull API.
  • One app per source - Each source connects to a single AppsFlyer app. To import data from multiple apps, create a separate source for each one.

Configuration

OptionTypeRequired
App IDtextYes
API token (V2)passwordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
daily_report

Daily aggregate performance per media source and campaign — installs, clicks, cost, and revenue by date.

Incremental, Full refreshdate
geo_report

Daily aggregate performance broken down by country, in addition to media source and campaign.

Incremental, Full refreshdate
partners_report

Daily aggregate performance broken down by attribution partner (media source).

Incremental, Full refreshdate

Community questions

Was this page useful?

Questions about this page? or post a community question.