Login

Learning & Support

Documentation

Google Analytics 4

Twixl Support Team Updated: - Created :

    Google has phased out Google Analytics UA and replaced it with Google Analytics 4.

    More specifically:

    • If you were using Google Analytics UA, your app has sent data to Google Analytics UA until July 1st, 2023. Google says that you will be able to consult your UA data 'for some time'.
    • Going forward, it is only be possible to configure Google Analytics 4 for a Twixl app.

    How?
    To allow your app to send data to Google Analytics, follow these steps:

    1. Get Started
      Go to https://console.firebase.google.com/
      Signin with a Google Account
    2. Add a Project
      Click on Add Project.
      Choose a Project Name (e.g. the name of your app: My Magazine). You can also choose an existing Project to setup Firebase for.
      Choose a Project ID or accept the proposed one.
    3. For Android: Generate your Google Services JSON file
      In Project Settings, select the General tab.
      Add an Android app.
      Fill in the Android package name (a reverse DNS name like com.mycompany.myapp), and optionally specify an App nickname.
      Click Register to continue.
      Download the google-services.json file and save this file. You'll need it in your build setting on the platform.
    4. For iOS: Generate your Google Services Info file
      In Project Settings, select the General tab.
      Add an iOS app.
      Fill in the Apple Bundle ID (that should correspond to the Bundle ID in the build settings, a reverse DNS name like com.mycompany.myapp), and optionally specify an app nickname.
      Click Register to continue.
      Download the GoogleService-Info.plist file and save it. You'll need it in your build setting on the platform.
    5. Integrate Google Analytics in Firebase Project
      Click on the Gear icon next to ‘Project Overview’
      Select Project Settings.
      Select Integrations.
      In Google Analytics select Enable.

    Once the project is enabled, you can check in Google Analytics the project that has been created.

    After you have setup Google Analytics 4, you'll need to update your app using Twixl Publisher version 19.5 or higher to start gathering data. Only then the project in Google Analytics will gather analytics data.

    Click here for more information about Google Analytics 4.

    Was this article helpful?

    0 out of 0 found this helpful