Skip to main content
The Amplitude live data source reads one Amplitude project. Lightdash turns each query into a Dashboard REST API report, and Amplitude computes the totals, unique users, funnels and retention itself. Event data stays in Amplitude. It’s a level 3 integration: its API runs reports from a fixed menu.

Before you start

  • Live data sources enabled for your organization. See Live data sources.
  • Admin role in the Lightdash project.
  • The project’s API key and secret key. In Amplitude, open Settings → Organization settings → Projects, select the project, and copy both keys. Amplitude shows a secret key only when it creates it.
  • The project’s data region, US or EU. Projects you open at analytics.eu.amplitude.com are in the EU.

Connect Amplitude

  1. On the nav bar, click Browse → Semantic Layer.
  2. In the sidebar, select Live data sources, then click Add.
  3. Select Amplitude.
  4. Choose the Data region, enter the API key and Secret key, then click Test. A working pair shows how many events the project tracks.
  5. Under Details, check the Name and Explore prefix. People see the name in Explore and agents use it to refer to the source. The prefix is filled in from the name and can’t be changed later. See Explore prefix.
  6. Click Add source.
Lightdash adds Events, Active users, Funnel, Retention and Sessions tables to Explore, grouped under the source’s name. To use a new key pair, delete the source and add it again; you can reattach the deleted source so its charts keep working.

Tables

Every table except Sessions can be filtered by these user properties: Country, Region, City, Platform, OS, Device type, Language and App version. Events and Active users can also be grouped by one of them at a time.
  • Events counts every event unless you filter Event. Filter it to up to 10 events, and add Event to the dimensions to compare them, because unique users can’t be added across events.
  • Active users needs a date dimension.
  • Funnel reads the steps from the Step event filter, in the order you list the events, from 2 to 10. Filter Conversion window (days) to change the default of 30 days. The funnel covers the whole date range.
  • Retention needs one of Days, Weeks or Months after start, which sets the grain; a cohort dimension must use the same grain. Without filters it counts new users who came back with any active event. Filter Start event and Return event to choose other events.
  • Sessions reports per day.
Unique users, active users and rates are counted once per row. Choose a coarser date grain instead of adding rows together.

Supported features

Limits

Amplitude also limits the cost of the queries a project runs each hour, counted by days in the date range and the number of events and groupings. Long ranges with many events reach it sooner. Custom user properties, lifecycle, stickiness, user paths, revenue and saved Amplitude charts aren’t available from the Amplitude source.

Example questions

  • “Daily active users over the last 90 days.”
  • “Weekly unique users of Create Dashboard and Share Dashboard for the last 12 weeks.”
  • “Conversion from Sign Up to Complete Onboarding to Create Project this month.”
  • “Weekly retention of new users over the last quarter.”

Troubleshooting

Amplitude rejected the API key and secret key. Copy both keys again from the same project. A key pair belongs to one project. Amplitude denied access. Check that the Data region matches the project: a key pair from an EU project is rejected in the US region, and the reverse. Amplitude rate limit reached. Wait a few minutes, or shorten the date range or the number of events in the query.