How to enable attendance tracking via the google calander api? - google-calendar-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.

Related

Is the GA User Activity API compatible with GA4?

Is it possible to retrieve user's data from a GA4 property using the User Activity API (https://developers.google.com/analytics/devguides/reporting/core/v4/user-reporting)?
I have checked the documentation but have not found anything so far. Some endpoints of the v4 API explicitly display a warning saying it is not compatible with GA4, but this User API does not display such warning.
no it is not as stated at the top of the page for the Reporting api Overview there for it apply sto the full Reporting API v4.
Note: This API does not support Google Analytics 4 (GA4) properties. Please use the Google Analytics Data API to access the new reporting features for GA4 properties.
As far as i can see there is no equivalent in GA4 yet.
Note: I pinged the team to have them add the quote to the top of that page as well.

Does Google Analytics 4 (GA4) have session unification?

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!

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!

Google Analytics Tracking Events

In our Google Analytics, we have a couple of events showing up that we have not set them up! By that, I mean, I haven't trigger those events from our website, neither through codes (ga.send('event')), nor through Google Tag Manager. I just can't figure out where they're populating from. To be specific, they're "Video" and "Livechat" events.
Is it possible that Analytics have ways of figuring some obvious events and track them for us?
Google Analytics does not send events on it's own. More likely scenarios are:
You are using third party integrations for video and livechat and
they include Google Analytics code that sends to your property (and
possibly others)
Someone else is using your tracking id in their site (you can check this by setting hostname as secondary dimension in your event reports)

Sending events to 3rd party domains with Google Analytics Universal

We provide an iframe-based embeddable widget to our clients and want to be able to send their Google Analytics account events based on what is happening inside our iframe. We used to be able to do this using the old ga.js with the following code:
_gaq.push(['NAMESPACE._setAccount', CUSTOMER_GA_ACCOUNT_ID]);
_gaq.push(['NAMESPACE._setDomainName', CUSTOMER_DOMAIN]);
_gaq.push(['NAMESPACE._trackEvent',"category", "event", "label"]);
This code would be fired inside our iframe, but would result in an event being pushed to the customer's google analytics account, letting them have some insight into customer behavior inside our embeddable widget. The NAMESPACE in front of the actions would keep these events separate from our GA stuff, and would prevent our GA stuff from going to their GA account. They would provide us with their Google Analytics account ID when they wanted to enable this feature.
Is there a way to do something similar with the new Universal Analytics API?
I don't seem to see a similar way to namespace actions and the cross-domain tracking documentation doesn't indicate how to send events/pageviews to two domains/GA accounts (ie we want to track pageviews on our GA account, and send the events to our customer's GA account).
I suggest going the roundabout way - set a pixel in your widget and make the actual endpoint for that pixel a script on your server that sends the data via the measurement protocol to your clients analytics account.

Resources