How to implement Firebase Analytics implementation for AppleTV (tvOS)? - google-analytics

Currently, we have implemented Google Analytics for AppleTV (tvOS) via Measurement Protocol i.e. using batch end point Google Analytics - Measurement Protocol. Now, Google Analytics is sunsetting. Alternative as suggested by Google is Google Analytics for Firebase. But, that implementation is for Mobile Platform.
Does anybody know any workaround that I can use on Firebase Platform in order to report analytics from tvOS using some sort of Firebase API?

unfortunately, there is no good news about Firebase Analytics support for tvOS. They don't plan to support it in the near future. Although, there is a community works which make some of Firebase services available for tvOS, you can take a look here: https://github.com/firebase/firebase-ios-sdk#community-supported-efforts.

Related

How do I create audiences in Google Analytics 4 using an API?

Google Analytics 4 allows new custom audiences to be created:
I want to do this programmatically through a web API, but I can't see any documentation. Is it possible to create audiences in Google Analytics 4 using an API?
Google have confirmed that "the creation of audiences is not yet supported in Admin API" and have raised a feature request. They've not given a timeline for implementation but suggested following the Google Analytics API Notify group for future updates.
I need to remember that even after this feature is implemented in the GA Admin grpc API, it will also need to be supported in the .NET client library that I'm using, so there will take some additional time.
Not sure when added, but...
Web API:
https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/properties.audiences/create
.NET client:
https://googleapis.dev/dotnet/Google.Analytics.Admin.V1Alpha/latest/api/Google.Analytics.Admin.V1Alpha.AnalyticsAdminService.AnalyticsAdminServiceClient.html#Google_Analytics_Admin_V1Alpha_AnalyticsAdminService_AnalyticsAdminServiceClient_CreateAudience_Google_Analytics_Admin_V1Alpha_CreateAudienceRequest_Grpc_Core_CallOptions_

Retrieve GA3 and GA4 data with same API?

So we are using Reporting V3 API in our custom dashboard to retrieve custom reports from multiple GA properties. Now some of our customers have GA4 properties which doesn't show up in properties list. Question is, to support both versions (GA3 and GA4) the only alternative now is to use Reporting V3 and Data API for different properties or did we miss something and there's one API which can be used for both GA versions?
There are two versions of Google analytics now Universal analytics and GA4 they are completely different and have different APIs designed for each one.
Google analytics reporting api allows you to access data from Universal analytics accounts.
Google Analytics GA4 is a completely different system and is not supported by the reporting api to access data behind a GA4 account you will need to use the Google analytics data api
there is also the Google analytics admin API which is the equivalent for the Management api for GA4. so if you want to be able to list a customers GA4 accounts you will need to use that api as well.
Note: The admin api is currently in alpha, and the data api is currently in beta. Take that into account before developing production applications using these apis.

Google Analytics Reporting API V3/V4 compatibility with Google Analytics 4 (GA4)

Today we use Google Analytics Reporting API V3 (core reporting API v3 using java SDK google-api-services-analytics-v3-revxxxx.jar) in our system to connect and get data from Google Analytics. For this, we need properties that are based on Universal Analytics (UA-xxxx). We use the service account approach for connecting to Google Analytics and fetching data.
From looking at the information available at https://developers.google.com/analytics/devguides/reporting it seems that we cannot use the v3 API with the new GA4 properties and we would have to use Data API V1. Is this correct? Any information around this would be helpful.
Yes, the data model of GA4 is completely different from that of Universal Analytics for which dedicated APIs are required.
To date, GA4 is still young and constantly evolving so many new improvements and features will come out in the near short future also from a programmatic point of view.
Anyway you can still create a Universal Analytics Property by 'show more option' button when you create a new one.

Difference between Google analytics and Firebase analytics

I've been searching on the internet for the difference between Google Analytics and Firebase Analytics, with little to no success.
Could anyone help me understand how they are connected? Are they even connected or are they absolutely separate services? Is Firebase Analytics based on Google Analytics?
I would really appreciate if someone could help me wrap my head around this. Thanks a lot. ;)
Google Analytics is a web analytics service offered by Google. Google analytics requiers that users add a js tracking code to their website in order to send page hits to Google Analytics. Google analytics also supported mobile analytics though android and IOS sdk's which sent Screen hits to google analytics. There was a difference between Mobile and web google analytics accounts.
Firebase is a platform developed by Google for creating mobile and web applications. Firebase introduced Firebase Analytics which would allow for analytics across Firebase applications. Analytics was preformed on the usage of the firebase account and applicatons running on it.
Google analytics GA4 as of writing was very recently released. GA4 allows for analytics across both web and mobile applications. Using again a snippit. Its worth noting that GA4 tracking methods is vastly different from Google analytics even the property types are different, the management api, and the metadata api.
The main difference between Google analytics and Firebase analytics is that they are two different applications. Each application measures difffent things.
Although it is early days it is now possible to link GA4 and Firebase, this blurs the lines between the two systems. This is still alpha and as of writing it has yet to be seen how well this will work.
Found this article super helpful: https://medium.com/firebase-developers/google-analytics-vs-firebase-analytics-vs-google-analytics-97ca645a8aff
My understanding from it is that Firebase Analytics became Google Analytics for Firebase which is now Google Analytics 4. The original Google Analytics was useful for tracking website analytics, but not designed for app analytics. This is where Firebase Analytics came in. Now, the most recently released Google Analytics 4 measures BOTH website traffic and app usage.

How to enable Advertising Features with Google Analytics API?

We couldn't find any code on Google Analytics Developers about how to enable Advertising Features for acccountId. Is it possible to make such request using API? If this isn't possible then gapi.client.analytics.management.remarketingAudience.insert({ seems pretty useless because you still need to do it manually. Any solution?
The API you mentioned is to create an audience segment.
You can't enable advertising features with API. You can enable it in Google Analytics interface or modifying code (in page or in GTM).

Resources