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.
<p>Correct me if I'm wrong, but you're talking about view helpers which generate tracking links/JavaScript code?</p>
<p>This has nothing to do with Zend_Gdata but should indeed be added as Zend_View_Helper_X components.<br />
Be sure to write proposals for them if you have code ready!</p>
<p>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.</p>
<p>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.</p>
<p>Working very well, very happy, I found no problem and I was using quite complex queries (<a href="http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html">Data Feed Query Explorer</a>) was very helpful. Definitely should be added to Zend_Gdata!</p>
<ac:macro ac:name="note"><ac:parameter ac:name="title">CR Team Comments</ac:parameter><ac:rich-text-body>
<p>Zend_Gdata_Analytics is accepted for development for ZF 1.12.</p>
<p>For inclusion in ZF 1.12, it must have code, documentation and unit tests completed by 23rd March 2012.</p></ac:rich-text-body></ac:macro>
12 Comments
comments.show.hideJan 13, 2010
Michelangelo van Dam
<p>I like this proposal a lot, but my primary concern at this point is not to retrieve Google Analytics data, but providing it.</p>
<p>I have made a small model that receives a link (e.g. <a href="http://www.example.com">http://www.example.com</a>) and turns it into a traceable link (e.g. <a href="http://www.example.com?utm_source=PHPUnit+Test&utm_medium=cpc&utm_term=testing+code&utm_content=testlink&utm_campaign=Test">http://www.example.com?utm_source=PHPUnit+Test&utm_medium=cpc&utm_term=testing+code&utm_content=testlink&utm_campaign=Test</a>)</p>
<p>I also made a skeleton to create conversion goals and fixed paths, but it's still a work in progress.</p>
<p>A simple view helper generates both urchin or the new analytics script to implement in your web pages.</p>
<p>If you'd like, I would like to share this code here as well.</p>
Jan 14, 2010
Sam Hauglustaine
<p>Correct me if I'm wrong, but you're talking about view helpers which generate tracking links/JavaScript code?</p>
<p>This has nothing to do with Zend_Gdata but should indeed be added as Zend_View_Helper_X components.<br />
Be sure to write proposals for them if you have code ready!</p>
<p>The proposal in question would encapsulate the (not so) new Data Export API which is described here:
<a class="external-link" href="http://code.google.com/intl/en-US/apis/analytics/docs/gdata/gdataDeveloperGuide.html">http://code.google.com/intl/en-US/apis/analytics/docs/gdata/gdataDeveloperGuide.html</a></p>
<p>Certainly a +1 from me!</p>
Feb 14, 2010
Daniel Hartmann
<p>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.</p>
Feb 23, 2010
Grant Perry
<p>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.</p>
Feb 25, 2010
Daniel Hartmann
<p>Actually the classes are quite ready. I just wanted to get some feedback about the usage of Zend_Gdata_Analytics. </p>
<p>e.g. there should be a better way to add the filter to the query.</p>
<p>I'll provide a svn-repo url over the weekend, so you can take a look at it.</p>
Mar 07, 2010
Daniel Hartmann
<p><a class="external-link" href="http://github.com/danielmitd/Zend_Gdata_Analytics">http://github.com/danielmitd/Zend_Gdata_Analytics</a></p>
Sep 13, 2010
Grant Perry
<p>Assuming there hasn't been any feedback from the community? Is this proposal being submitted for recommendation to the ZF team now?</p>
Sep 16, 2010
Tim Fountain
<p>This looks great, I've played with the demo classes and it works well. I hope to see this component approved soon.</p>
Dec 13, 2010
Zdenek Machek
<p>Working very well, very happy, I found no problem and I was using quite complex queries (<a href="http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html">Data Feed Query Explorer</a>) was very helpful. Definitely should be added to Zend_Gdata!</p>
Dec 14, 2010
Daniel Hartmann
<p>Can you give me some more hints in this "complex query"?</p>
Feb 05, 2012
Markus Hausammann
<p>This is a great component. I'm already using it for some time. It's about time it gets into the Framework!</p>
Feb 27, 2012
Rob Allen
<ac:macro ac:name="note"><ac:parameter ac:name="title">CR Team Comments</ac:parameter><ac:rich-text-body>
<p>Zend_Gdata_Analytics is accepted for development for ZF 1.12.</p>
<p>For inclusion in ZF 1.12, it must have code, documentation and unit tests completed by 23rd March 2012.</p></ac:rich-text-body></ac:macro>