How do you get Default Channel Grouping data through the Google Analytics API?
-
I am trying to create a dashboard of Google Analytics data from multiple client websites using its API. I have tried using the ga:medium dimension to try to display the data for the websites. The problem with using this method is that the mediums can be, and have been, set by cookies on the websites themselves. This means that the data cannot fit in a tabular structure on the dashboard as the headings will change for each website. I do not have complete control of these websites so I cannot fix the problem by changing the cookie settings of them. The Default Channel Grouping headings do not change, which is why I thought of using them instead. However, I cannot see a way to get to them using the API. Thanks for your help.
-
Answer:
I have now solved this problem. The way I did it was to use the definitions for Default Channel Groupings and sort the data once it was recieved from the Google Analytics API using the medium and source values. Please see this link for the definitions of each Default Channel Group: https://support.google.com/analytics/answer/3297892?hl=en&ref_topic=3125765
Jamie Baggott at Stack Overflow Visit the source
Related Q & A:
- How can I use real time social data from Datasift and perform real time analytics on it?Best solution by Quora
- How to get data from google directions API?Best solution by Stack Overflow
- How do I add Google Analytics to my Yahoo Group and Yahoo 360 Blog?Best solution by Yahoo! Answers
- How to track clicks of ads in email using google analytics?Best solution by Stack Overflow
- How do I get homebrew channel for Wii 4.1?Best solution by hbc.hackmii.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.