google-analytics-api

Google Analytics Data API [C# Design]

Hi! I'm currently building a library around the Google Analytics Data Export API. When i'm requesting data for a specific profile, this is the response from Google: <entry> <id>http://www.google.com/analytics/feeds/data?ids=ga:3104565&amp;amp;ga:browser=Firefox&amp;amp;start-date=2008-07-10&amp;amp;end-date=2008-08-10&lt;/id&gt; ...

Querying Google Analytics API for statistics for specific pages (filter by pages)

This query gives visits by traffic source; https: //www.google.com/analytics/feeds/data?ids=ga%3A123456&dimensions=ga%3Asource%2Cga%3Amedium&metrics=ga%3Avisits&sort=-ga%3Avisits&start-date=2009-08-12&end-date=2009-08-26&max-results=50 But, when specifying a filter: ga:pagePath==/Default.aspx - I get zero results https: //www.google....

Managing Google Analytics via code

I know Google provides an API to pull reporting data out of Google Analytics, but I've been unable to find anything, official or otherwise, that allows for the administration of Google Analytics via some sort of API. Specifically, I'm trying to find ways to configure goals/funnels outside of the web interface. Is anyone aware of a libr...

Google analytics api

I would like to have a div on my companies website that is filled with links to our most-visited pages dynamically by querying our google analytics account. From everything I've been looking at in the DataExport API though, it seems like the user viewing the site has to authenticate. Am I missing something? ...

Google Analytics and Python

I'm brand new at Python and I'm trying to write an extension to an app that imports GA information and parses it into MySQL. There is a shamfully sparse amount of infomation on the topic. The Google Docs only seem to have examples in JS and Java... ...I have gotten to the point where my user can authenticate into GA using SubAuth. That...

Google Analytics _trackEvent troubles.

I'm having some noob troubles with Google Analytics and _trackEvent. Using it seems straight forward in the documentation, but I can't get this simple example to work. The call to _trackEvent fails with 'TypeError: o is undefined' The call to _trackPageview is succeeding and I can see it updated in the analytics dashboard. I tried pe...

Tools to generate reportanalytics feeds from google

Can you recommend any programmable tools/extensions that can be used to generate reports out of google analytics feed on th fly? Essentially some kind of pdf generator from feed, not sure though. Or does the Google analytics itself gives reports output as feed etc., ...

Create an "sub" account on Google Analytics through an API dynamically

Does anyone know how (if possible) to create an account dynamically? I have a few accounts I need to setup on Google Analytics, and I would love to not have to manually enter each one on GA's site. Thanks for your help! ...

How can I tell if a user came to a page via a Google Adwords PPC campaign?

I have a form with a hidden "Came from Adwords" field that will be marked true (via javascript) if the user came from a PPC campaign and will stay false if not. That way, when the user submits the form, we will have each submission stored with info about whether that submission came from adwords or not, all without the user knowing. How...

Integrating Google Analytics into GWT application

This should be totally simple but I can't get it working no matter what I try. I'm trying to use Google Analytics with GWT application. From what I understood, there are two way to do it: First is synchronous, by inserting tracking code at the end of <head> section HTML page and then calling this method: public static native void recor...

Google Analytics Library for As3

I am trying to push in the Google Analytics library into my As3 widget. I plan to use the EventTracking feature in addition to the regular HTML-like pageview tracking that it provides. I plan to use the library in As3 mode (not the Bridge mode) since the widget is embedded on a lot of external domains. Using the SWC to add the component...

R - Google Analytics Package

Is there an R package that connects to the Google Analytics API? Does anyone have any pointers otherwise? ...

Google Analytics API - Tying Behavior to Specific Dates

I am using the API to understand the performance of Adwords ad campaigns. I need to know how to attribute metrics back to the date dimension. For instance, for a given date, if I have 20 clicks, 18 visits, and 3 goal completions, does it mean that: 1) All of these actions happened on the day in question and are otherwise independe...

in google analytics, how do I get the site from the AccountEntry ?

in google analytics, how do I get the site from the AccountEntry ? looks like that if I do: entry.getProperty("ga:accountName") entry.getTitle().getPlainText() I get it. but is this correct ? where is it documented ? ...

how to best track page metadata along with URL in Google Analytics

I have an analytics web service that provides pageview statistics for several separate websites that are all serving up press releases. The analytics service pulls data for each of its client sites from Google Analytics and then answers API calls like "give me the 10 most viewed press releases for the past week." I want each of the pres...

How does google-analytics guarantees that the tracking record is coming from the real site

When you sign up to google analytics it instructs you to use a javascript snippet on every page you want to track. This code includes an API key, which is visible to everyone who views your source code. How does it guarantees that the request is coming from the real site, and not from a third-party who wants to mess with your statistics...

PHP DOM vs SimpleXML for Atom GData feed parsing

I'm building a library to access the Google Analytics Data Export API. All the data the library accesses is in Atom format and utilises numerous different namespaces throughout. My experiments with the API have used SimpleXML for parsing so far, especially as all I have been doing is accessing the data held within the feed. Now I'm comi...

Custom Page tagging in Google Analytics

I want to have custom page tags, which are different from URLs I have, in my Google Analytics report page. For instance, Actual URL : /news/today_news.php Page tag on Google Analytics : /news/today_news.php/Category.News/TodayNews How can I make the custom page tag with Google Analytics Data Collection API? ...

Google Analytics JavaScript client library login method?

Hi, I'm wanting to use the Google Analytics API to display a simple table of "recent visitor" data in my password protected CMS. I would just like to use the supported JavaScript library (http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html) and looking at the following demo; http://ga-api-javascript-samples.googlecode....

google analytics api fails to return segment data

Hi, I'm trying to use Google Analytics API to retrieve data for my custom segments. They say here http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html#accountResponse that all the segments are listed in the account feed response. But mine doesn't contain them. Has anyone else had this problem and know a w...