LogoLogo
HomepageResellerPricingSign in
  • AppMachine
  • πŸ“ƒProduct Updates
  • πŸ‘·Build your app
    • Preview your app
    • App templates
    • App Settings
    • Update payment method
    • Cancel subscription
  • ❔General App Building FAQ
  • How to
  • 🧱Blocks
    • πŸ” Admin
    • πŸ“„Blank Page
    • πŸ“žCall
    • 🏒Contact
    • πŸ“Contact Us
    • 🧾Coupons
    • πŸ“ƒCustom Form
    • πŸ“§Email
    • πŸ—“οΈEvents
    • ❔FAQ
    • 🌐Facebook
    • πŸ•‘Hours
    • ℹ️Information
    • πŸ“£Intro
    • β˜•JavaScript
    • πŸ”’Lock
    • 🎧Music
    • πŸ“°News
    • πŸ“ƒPDF
    • πŸ—ΊοΈPOI
    • πŸ‘₯People
    • πŸ“·Photos
    • 🏬Products
    • πŸ“©Push Messages
    • πŸ“»Radio
    • β†ͺ️Submenu
    • 🐦Twitter
    • πŸ‘¨β€πŸ’»URLs
    • πŸ–₯️Web Page
    • πŸ“ΊVideo
    • πŸ“±WhatsApp
  • πŸ“ƒData
    • Appmachine Data
    • Delete (test) data from Custom Form
    • Google Sheets
    • Web services
  • πŸ–ŒοΈStyle your app
    • Theme
    • Home Screen
    • FAQ Style
  • 🎨Style your screens
    • Elements
  • Share your app
    • ✈️Publishing your app
      • Technical Setup Quick Start Guide
      • Update your app
      • Unpublish an app from the app stores
    • 🌐Web App Publishing
      • Hosting on custom domain
    • 🍏Apple App Store
      • iOS developer account
      • App Store Connect API keys
      • Link your app
      • New app record in App Store Connect
      • App privacy details
      • Edit Store information
      • Fix App publish issues
      • Push certificates
      • App Store Connect app status overview
      • App Store Review Guidelines
      • Publish app Unlisted
      • Accept updated License agreement
      • Apple App Store FAQ
      • iPad
      • Enterprise
        • Setup your Enterprise app
        • Create iOS Distribution Certificate
        • Create App ID
        • Create Mobile Provisioning Profile
        • Downloading and installing an Enterprise app
    • 🍐Google Play
      • Create a Google Developer Account
      • Setup your Android app
      • How to request a Google Maps API Key
      • Test your Android app before publishing to Google Play
      • Upload your Android app to Google Play Store for the first time
      • Update Android app (short)
      • Update an Android app (extended)
      • Data safety details on the Google Play Store
      • Sell your app in Google Play Store
      • Create Google merchant account
      • Force Store Update for your Android App
      • Authorise an additional user to your Google Play developer account
      • What if my app is suspended by Google?
  • App details
    • πŸ•΅οΈGoogle Analytics
      • Google Analytics setup overview
      • Setup iOS analytics
      • Setup Android analytics
      • Inviting a new Google Analytics user
    • πŸ”₯Firebase
      • Create Firebase project
      • Locate Firebase Server key
      • Renew Firebase Server Key
      • Register iOS app
      • Register Android app
      • Enable Cloud Messaging
      • Enable Google Analytics
      • Google Analytics via Firebase
    • πŸ“¨Push notifications
      • Setup Apple Push certificate
    • πŸ§‘β€πŸ€β€πŸ§‘User management
      • Create Apple Sign In key
      • Setup Azure Active Directory
      • Create Facebook App ID Secret
    • 🐦Twitter API keys
    • πŸ”Privacy policy
    • πŸ‘©β€πŸ”§Your Account
      • Account Settings
      • Account FAQ
      • Payment FAQ
    • πŸ“±Admin CMS
  • Developers
    • πŸ‘©β€πŸ’»JavaScript
      • Develop locally
      • SDK
        • Core
        • JS Data
        • Media
        • Navigation
        • Notification
        • User
      • CLI
        • CLI Token and Secret
        • Errors
          • CONFIG_PROPERTIES_INVALID
          • CONFIG_VALUES_INVALID
          • ENTRY_FILE_NOT_FOUND
          • OUTPUT_DIRECTORY_IS_EMPTY
          • OUTPUT_DIRECTORY_NOT_FOUND
          • TOKEN_SECRET_NOT_PROVIDED
          • TOKEN_SECRET_NOT_VALID
      • Migrate from old Custom JS
    • πŸ’»Web services
Powered by GitBook
On this page
  • Scenario 1; No Firebase configuration / New app
  • Scenario 2; Existing Firebase configuration / Existing app

Was this helpful?

  1. App details
  2. Google Analytics

Google Analytics setup overview

PreviousGoogle AnalyticsNextSetup iOS analytics

Last updated 1 year ago

Was this helpful?

There are two likely scenario's in which you'll probably find yourself if you haven't enabled Google Analytics for your Flutter app yet;

  1. You're building a new app that has no Firebase configuration yet.

  2. You have an existing AppMachine app that already has a Firebase project that is used to send push messages to your Android users.

Make sure you execute the steps from the correct scenario to prevent any duplicate Firebase projects or other issues. In this article I'll quickly explain what steps to take in the scenario's mentioned above. Most steps are discussed in more detail in separate articles if more info is required.

Scenario 1; No Firebase configuration / New app

  1. Run through the Firebase setup as shown in the .

  2. Set up the Android and iOS configs in Firebase by clicking on the "View Certificates and API Keys" option on the Publish page. Do this for both Apple and Google on the Publish page of your app: On the Certificates/API Keys page you'll want to select the option to add a Firebase certificate. Follow the instructions and remember that you can always refer back to the .

  3. Navigate to the Integrations page from the left side menu: If you're not seeing this new menu type, you may need to go back to the Publish page of your app as this will load the new interface.

  4. Enable the Firebase Analytics integration on this page.

  5. Publish your app

Scenario 2; Existing Firebase configuration / Existing app

If you have an AppMachine app that is already published, you'll also have a Firebase configuration for Android push messaging. You'll be using the Firebase project for analytics as well.

  1. Start with the steps from the following article on in your Firebase project.

  2. Set up the iOS config in Firebase by clicking on the "View Certificates and API Keys" option on the Publish page. In this scenario you only have to do this for Apple: On the Certificates/API Keys page you'll want to select the option to add a Firebase certificate. Follow the instructions and remember that you can always refer back to the .

  3. Navigate to the Integrations page from the left side menu: If you're not seeing this new menu type, you may need to go back to the Publish page of your app as this will load the new interface.

  4. Enable the Firebase Analytics integration on this page.

  5. A store update is required to push the new changes to your app. Force a store update by enabling the option in the Publish wizard:

πŸ•΅οΈ
articles here
Firebase articles
how to enable Google Analytics
Firebase articles