> For the complete documentation index, see [llms.txt](https://docs.appmachine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmachine.com/app-details/google-analytics/setup-ios-analytics.md).

# Setup iOS analytics

### How to add Google Analytics to your iOS app

1. **Navigate** to the **publish page** of your app in AppMachine.
2. **Open** the **Certificates and API Keys page** via the dropdown menu in the App Store section.<br>

   <figure><img src="/files/gdciwQgcfwPG8Sbgf9o2" alt=""><figcaption><p>Publish page - Apple App Store section</p></figcaption></figure>
3. On the Certificates and API Keys page, **click Add Certificate** in the Firebase Certificates section.<br>

   <figure><img src="/files/PtBHt0TNZOBmnQ1ASORS" alt=""><figcaption><p>Certificates and API Keys page</p></figcaption></figure>
4. **Copy the Bundle ID** and follow the steps in [this article](/app-details/firebase/register-ios-app.md) to register your iOS app in Firebase.<br>

   <figure><img src="/files/dg4bzFpcflfbhm5laPIe" alt=""><figcaption><p>Setup Firebase for iOS - Register iOS app</p></figcaption></figure>
5. **Click Next** and **upload the GoogleServices-info.plist file** that you've downloaded during the registration of your iOS app in Firebase.<br>

   <figure><img src="/files/wzlsEUmNd8uealyZIUaK" alt=""><figcaption><p>Setup Firebase for iOS - Upload GoogleService-Info.plist file</p></figcaption></figure>
6. **Click Upload** to complete the Google Analytics setup of your iOS app.

**Note: A store update of your iOS app is required before you'll be able to gather app analytics.**
