Firebase Limitation overcome in GA - firebase

In Firebase, It consists of several ​events ​which are sent along with additional ​key parameters​, some of those events contain around 30 key parameters and even more.
For Google Analytics this is not an issue since an event can be set up to be sent with 200 custom dimensions, nevertheless we are now required and forced by Google to use ​Firebase for apps, Firebase has a limitation of 25 parameters per event.
How do we proceed in case we only care about Google Analytics data.
Based on the solution of the above, what would happen in Firebase events?
Is there a way to have the events sent to Google analytics as well as Firebase ​without
causing any changes in Google Analytics? ​If so, how!?
Some of the events are reaching Firebase but not Google Analytics,
what could possibly be the reason, how should someone start an investigation?

Related

How to send Server-originated events to Google Analytics 4 today?

What is a reliable way to send server-originated events (like purchase and refund) about specific mobile app users to Google Analytics 4 today?
As far as I can see, GA 4 Measurement protocol is still in the alpha stage. I've tried to implement it, however, it does not work (events sent to it are available in Realtime Dashboard and in intraday BigQuery table but they are not present in the daily dump of BigQuery and in the Google Analytics dashboards. Recently even this stopped working and I can't see any events nor in BigQuery neither in Realtime Dashboard.)
Also, there is a feature called Google Tag Manager Server Container.
I've found there a way to send events to GA4. However, it seems that GA4 Tag supports only events which were collected from web pages (it has Measurement ID parameter only, which corresponds to a specific data source in Google Analytics), but does not support mobile apps.

How can I fetch the number of pageviews per page on my site in the last 30 minutes with google analytics?

I would like to add a "what other people are doing" section to my react website, which shows the currently most interesting sections of my website using google analytics. This means I would need fetch the most popular pages every 30 minutes from google analytics from within my pages backend, presumably using the realtime api, because I know that the reporting of the reporting API can be up to 24 hours out of date.
But unfortunately, the realtime API seams to only be able to track users that are using the page currently, and there doesn't seam to be a way to distinguish which actual page there on.
Basically what I need is a way to figure out how many individual people (not just people refreshing over and over again) have visited a certain section of my page in the last 30 minutes. Google analytics seams to be the way to go but I'm open to any other solution, as long as it can be used from within the aws cloud.
What you need to remember is that the Google Analytics website also uses the Google Analytics API. If something you want to see can be done on the website for the most part you can also do it with the api, with the exception of a few of the calculated metrics which can be a bit tricky to duplicate with the API.
The reporting of the Google analytics Reporting API takes between 24 - 48 hours to process your data until that time your data will not be completed processing so the numbers will not be correct.
The google analytics real-time api would be an option but the data is limited into how long it stays around as well is what dimensions and metrics you can actually view as they are only giving you access to what they are sure has completed processing.
An issue with both of these solutions would be the quota, every view on google analytics is only allowed to make 10k requests per day. You will need to ensure that you stay within this so if you are only requesting data every thirty minutes around the clock you should be able to keep this to around 48 calls but its wroth noteing.
IMO Google analytics is not suited for this task you should keep a running count on your own website store it in the database and use that.

How to store firebase analytics data offline for more than 72 hours?

I am using Firebase for analytics and I have enabled firebase persistent storage which helps to send the analytics events to firebase when the device comes online but the limitation is it only sends 72 hours data to Firebase analytics.
I want firebase to get at least offline analytics data of the last 10 days.
Can I achieve this by storing this analytics event in core data when the device is offline and send this event to firebase when the device is connected to the internet?
Or is there any alternative way to achieve this?
I only want to send the event name and timestamp of the event.
You can probably do something to store the events locally, but it'll be finicky and error prone.
When storing the events yourself and then submitting them when the device is online, I see many potential problems. Off the top of my head:
There is no API to track the lifecycle of Firebase's built-in purging of analytics event. So you have a decent chance of events being logged twice.
You can't backdate the events, so any events you fire upon reconnecting are going to show up as having happened then.
You're likely going to miss events that Firebase logs automatically. You could probably compensate, but at that point you're almost building your own Analytics solution.
Honestly that is some of the potential problems, and you're likely to encounter many more. I'd seriously consider if the effort is really worth it, or if you'd be better off picking another solution.
Some solutions that come to mind:
Log your own events directly to BigQuery. Then merge then with Firebase's exported Analytics events, and deduplicate the results.
Pick an analytics provider whose API meets your requirements directly.

Google Analytics Measurement Protocol events sent via REST API are not seen on the dashboard

I am trying to use the Google Analytics Measurement Protocol to record some events happening on my server-side code. I am using the REST API as suggested here but I don't see any events on the Google Analytics dashboard.
When I try to add the event via the Google Analytics Hit Builder, then I am able to see that event in the dashboard.
I don't think any authentication is required while using the REST API and only a correct tracking ID is required which is present. I have confirmed that the POST request is not failing.
I am looking at the Realtime > Events to check whether the events are pushed or not. Is there a place where I can check the historical data to see if the events are present there.
Thanks!

Firebase analytics to Google analtyics (GTM) Events and Users counts

Experts,
I've few questions around Firebase Analytics and Google Analtytics.
I've used GTM containers to pass custom events from firebase to google analytics - it works fine. However,
- number of events that I see in Firebase console is different than Google analytics. Would you know why?
- Similarly, number of users in firebase console is different than google analytics - would you know why?
GTM TAG EVENT SETUP
Thanks .
I have implemented Firebase and GTM as well and the event counts and number of users for the last 7 days were not exact, but quite similar (off by 50 out of 7500 for users).
Some screenshots of the numbers would help and also screenshots of GTM tag setup.

Resources