Login

Learning & Support

Documentation

Google Analytics 4

Twixl Support Team Updated: - Created :

    Google has decided to phase out Google Analytics UA and to replace this by Google Analytics 4. Starting with TP 19.0, Twixl will support both systems until Google ends UA support (planned for the end of June 2023).

    More specifically:

    • If you are already using Google Analytics UA, your app will continue to feed data to Google Analytics UA until Google stops receiving data to UA. Google states that you will be able to consult your UA data for some time after new UA data will no longer be accepted. But obviously, we recommend that you configure your app to use Google Analytics 4 asap and at the latest before June 30th.
    • If you haven’t used Google Analytics UA yet, it will only be possible to register for Google Analytics 4.
    • If you create a new app on the Twixl platform, it will only be possible to enter Google Analytics 4 information.

    How?
    First of all, Google Analytics needs to be configured for the web, not for iOS or Android. To allow your app to send data to Google Analytics, we need 3 values from your Google Analytics setup:

    1. Measurement Protocol API Secret
      In Google Analytics, go to Admin (gear icon) -> Data Streams -> Use an existing web stream or create new web stream (the "Stream URL" of the Web Data Stream protocol that needs to be filled in is not important and is also not linked to e.g. enabling browser client) -> Measurement Protocol API secrets -> Copy/Create API Secret
    2. Measurement ID
      Go to Admin (gear icon) -> Data Streams -> Use an existing web stream or create new web stream -> Copy MEASUREMENT ID
    3. Stream ID
      Go to Admin (gear icon) -> Data Streams -> Use an existing web stream or create new web stream -> Copy STREAM ID

    Now that you have these three values, go to the main window for your app on the Twixl platform, click 'Edit Application', and enter these values in the Google Analytics 4 section (see screenshot below).

    With Google Analytics 4, the values are the same for iOS, Android and the browser, as this is handled by Google Analytics 4 itself.

    After you have setup Google Analytics 4, you'll need to update your app using Twixl Publisher version 19 or higher to start gathering data.

    Click here for more information about Google Analytics 4.

    Was this article helpful?

    0 out of 0 found this helpful