Does Google Analytics 4 (GA4) have session unification? - google-analytics

Universal Analytics has a setting (toggle) to enable session unification. This allows for events fired prior to the user logging in to be associated with that user's session. (During log in the Custom User Id (uid) is provided to enable this.)
However, I am unable to find this feature on Google Analytics 4 (GA4). Is this feature enabled by default? Or is this no longer supported? I have read almost all GA4 documentation, but unfortunately it is still pretty limited at the time of writing this.
Thanks!

Related

How to enable attendance tracking via the google calander api?

I'm using the google Calendar API to create events, with Google Meets enabled. Looking at the docs, i'm not seeing a way to enable attendance tracking via the API and wondering if anyone has been able to figure that out. They are enabled on the enterprise org, but seems they have to be manually enabled via the GUI for each meeting, and when I pull the event info via the Calendar API, there does not seem to be any indication that attendance tracking is enabled.

GTM consent mode Google analytics not tracking pageviews without consent

we have recently implemented cookies consent mode in Google tag manager. Pageviews in google analytics (both universal and GA 4) dropped to about 4 % of the original page views.
When I visit the web page without giving any consent some requests to google-analytics.com still appears in network tab. This tells me something is still tracked. No cookies are saved as expected.
Do you have a different experience? Should GA track pageviews anonymously even without consent or it this a correct behavior? Why would analytics script send any requests if it not appears in GA?
It is expected that you see requests to Google Analytics. However in consent mode you should not see _ga cookies being set (or existing _ga cookies being used). That's basically what consent mode is, cookie-free tracking. You should also see a parameter gcs=100 in the GA request to confirm that consent mode is indeed active.
However these requests are not surfaced in the reports (there would be no point, since without user identifier you cannot create sessions). Apparently they are being used for some sort of Machine Learning thing in the background, but I don't think this has much effect on the analytics part of GA (afaik this is more for Google Ads and GA audiences).
So yes, seeing requests in consent mode is normal (if this helps in any way with GDPR compliance etc. in entirely another matter). If you do not run campaigns and do not hope for an uplift via ML models applied to consent mode data, then you probably do not need to bother and can just disable the tags if no consent is given.
It happens because you have to set ad_storage and analytics_storage as denied by default in initialization code, like described in the documentation (in the example only ad_storage is denied, just add analytics_storage too): https://developers.google.com/tag-platform/devguides/consent#implementation_example

How to implement Google Consent Mode via GTM?

I have a beginner question regarding Google Consent Mode implementation.
I'm installing GCM for the very first time for a client. This client uses Axeptio as CPM.
If I understand correctly, GCM will sent anonymous cookie less data to GA if a user doesn't or hasn't yet given consent. This will allow us to get page views and conversion data.
I read through Axeptio's documents:
https://developers.axeptio.eu/v/francais/cookies/gtag-et-google-consent-mode
https://www.axeptio.eu/post/utiliser-le-google-consent-mode-avec-axeptio
And through articles from Simo Ahava and Google's instructions:
https://www.simoahava.com/analytics/consent-mode-google-tags
https://www.simoahava.com/analytics/consent-settings-google-tag-manager
https://tagmanager.google.com/gallery/#/owners/gtm-templates-simo-ahava/templates/consent-mode
https://support.google.com/tagmanager/answer/10718549
But I'm still having trouble with the implementation. This is where I'm at so far :
I've enabled "Enable consent overview" in the Admin panel in GTM
I installed the HTML code given by Axeptio via GTM (triggered at Consent Initilisation)
I set all the GA tags to "No additional consent required"
I'm not sure what to do next. 
How do I verify that my settings are working? i.e. not give consent and see if my tags are still firing and data is being sent to GA?

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!

How to track dropout on first screen before tracking consent

It is known that users must explicitly consent the use of tracking tools like Google Analytics, Firebase etc. by the app, I am wondering if it possible to track dropouts on the first screen since as I understand analytics tracking can only be activated once the user allowed this when starting the app for the first time. I would like to know if there are users that exited the app on the first screen before consenting the tracking and decided to uninstall the app after that.
Google Analytics for Firebase provides an API for disabling Analytics collection temporarily before getting a user consent
setAnalyticsCollectionEnabled(true);
You can log this as a event with int parameters 0 and 1 (or any other way you may want). Basically giving you the control and visibility of what you are looking for here.

Resources