API access to Google Analytics Content Grouping dimensions? - google-analytics

Does anyone know if it is possible to access the Google Analytics Content Grouping dimensions via the API?

It works now, you can see here in the Dimensions & Metrics Reference:
https://developers.google.com/analytics/devguides/reporting/core/dimsmets#view=detail&group=content_grouping

No, don't think you can yet.
It's not listed on their Dimensions & Metrics Reference
https://developers.google.com/analytics/devguides/reporting/core/dimsmets

Related

Linking Google Optimize Container to Google Analytics 4 Property

I'm trying to setup a Google Optimize Container for A/B testing + other. The issue I'm having is that I definitely need to link to Google Analytics in order to measure results. When I try and link to a Google Analytics property for this only the Universal Analytics properties I have (which I don't actually use) show up, but not the Google Analytics 4 property I'm actually using. Am I doing something wrong? Is the connection not actually implemented yet by Google?
TL;DR: Google Analytics 4 Properties don't show up as linkable in Google Optimize Container.
follow this step:
create a new property in. google analytics
Click on show advance
Activ Create a Universal Analytics property
Add your website address
Create both a Google Analytics 4 and a Universal Analytics property
UPDATE 2021/04/06:
Trying to link it in Google Optimize says Coming Soon. Looks like we just have to wait.
GA4 is not supported. As of right now you can't link a GA4 property to Google Optimize.
GA4 is not on this list https://support.google.com/optimize/answer/6315871?hl=en
This thread: https://support.google.com/optimize/thread/80704065?hl=en
I was able to get around this issue by adding an additional property to my GA4 account. You have the option during the creation process of the GA4 account to provide support for both GA4 and universal analytics. You can also add the support after the fact as well... just go into your admin section of Google Analytics and create a new property. After that, you will be able to connect Google Optimize and your GA4 account.
I believe #Kenneth Durrum was referring to creating a "Universal Analytics property" instead of a GA4 property. You can also create both as mentioned by #mohammad hossin rouhani, but Google Optimize will only work for the Universal property. Please refer tho the image below for selecting the Universal property on Admin console. (Added this as an answer since i was not able to attach the image on Kenneth's comments).
If you create a new Universal Analytics property, you can link it to your existing GA4 property under Admin > GA4 Setup Assistant

Google Analytics Api landingPagePath dimension for mcf not supported yet

I can use 'landing page URL path' dimension in google analytics reporting Multi channel funnels as you can see in the attached image
but i can't through the api, because its not mcf dimension according to the dimensions list
https://developers.google.com/analytics/devguides/reporting/mcf/dimsmets/
So will it be supported soon? and is there any workaround solution?
Thanks in advance

How do you get custom dimensions from Google Analytics reporting API?

The new 2.0 mobile API no longer supports custom variables, and states that you need to use custom dimensions.
https://developers.google.com/analytics/devguides/collection/ios/v2/migration?hl=en
That is all fine and good, but there is no obvious or documented way to get those custom dimensions out of the core reporting API 3.0.
https://developers.google.com/analytics/devguides/reporting/core/v3/reference
We have users that are mobile and web and we need to get all of our data out no matter what device. How can we get CUSTOM DIMENSIONS out through there?
http://ga-dev-tools.appspot.com/explorer/
just request "dimension1" or similar name. You can get it in code examples in admin section / custom defenitions.
Google has added support for this.
http://analytics.blogspot.com/2013/07/40-new-data-points-in-google-analytics.html

Targeting Sources With Google Analytics Experiments

I am curious if Google Analytics Content Experiments supports targeting based on the traffic source, in particular, certain Google Adwords campaigns.
For example, I have two Adwords campaigns pointed to the same destination url but would like a Content Experiment to only run for one of these two campaigns.
Even targeting the experiment based on the referring url would be helpful but I don't see an option to do so when setting up the experiment. Does anyone know if this is possible through the set up, or if I would need to create some kind of gateway that my campaigns funnel through and then get routed to the experiment URL based on the source?
Thanks!
Google does not currently provide this function by default.
I'd try https://www.optimizely.com/ (easier) and/or patching up custom bucketing code (more difficult)

Can you use the google analytics API to create the same type of graph as on your google analytics dashboard?

I'm curious to know if there is an easy way to creat a similar graph to embed google analytics into our cms for clients pages, so that they can see the same type of chart that google has on there analytics dashboard.
What exactly do you want? If you want to use data collected by Google Analytics, you can use its' Google Analytics Data Export API.
Yes - check out embeddedanalytics.com. You define the chart (metrics, dimensions, type) and simply embed a snippet of code into your site.
Disclosure: I work with embeddedanalytics.

Resources