Learn business growth with Google Analytics 4 Forums Google Analytics 4 Expiration Date for Google.Apis.Analytics.v3?

  • Expiration Date for Google.Apis.Analytics.v3?

    Posted by Eli on 13 June 2022 at 10:04 am

    How about if I phrase it like this:

    I’ve been working with a code implementation to read data from UA and have some concerns and questions about its potential performance. The code as it stands is:


    The points I’m unsure about are:

    1. Given some shifts in technology and updates, is it possible that this code might stop working by July 2023?
    2. I’ve already connected my UA to GA4 using the GA4 Setup Assistant in April 2022 and my GA4 has been retrieving metrics from that time onwards. In this context, would the continued connection of my UA to GA4 via the GA4 Setup Assistant be compatible with this code?
    3. There’s an option to make an adjustment and use the Google.Apis.AnalyticsReporting.v4 instead. If I decided to use this package instead, could I still make use of the View ID of my UA, even after July 2023?

    Additionally, I created this prototype (which still requires a View ID), but GA4 doesn’t have a View ID. As a workaround, I used the View ID from my UA (I should also mention that my UA is connected to my GA4). Do you think this kind of implementation would still work when July 2023 comes around or should I consider changing to a different implementation?

    Here’s the prototype code:


    Oliver replied 11 months, 1 week ago 3 Members · 2 Replies
  • 2 Replies
  • Huong

    13 June 2023 at 9:34 am

    You have expressed several concerns about your code implementation that reads data from UA and how future updates and changes may affect it. First, you’re worried whether the code would cease to function by July 2023 due to technological shifts. Secondly, you’re wondering whether having your UA connected to GA4 with the GA4 Setup Assistant, which has been running since April 2022, will be compatible with your current code. Thirdly, you also ponder if using Google.Apis.AnalyticsReporting.v4 as an alternative would allow you to still use the View ID from your UA beyond July 2023.

    Additionally, you’ve brought up a concern about a prototype you built that needs a View ID, which GA4 doesn’t have. You’ve worked around this by using the View ID from your UA, which is also linked to your GA4. You’re uncertain whether this workaround will continue to function when July 2023 arrives, leading you to question if you should shift to another implementation.

    For the experts to provide a more detailed response, please provide your existing code and the prototype code you’re referring to.

  • Oliver

    29 June 2023 at 5:39 pm

    It sounds like you have concerns about the continued functionality of your code which reads data from Universal Analytics (UA) and its compatibility with Google Analytics 4 (GA4) given technology updates and changes, particularly beyond July 2023. You’ve taken measures to connect your UA to GA4, which started retrieving metrics from April 2022, and question whether your current code will remain compatible with this connection. You’re also contemplating switching to another package – Google.Apis.AnalyticsReporting.v4, and whether you’ll be able to still use the View ID of your UA in this case.

    Another notable concern you’ve raised pertains to a prototype you’ve created. This prototype depends on a View ID, but GA4 doesn’t provide a View ID. So you’ve used a View ID from your UA, which is connected to your GA4. It’s unclear to you whether this approach will still function by July 2023 or whether a switch to a different implementation would be more appropriate. To get the most accurate assistance and advice, it is highly recommended to provide the code and prospective prototype code in your inquiries.

Log in to reply.