Does the Google Analytics Embed API support the new GA4 properties? - google-analytics

Does the Google Analytics Embed API (https://developers.google.com/analytics/devguides/reporting/embed/v1) support the new GA4 properties that were just announced this month (https://www.blog.google/products/marketingplatform/analytics/new_google_analytics/)?

NO
The Google analytics embedded API actually only supports the Google Analytics core reporting API last I checked. Which was the Google analytics API v3. Which limited it a bit as you couldn't use the Google analytics reporting API dimensions and metrics that were available in v4.
The new GA4 properties can only be used from the Analytics Data API.

Related

Difference between the 3+ Google Analytics APIs

What is the difference between Google Analytics Reporting API, Google Analytics API, and Google Analytics Data API? What I need is to report on the data for a 3rd party site/account, but it sounds like all 3 of these APIs are for reporting on data. Could you advise? I've been looking through their docs and they all still sound the same.
Analytics hub is for big query.
Google analytics reporting api - Gives access to extract data from Universal analytics accounts
Google analytics api - is a little harder to nail down. It almost sounds like it gives access to extract data and and configure google analytics data. Which would imply that its management api for for universal analytics Google analytics admin api and possibly the reporting api as well.
Google analytics data api - used to extract data from Google analytics ga4 accounts
What I need is to report on the data for a 3rd party site/account
Im not sure what you mean by this. None of those are for sending data to google analytics. To send data to google analytics. you would use one of the collection options.

Why does GA4 Data API Beta version does not have metrics that available in GA Reporting API V4?

I want to calculate exitRate, dropFromPage, PageTime and pageImpression using GA4 API Beta version mentioned below Analytics Data API Overview
However I have not able to find any metric for the same in documentation.
Any Idea
https://developers.google.com/analytics/devguides/reporting/data/v1/api
But these metrics are available in Google Analytics V4
UA Dimensions & Metrics Explorer and core reporting api
The simple answer.
Why does GA4 reporting API Beta version does not have metrics that available in reporting API V4?
First off there is no Ga4 reporting api beta. Its called the Google analytics Data api and it is currently in Beta test. This api is used for access data behind google analytics GA4 accounts. It only has access to metrics for GA4 accounts.
The Google Analytics Reporting api v4 is used to access data behind universal analytics accounts not GA4 accounts.
GA4 and Universal analytics are not the same system and do not have the same metrics.
The long anwser.
The first thing you need to understand is that there is a difference between Universal analytics and Google analytics GA4.
The old Universal analytics systems can not be compared with Ga4 they are not not the same and they are not completable in any way.
Univeral analtyics
UA Dimensions & Metrics Explorer
core reporting api
So checking for your dimensions and metrics in the universal analytics UA Dimensions & Metrics Explorer is not going to tell you what is available for use with ga4.
To find the dimensions and metrics that work with GA4 ou should check GA4 Dimensions & Metrics Explorer
Remember these systems are totally different i don't think you are going to find those dimensions in GA4.
Ga4
GA4 Dimensions & Metrics Explorer
Analytics Data API Overview

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.

How to use Multi-Channel Funnels Reporting API with a new GA4 account

I am trying to use Multi-Channel Funnels Reporting API with a GA4 account, but since there is no viewid parameter in GA4 I cant call the API.
I have tried to use propertid instead of viewid but I come up to a insufficientPermissions 403 error.
I also cant find any documentation about the migration of MCF API to the new GA4.
The call i am making is to
https://www.googleapis.com/analytics/v3/data/mcf?access_token=TOKEN&ids=ga:189118519&start-date=2020-11-23&end-date=2020-11-29&metrics=mcf%3AtotalConversions%2Cmcf%3AtotalConversionValue&dimensions=mcf%3AsourcePath&filters=mcf%3AconversionGoalNumber%3D%3D001&samplingLevel=HIGHER_PRECISION&max-results=10000
You need to understand that universal analytics and GA4 are completely different systems. They can not be compared, and an api that worked on universal analytics does not support GA4
The call you are making is to the Multi-Channel Funnels Reporting API Works with universal analytics.
To my knowledge there is no equivalate yet that works with GA4 accounts
For GA4 we currently have two bata APIs, which are subject to change often.
Data api equivalent to the reporting api v4 for universal analytics.
Admin api GA4 equivalent to the management api for universal analytics
To my knowledge there is no MCF api for GA4

How much can I get with reporting on Google Adwords API as compared to Google Analytics API linked to a Google Adwords account?

I'm currently working on a reporting module using Google Analytics API (v4) linked to a Google Adwords account.
While it does manage to query data based on a selection of criteria from the Google Dimension and Metrics Explorer from a linked Google Adwords account, I am unable to query data such as Click Type Performance (the one that shows Headline, Sitelink, etc) or Ad Extension Performance from Adwords through the GA API.
I do know that Google Adwords API is able to provide reporting functionality as well but is the API thorough enough to pull data such as Click Type Performance and Ad Extension Performance?
In other words, what does Google Adwords reporting API provide that GA API linked to a Google Adwords account can't do?
The Google Analytics is a website for displaying analytics about web and mobile applications. Google Adwords is is an online advertising website. they are two different systems.
The Google Analytics API can only return to you Google Analitcs data. That being limited to the dimensions and metrics found in the Google Dimension and Metrics Explorer.
The Adwords API can only return to you data for adwords.
What does Google Adwords reporting API provide that GA API linked to a Google Adwords account can't do?
Adwords returns analitics based upon the ads you are currently running. Google analytics api returns your website analytics data.

Resources