# Reporting on a Firebase AB test

A very popular use-case for our platform is to measure ongoing — or completed — [AB tests running in Firebase.](https://firebase.google.com/products/ab-testing) This article is to help you get started with measuring Firebase AB tests using the AdLibertas platform.

<figure><img src="https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FkrqushXCzN9wJe1dW9gP%2FScreen%20Shot%202022-12-28%20at%2012.56.55%20PM.png?alt=media&#x26;token=64f2e9bb-4cc3-42d3-9734-f44053d9a26a" alt=""><figcaption><p><em>We include popular metrics (cumulative earned revenue, LTV) but also allow you to add your own.</em></p></figcaption></figure>

### Background:

{% embed url="<https://www.adlibertas.com/firebase-ab-testing-with-ad-revenue-use-ltvs-to-determine-test-winners/>" %}

{% embed url="<https://www.adlibertas.com/ab-testing-tips-from-a-pro/>" %}

### Step 1: View the test in AdLibertas <a href="#h-step-1-view-the-test-in-adlibertas" id="h-step-1-view-the-test-in-adlibertas"></a>

When you have Firebase connected to AdLibertas you can automatically select and report on your Firebase AB tests. By default Firebase assigns a user property to each variant of the AB test, therefore we make it easy to run a report on these users over a timeframe of your choice. To do so, simply [create an audience](https://docs.adlibertas.com/the-platform/user-level-audience-reporting/advanced-audience-builder), choose Firebase Experiment, then choose the appropriate Experiment Name that’s running in Firebase.

In our example, let’s analyze a (fictional) test running that changes game complexity for new users.

![](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2Fj0cTAnqzwKEllT1c0rOc%2FScreen%20Shot%202022-12-28%20at%2012.43.25%20PM.png?alt=media\&token=af562214-c9a1-4f30-bd45-d170815e25ee)

Next, you can choose one (or more) variants for each audience.

![](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FpVastfyndkLTeYUdUVTF%2FScreen%20Shot%202022-12-28%20at%2012.47.13%20PM.png?alt=media\&token=b7d95417-702a-4e31-a39f-0f947dce5da9)

### Step 2: Running Reports on a Firebase AB test <a href="#h-step-2-running-reports-on-a-firebase-ab-test" id="h-step-2-running-reports-on-a-firebase-ab-test"></a>

Once you’ve built your audiences, then you can [run reports ](https://docs.adlibertas.com/the-platform/user-level-audience-reporting/creating-advanced-user-level-reports)on these users over a timeframe of your choice.

Note: This will allow you to test your variants during, before, or after the actual timeframe.

![Choose the timeframe.](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FQvxZnDNfFEkQ5ZI8h54w%2FScreen%20Shot%202022-12-28%20at%2012.50.54%20PM.png?alt=media\&token=02f6a021-164a-4e09-b3f4-9ae26b1c7191)

Once you’ve run the reports, you can measure the impact of these AB tests across multiple metrics and timeframes.

![Adding 2 variants into a report.](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FB4PZmjoSAeyOsQl8bA3S%2Fimage.png?alt=media\&token=4448c348-64ba-4ef1-b9e6-5178a2d35614)

![You can add the count and averages for custom metrics to any audience, including a user's time in the app.](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FQYFx595CyRTxa5M3IKKT%2FScreen%20Shot%202022-12-28%20at%2012.53.15%20PM.png?alt=media\&token=067a7ab6-d4ee-4b1b-982c-568fea520ebe)

Now you can explore the performance and behavioral differences through the standard Audience Reporting features

![Measuring the LTV of multiple test variants](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FkrqushXCzN9wJe1dW9gP%2FScreen%20Shot%202022-12-28%20at%2012.56.55%20PM.png?alt=media\&token=64f2e9bb-4cc3-42d3-9734-f44053d9a26a)

![Measuring the cumulative impressions/revenue/actions of variants](https://336314087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8orL32xNzJW4MhnNef%2Fuploads%2FAsijCPSvmNr0gVPdfFLZ%2FScreen%20Shot%202022-12-28%20at%2012.57.47%20PM.png?alt=media\&token=2671ff65-b503-4ead-b224-a3909cb54ad6)

Firebase AB Test related reading: [Audience Reporting Walk-through](https://docs.adlibertas.com/the-platform/user-level-audience-reporting) :: [Creating an audience](https://docs.adlibertas.com/the-platform/user-level-audience-reporting/creating-a-new-user-report) :: [Running Reports](https://docs.adlibertas.com/the-platform/user-level-audience-reporting/creating-advanced-user-level-reports) :: [Understanding Date Ranges](https://docs.adlibertas.com/the-platform/user-level-audience-reporting/understanding-date-ranges-with-audience-reporting)
