Skip to end of metadata
Go to start of metadata

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Gdata_Analytics Component Proposal

Proposed Component Name Zend_Gdata_Analytics
Developer Notes
Proposers Daniel Hartmann
Zend Liaison TBD
Revision 1.0 - 13. December 2009: Initial Draft. (wiki revision: 7)

Table of Contents

1. Overview

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.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will query the analytics accounts using dimensions and metrics.
  • This component will not add statistic data to an analytics profile.

4. Dependencies on Other Framework Components

  • Zend_Gdata

5. Theory of Operation

The usage of this component should follow the same patterns as other Zend_Gdata components do.

6. Milestones / Tasks

  • Milestone 1: [DONE]Create Proposal
  • Milestone 2: [DONE]Create Class Skeletons
  • Milestone 3: [DONE]Code working prototype
  • Milestone 4: Working prototype checked into the incubator
  • Milestone 5: Write unit tests
  • Milestone 6: Create documentation

7. Class Index

  • Zend_Gdata_Analytics
  • Zend_Gdata_Analytics_DataQuery
  • Zend_Gdata_Analytics_DataFeed
  • Zend_Gdata_Analytics_DataEntry
  • Zend_Gdata_Analytics_AccountFeed
  • Zend_Gdata_Analytics_AccountEntry
  • Zend_Gdata_Analytics_Extension_Dimension
  • Zend_Gdata_Analytics_Extension_Metric
  • Zend_Gdata_Analytics_Extension_Poperty
  • Zend_Gdata_Analytics_Extension_TableId

8. Use Cases

UC-01: simple account feed request
UC-02: data feed request using data query

9. Class Skeletons




proposal proposal Delete
zend_gdata zend_gdata Delete
google google Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 13, 2010

    <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=""></a>) and turns it into a traceable link (e.g. <a href="">;utm_medium=cpc&amp;utm_term=testing+code&amp;utm_content=testlink&amp;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>

    1. Jan 14, 2010

      <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=""></a></p>

      <p>Certainly a +1 from me!</p>

      1. Feb 14, 2010

        <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>

  2. Feb 23, 2010

    <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>

    1. Feb 25, 2010

      <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>

  3. Mar 07, 2010

    <p><a class="external-link" href=""></a></p>

  4. Sep 13, 2010

    <p>Assuming there hasn't been any feedback from the community? Is this proposal being submitted for recommendation to the ZF team now?</p>

  5. Sep 16, 2010

    <p>This looks great, I've played with the demo classes and it works well. I hope to see this component approved soon.</p>

  6. Dec 13, 2010

    <p>Working very well, very happy, I found no problem and I was using quite complex queries (<a href="">Data Feed Query Explorer</a>) was very helpful. Definitely should be added to Zend_Gdata!</p>

    1. Dec 14, 2010

      <p>Can you give me some more hints in this "complex query"?</p>

  7. Feb 05, 2012

    <p>This is a great component. I'm already using it for some time. It's about time it gets into the Framework!</p>

  8. Feb 27, 2012

    <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>