> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/native-integrations/firebase-analytics.md).

# Firebase Analytics

See how people actually use your app, through Firebase.

Firebase Analytics tells you what people do in your app — how many open it, which screens they visit, what they tap, which devices they use.

Your website analytics cannot see any of this. To them, every visit from inside your app looks like one more mobile browser session. Firebase measures the app as an app.

Twinr sends two kinds of events:

* [**Auto Tracked Analytics**](/native-integrations/firebase-analytics/auto-tracked-analytics.md) — installs, opens, device and version breakdowns, and bottom tab views. These arrive once you finish setup, with nothing more to configure.
* [**Custom Analytics**](/native-integrations/firebase-analytics/custom-analytics.md) — events you define for the things that matter to your business. **Premium.**

## What you need first

A Firebase project, and its two config files — `google-services.json` for Android and `GoogleService-Info.plist` for iOS.

{% content-ref url="/pages/eR5rJ6bhgjaMaS03dlEN" %}
[Firebase Setup](/push/firebase-push-notification/firebase-setup.md)
{% endcontent-ref %}

{% hint style="success" %}
Already set up [Firebase push notifications](/push/firebase-push-notification.md)? Both files are shared — they will show as uploaded here already, and you can go straight to the toggle.
{% endhint %}

## Set it up

Open **Analytics → Firebase Analytics** and switch on **Enable Firebase Analytics**.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-2dc7f76ff356510ebe20f166149ed891ed6e703d%2Ffirebase-analytics-setup.png?alt=media" alt="The Firebase Analytics Setup tab with the enable toggle and the two config file fields"><figcaption></figcaption></figure>

Upload both config files, then click **Save as draft**.

## Custom events

The **Custom events** tab is **Premium**, and it stays locked until Setup is complete — it tells you so: *Turn on Firebase Analytics on the Setup tab to create custom events.*

See [Custom Analytics](/native-integrations/firebase-analytics/custom-analytics.md).

## Seeing your data

Events appear in the Firebase console. See [How to check Analytics in Firebase?](/native-integrations/firebase-analytics/how-to-check-analytics-in-firebase.md).

{% hint style="info" %}
Events start recording immediately but can take up to **24 hours** to appear in Firebase's reports. An empty dashboard an hour after setup is normal — it does not mean something is broken.
{% endhint %}

## Common Questions

<details>

<summary>Why is nothing showing from my Preview app?</summary>

Twinr does not record analytics from Twinr Preview. Test with a real build — an APK on Android, or TestFlight on iOS.

</details>
