I'm tracking data associated with an event, for this I put a parameter of programProgress(0 - 1), I created this in the Firebase console as a custom metric.
When I check the console all I see is a graph(attached) of what seems to be the average, no segmentation(like custom dimensions), no explanations. I've gone through multiple documentations and haven't found an answer.
Questions:
Is this graph an average of all data collected, what's the formula?
Is there a way to segment it(preferably in the console) and see amounts for different values i.e. 20 hits for 0.3, 40 for 0.4 etc
Is there a way to segment and see values for different custom dimensions i.e. 30 hits of 0.9 for x dimension(preferably in the console)
Thanks
I believe the easiest way to achieve what you're looking for would be to go into the Google Analytics (GA4) console directly and using the Segment Comparison feature in either the User Explorer or Cohort Explorer techniques.
You can build segments using the programProgress parameter and create multiple for each range you want to specify.
Related
I have a user based segment created in GA that is working as expected. However, with user based segments, one can only apply a maximum date range of 90 days to the report.
This is as per their documentation (Limits on segments): https://support.google.com/analytics/answer/3123951?hl=en
Is there a workaround this? I have a use case where I would want to apply the user based segment over a date range of ~1-2 years to get a better sense on the trend over time.
If I re-create the GA report in Google Data Studio - is there a way to apply this user based segment over a longer date range?
Thanks!
No there's no option for extending 90-days reporting timeframe. The only solution is to get user-level data through the Reporting API and process them within 3rd party software. However, to do that you'll need some custom tracking implemented beforehand.
I am trying to obtain session data from the Google Analytics API (v3), however am getting some very strange results.
If I use the ga:sessions measure and ga:dateHourMinute dimension; I am able to obtain correct results.
However - if I add ga:mobileDeviceInfo as another dimension to the query, I receive a reduced dataset (based upon total of ga:sessions)
Is anyone able to assist?
It appears that non-mobile devices (rather than populating ga:mobileDeviceInfo as null) will be excluded from the results when including this dimension. This does not appear in the documentation.
I'm trying to determine how to calculate the average page depth for all sessions, daily, for a range of dates. I know that GA has a dimension named ga:pageDepth, but this is not the average page depth. This just returns the number of sessions that had a page depth of 1, and 2, and 3 etc. What I would like is something returned like this:
December 1, 2015: 10
December 2, 2015: 9
Where 10 and 9 represent the average page depth for all sessions.
I've been using the Google Analytics API (Query Explorer) but cannot find a way to do it.
Looks like this would be a good job for a calculated metric - that's a relatively new feature in GA that allows you to create your own metric from existing ones.
Go to your account, admin, view settings, calulacted metric, formatting type "float" and formula "{{Page Views}} / {{Sessions}}" (or whatever, there is an autosuggest feature for all metric names you can use). For use with the API there is an "external name" field (which will default to the name field in the name field with the calcMetric-prefix). In the interface this is available instantly after you created it (so it obviously works on historic data), however I'm not sure it will show up in the query explorer (I created a test metric 10 minutes or so ago and I don't see it in the query explorer. However API use is explicitly mentioned in the docs, so it should be available).
In my accounts this is still marked as "beta" so I'm not sure it's already been rolled out to all GA accounts.
Just use the Pages/Session metric. It's already there....
I am fetching my data from google analytics core api. I came to know that we can fetch only 7 dimensions using api, But here I need to fetch more than 7 dimensions with correct metrics. Is there anyway (other than using paid google analytics) to fetch more than 7 dmensions with correct metrics from google analytics.
If not, then is there any mathematical formula through which we can find intersection of dimensions fetched using 2 different dimensions having one dimension in common.
Thanks
The only way I have found around the 7 dimension limit is to be creative with filters. It will mean that you are sending more queries to the server, but if you aren't worried about your quota limit then its doable.
Example: ga:visitorType only has two values. New Visitor, Returning Visitor
So you could run a query with your 7 dimensions. Then add A filter ga:visitorType=New Visitor then run the same 7 dimensions with a filter added of ga:visitorType=Returning Visitor
Bingo you just got an 8th dimension.
Again you need to be a little careful because you are going to increase the number of queries you run by each value of dimension you are doing creative filtering on. I wouldn't recommend doing it with say ga:landingPagePath because the number of landing pages you have is to big. You will end up running too many queries. But there are a few you can do this with. ga:isMobile, ga:deviceCategory, ga:date. Just remember the more creative filters you add the more queries you end up running. I had one where I ended up expanding it to 80 requests just to get the data back I needed. Scary but it worked.
If you have specific dimensions that can be used to identify a session at a specific time (e.g. a session ID and browser timestamp), you can execute multiple queries then patch them together.
I built a python program that will do exactly this: https://github.com/aiqui/ga-download
This program can bring together multiple groups of dimensions, so that any number of dimensions can be downloaded and combined into a single CSV file.
I have a website, and want to use the Google Analytics API to give me data that only includes visits with a specific goal completion (say goal 2). I'm trying to use the ga:goal(2)Completions metric in a segment to get this data like this:
segment=dynamic::ga:goal(2)Completions!=0
However, whenever I try this in the Query Explorer I'm told this is an invalid segment value. I don't see goal(n)Completions as a disallowed metric for use in segments in the documentation (https://developers.google.com/analytics/devguides/reporting/core/v3/reference#segment), so what's the problem here? Is there a different way to get this data segment?
It is because of
you shouldn't use "segment="
(n) value should be with out brackets.
ids= ga:XXXXXXXX
start-date= 2012-01-01
end-date= 2012-01-31
metrics= ga:visits
segment= dynamic::ga:goal2Completions!=0
I have tested and the sample above should work fine.
And if you want to do the opposite use
segment= dynamic::ga:goal2Completions==0
You can double-check it by running the query without segmentation - both above should sum up the the latest one.
Cheers