I get codes from a referral url that I place into a custom dimension when calling Universal Google Analytics which works with everything like Geo etc, but doesn't work with demographic data like Age in Analytics. Does anyone know how to make that work?
Working example:
My guess is that the scope of your dimension and age does not match
since age is a user level metrics it only allows user level custom dimension with it.
Hope this helps,
Cheers Analytics ML
Related
I'm trying to figure out if this works. Unfortunately I do not have a website to test this with. Though I've read the GA and GAds documentation I'm not sure if this is possible. So please bear with me.
Imagine a simple website that has Google Analytics (with a linked GAds account) deployed. I want to run a survey on this site users can answer if they like to. As the result of the survey the participants are assigned some ID. Lets say the result variable is called cluster and the values are A, B or C.
What I want to do now, is use this group of participants of the survey and try to target new visitors that are similar to the ones that have been assigned a C value via Google Ads.
As far as I understood the documentations this is how it could be done. Please correct me and point me in the right direction if I'm wrong.
I'm setting up a custom user dimension called Cluster in GA
I'm editing the GA code on the website to include the custom dimension that will be populated with the result of the mentioned survey
When the results come into GA, I'm creating a remarketing audience in GA called Cppl based on the custom dimension Cluster
I'm importing this Cppl remarketing audience into GAds
I'm creating a similar audience in GAds based on Cppl list
I'm publishing a campaign based on this similar audience
Does this process make sense and is it correct or am I making any mistakes?
It makes sense to me, once you have defined the segment you need in Google Analytics you can use it for remarketing in Google Ads.
I am trying to get Analytics goal conversions and goal names with BigQuery, but it seems this must by defined by myself. How can I define this in BigQuery? Could someone provide me with a query example or guide?
Thanks a lot!!
The goals configured inside of Google Analytics are not stored in BigQuery and will need to be computed from scratch.
You will need to make a query based on the fact that the goal is generate it is, for example, by event or thank you page, so you need to recreate the calculation of the same according to how you have configured them in Google Analytics Admin section.
I'm doing some complex reports for google analytics and would like to ask you if the following is possible. The client wants to have just organic data for a bunch of metrics. Like pageviews, visitBounceRoutes, etc. The query I ended up with is the following:
https://www.googleapis.com/analytics/v3/data/ga?dimensions=ga:source,ga:medium,ga:keyword,ga:day,ga:month,ga:year&end-date=2013-11-20&fields=columnHeaders/name,rows,totalResults,totalsForAllResults&filters=ga:medium==organic&ids=ga:79067749&metrics=ga:pageviews,ga:pageviewsPerVisit,ga:visitors,ga:avgTimeOnSite,ga:newVisits,ga:visitBounceRate&start-date=2013-10-20
However the response is as follows:
'{"totalResults":0,"columnHeaders":[{"name":"ga:source"},{"name":"ga:medium"},{"name":"ga:keyword"},{"name":"ga:day"},{"name":"ga:month"},{"name":"ga:year"},{"name":"ga:pageviews"},{"name":"ga:pageviewsPerVisit"},{"name":"ga:visitors"},{"name":"ga:avgTimeOnSite"},{"name":"ga:newVisits"},{"name":"ga:visitBounceRate"}],"totalsForAllResults":{"ga:pageviews":"0","ga:pageviewsPerVisit":"0.0","ga:visitors":"0","ga:avgTimeOnSite":"0.0","ga:newVisits":"0","ga:visitBounceRate":"0.0"}}'
Can the dimensions ga:source,ga:medium,ga:keyword be mixed with the above metrics? It seems they can't since if I omit them the API returns an array of values 1 per each day within the specified range.
Where can I find more information about this and what categories are mixable? https://developers.google.com/analytics/devguides/reporting/core/dimsmets just shows all the available metrics but do not explains how they are combined and which one would be valid requests. I'm new at the analytics API and would be great any kind of help or guidance
Thanks a lot
Google Analytics Query Explorer is your friend for playing around with analytics dimensions/metrics/filters ;-)
Try http://ga-dev-tools.appspot.com/explorer/?dimensions=ga:source,ga:medium,ga:keyword,ga:day,ga:month,ga:year&metrics=ga:pageviews,ga:pageviewsPerVisit,ga:visitors,ga:avgTimeOnSite,ga:newVisits,ga:visitBounceRate&filters=ga:medium%253D%253Dorganic&start-date=2013-10-20&end-date=2013-11-20&max-results=100
Some thoughts:
Those dimensions & metrics should work -- maybe there was no organic data recorded during that time range?
Try removing the ga:medium==organic filter and see what your data looks like.
Does the profile you're using (ga:79067749) have any filters on it? If so, maybe try a different profile that has unfiltered data. (Analytics best practices -- make sure you have a profile with no filters applied that captures all data.)
As Mike said, there is no problem with the combination of metrics and dimensions you are using.
If you are entering the URL query directly in the browser problem might be the lack of URL encoding in your query string. For example, you need to convert == to %253D%253D
For example, instead of ga:medium==organic, you need ga:medium%253D%253Dorganic
If you build your query in the Google Analytics Query Explorer as Mike suggests, you can grab the direct link to your report by clicking the link symbol in the upper left:
I'm trying to track the success of marketing campaigns through conversion on a portal. The portal is largely JS based and for right now we can't use URL goal tracking. Instead, I'm planning on using event-based goal conversion that can report all the variables I need. The problem is how do I connect marketing campaigns to the eventual conversion? These campaigns span SEM, email, landing pages, partnerships, etc.
My initial idea was to use a URL param to set a session-level custom variable identifying the marketing campaign that funneled the visitor, and then to compare this to goal conversion. However, I'm not sure custom variables can even be compared to goal conversions in Google Analytics -- and I'm worried that I might be over-thinking this.
I'm worried I'm way over-thinking this. If I create a custom campaign using the URL Builder, will that give me everything I want, allowing me to track campaign conversions?
Yes, I think you are over-thinking things. :-)
As long as you properly tag the campaigns using the utm variables in your destination URLs as they show you how to do in URL builder, they should allow you to see your specific goal conversions by source, medium, campaign, etc. in your GA profile. Using the new Multi-Channel funnels features you'll also be able to see how the sources of previous visits influence future conversion behavior as well.
Generate help with campaign conversion tracking here: http://blog.crazyegg.com/2011/12/02/track-conversions-google-analytics-campaigns/
Info on Multi-Channel funnels here: https://www.google.com/analytics/features/multichannel-funnels.html
I was able to setup Google Analytics to send custom variables that I can track.
I'd like to generate a report with UserId / Value and Display all of the pages
that user viewed. (Similar to reports I have seen with IP address on one column,
and viewed pages on the other)
Custom Var 1 : label:'userId' value:'17' scope:'1' (from Chrome Analytics tool)
Google Analytics reporting is pretty complex, so I'm hoping I can get some suggestions on how to create such a report.
i'm battling through google analytics aswell it can be really useful but to get exactly what you want can take some time. This isn't an answer as much as its a list of a few links that i have used along the way and hope they help
http://ga-dev-tools.appspot.com/explorer/
In here if you put ga:source ga:referralPath ga:customVarName(n)
This stack overflow answer may also help
Create google analytics profile by filtering using a custom variable
i'll have to look into this myself when i m using custom variables but it look like the advanced segment section may be the way to go.
And you ve probably already seen this but its quite a nice article on custom variables
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables
Let us know hwo you get on...
I think you're going to want to create an advanced segment including your custom variable. This should narrow the data to only that which includes the variable. You can then look at whatever reports you want within that segment.
Using regular expressions should let you better tune the scope of the segment.
You can do this easily in the Megalytic reporting tool. There are widgets that let you create reports which segment data by custom variable. For example, Traffic by Custom Variable, Conversions by Custom Variable. Disclaimer: I am a founder of Megalytic.