Zend_Gdata_Analytics is an extension to Zend_Gdata to allow interaction with Google's Analytics Data Export API. This extension does not encompass any major changes in the overall operation of Zend_Gdata components.
Correct me if I'm wrong, but you're talking about view helpers which generate tracking links/JavaScript code?
This has nothing to do with Zend_Gdata but should indeed be added as Zend_View_Helper_X components.
Be sure to write proposals for them if you have code ready!
You're right Sam. This is not used to generate GA links for a website. Zend_Gdata_Analytics requests GA for data, instead of "pushing" new data to the service.
Please let me know if I can be of any assistance with this proposal it's something I've been meaning to do myself - I've an application thats dying to test this component when it's ready too.
Working very well, very happy, I found no problem and I was using quite complex queries (Data Feed Query Explorer) was very helpful. Definitely should be added to Zend_Gdata!
11 Comments
comments.show.hideJan 13, 2010
Michelangelo van Dam
I like this proposal a lot, but my primary concern at this point is not to retrieve Google Analytics data, but providing it.
I have made a small model that receives a link (e.g. http://www.example.com) and turns it into a traceable link (e.g. http://www.example.com?utm_source=PHPUnit+Test&utm_medium=cpc&utm_term=testing+code&utm_content=testlink&utm_campaign=Test)
I also made a skeleton to create conversion goals and fixed paths, but it's still a work in progress.
A simple view helper generates both urchin or the new analytics script to implement in your web pages.
If you'd like, I would like to share this code here as well.
Jan 14, 2010
Sam Hauglustaine
Correct me if I'm wrong, but you're talking about view helpers which generate tracking links/JavaScript code?
This has nothing to do with Zend_Gdata but should indeed be added as Zend_View_Helper_X components.
Be sure to write proposals for them if you have code ready!
The proposal in question would encapsulate the (not so) new Data Export API which is described here: http://code.google.com/intl/en-US/apis/analytics/docs/gdata/gdataDeveloperGuide.html
Certainly a +1 from me!
Feb 14, 2010
Daniel Hartmann
You're right Sam. This is not used to generate GA links for a website. Zend_Gdata_Analytics requests GA for data, instead of "pushing" new data to the service.
Feb 23, 2010
Grant Perry
Please let me know if I can be of any assistance with this proposal it's something I've been meaning to do myself - I've an application thats dying to test this component when it's ready too.
Feb 25, 2010
Daniel Hartmann
Actually the classes are quite ready. I just wanted to get some feedback about the usage of Zend_Gdata_Analytics.
e.g. there should be a better way to add the filter to the query.
I'll provide a svn-repo url over the weekend, so you can take a look at it.
Mar 07, 2010
Daniel Hartmann
http://github.com/danielmitd/Zend_Gdata_Analytics
Sep 13, 2010
Grant Perry
Assuming there hasn't been any feedback from the community? Is this proposal being submitted for recommendation to the ZF team now?
Sep 16, 2010
Tim Fountain
This looks great, I've played with the demo classes and it works well. I hope to see this component approved soon.
Dec 13, 2010
Zdenek Machek
Working very well, very happy, I found no problem and I was using quite complex queries (Data Feed Query Explorer) was very helpful. Definitely should be added to Zend_Gdata!
Dec 14, 2010
Daniel Hartmann
Can you give me some more hints in this "complex query"?
Feb 05, 2012
Markus Hausammann
This is a great component. I'm already using it for some time. It's about time it gets into the Framework!