Learn how to get started with Google Analytics.

Follow a [step-by-step get started guide](https://firebase.google.com/docs/analytics/get-started.md.txt#get-started-guides),
use [AI assistance](https://firebase.google.com/docs/analytics/get-started.md.txt#ai-assistance), or
try out a [sample app](https://firebase.google.com/docs/analytics/get-started.md.txt#sample-apps).

## Follow our get started guides

These guides provide step-by-step instructions to set up Analytics in your
app.
- [**Apple platforms**
  Get Started guide](https://firebase.google.com/docs/analytics/ios/get-started)
- [**Android**
  Get Started guide](https://firebase.google.com/docs/analytics/android/get-started)
- [**Web**
  Get Started guide](https://firebase.google.com/docs/analytics/web/get-started)
- [**Flutter**
  Get Started guide](https://firebase.google.com/docs/analytics/flutter/get-started)
- [**Unity**
  Get Started guide](https://firebase.google.com/docs/analytics/unity/get-started)
- [**C++**
  Get Started guide](https://firebase.google.com/docs/analytics/cpp/get-started)

<br />

*** ** * ** ***

## Get started using AI assistance

> [!NOTE]
> **Note:** AI assistance for getting started with Analytics is currently available for native Android and Apple platform apps.

### AI prompt for AI assistance


***For AI assistance, copy the prompt below into your
AI coding agent
(like Gemini in Android Studio, Antigravity, Claude Code, Codex, and Cursor).**
You can customize the prompt and iterate with your agent. Visit
[Firebase agent skills](https://firebase.google.com/docs/ai-assistance/agent-skills.md.txt)
for detailed installation info.*

```
Help me use Firebase in my app.
1. Make sure that **Firebase agent skills** are installed and updated. For Claude Code, Codex, or Cursor agents, help me install the Firebase plugin. For other agents, run `npx skills add firebase/agent-skills`. Always try to use **Firebase agent skills** for Firebase-related tasks.
2. Help me set up Google Analytics for Firebase and log screen view events in my app.
```

<br />

*** ** * ** ***

## Try out a sample app

These quickstart apps let you see how Analytics is set up and used in
fully working code.
- [**Apple platforms**
  Quickstart app](https://github.com/firebase/quickstart-ios/tree/main/analytics)
- [**Android**
  Quickstart app](https://github.com/firebase/quickstart-android/tree/master/analytics)
- [**Flutter**
  Quickstart app](https://github.com/firebase/flutterfire/tree/main/packages/firebase_analytics/firebase_analytics/example)
- [**Unity**
  Quickstart app](https://github.com/firebase/quickstart-unity/tree/master/analytics/testapp)
- [**C++**
  Quickstart app](https://github.com/firebase/quickstart-cpp/tree/main/analytics/testapp)