# Tracks events in GA4

### How do I track app activities in GA4 through Firebase integration?

You can monitor your app activities directly from your AppMySite account using the built-in Analytics feature. Our apps are designed to track almost all recommended Google Analytics events. For more details on the specific events you can track within your AppMySite account, please refer to this article:

{% embed url="<https://scribehow.com/shared/Tracks_events_in_GA4__oG0OOMV_TImI7swyBTq_9g>" %}

{% content-ref url="/pages/VVST6ltH075XxWKU6MaI" %}
[Access analytics data](/app/analytics/access-analytics-data.md)
{% endcontent-ref %}

If you’re simply interested in monitoring app activity through AppMySite, you can do so by enabling the Firebase toggle on the [Analytics screen](https://app.appmysite.com/app/analytics).

However, if you wish to track your app events in Google Analytics 4 (GA4), you’ll need to integrate your app build with Google Firebase. Tracking your app activities in GA4 is a straightforward process. Just follow these steps:

* Open [**Firebase**](https://console.firebase.google.com/) on your browser.
* Click on Get Started and log in with your Google account.
* Select Create a Project and enter a project name. You can choose any name related to your app. Then, check the Firebase Terms checkbox and click on Continue.
* Turn on the Enable Google Analytics for this project toggle to link your Google Analytics account with Firebase.
* In the next step, select an existing Analytics account or create a new one.
* Click on Create Project to proceed.
* From the sidebar, navigate to Analytics > Realtime Analytics.
* For comprehensive tracking, use the View more in Google Analytics button on this screen.

When you integrate Firebase (GA4) with your app, you can monitor key user interactions in real time. Some of the default events tracked include:

* user\_engagement – Tracks how users are engaging with the app.
* screen\_view – Records each time a screen is viewed.
* session\_start – Logs when a user session begins.
* click – Captures when users click on interactive elements.
* scroll – Tracks user scroll activity within the app.
* first\_visit – Captures when a user opens the app for the very first time.
* first\_open – Logs when the app is opened for the first time after installation.

{% hint style="warning" %}
App activity can only be monitored after your app has been published.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmysite.com/app/analytics/tracks-events-in-ga4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
