Skip to main content
Ask AI

Amplitude Integration

The Amplitude integration connects TestRelic to your Amplitude product analytics workspace, enabling two key capabilities: analytics event capture during test sessions and test navigation alignment with real user journeys.

What this integration enables

CapabilityWhere it appears
Analytics event captureAnalytics Events tab in the browser session workspace
Journey alignmentTest Navigation view — coverage overlay comparing test flows vs. real user flows

Connecting Amplitude

  1. Navigate to Settings → Integrations.
  2. Click Connect on the Amplitude card.
  3. Provide:
    • API Key — Your Amplitude project API key
    • Secret Key — Your Amplitude project Secret Key
    • Project ID — Your Amplitude project ID (numeric)
  4. Click Save to verify the connection.
Finding your Amplitude credentials

Your Amplitude API key and Secret Key are in the Amplitude console under Settings → Projects → [Your Project] → General.

Analytics events in session workspace

When the integration is connected, the Analytics Events tab in the Browser Session Workspace displays Amplitude events that were fired during the test session.

For each event, you can see:

  • Event name — The Amplitude event type.
  • Timestamp — When the event was fired during the session.
  • Event properties — The properties attached to the event.
  • User properties — User properties at the time of the event.

This is useful for verifying that your test actions are triggering the correct analytics events — for example, confirming that a checkout flow fires the Purchase event with the right properties.

Journey alignment in Test Navigation

When Amplitude is connected, the Test Navigation view adds a journey alignment overlay to the navigation graph. This overlay shows:

  • Covered paths — Navigation flows that exist in both your tests and real user journeys in Amplitude.
  • Uncovered user journeys — High-traffic user flows observed in Amplitude that are not covered by any test.
  • Test-only paths — Navigation flows that exist in tests but have no corresponding Amplitude user journey (potential test over-coverage).

This alignment helps prioritize which flows to add to your test suite next — focusing on the paths your real users take most frequently.

Use journey data for test planning

The Ask AI feature can use the Amplitude journey alignment data as context. Ask: "What are the top 5 user journeys that are not covered by our tests?" to get a prioritized coverage recommendation.

Data scope

The Amplitude integration queries event data at the project level using the Amplitude HTTP API v2. Only event names, timestamps, and properties are retrieved — no personally identifiable information (PII) is used or displayed in the TestRelic platform.